Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doxygenfunction: Cannot find function #923

Open
GiacomoBerti36 opened this issue May 22, 2023 · 3 comments · May be fixed by #934
Open

doxygenfunction: Cannot find function #923

GiacomoBerti36 opened this issue May 22, 2023 · 3 comments · May be fixed by #934
Labels
support Not actual issues, but help

Comments

@GiacomoBerti36
Copy link

Hi,
Sorry to bother, I'm a new user, I'm having issues using a combination of Breathe+Exhale+Sphinx.
After completing the creation of all the .rst files by Exhale, Breathe is unable to find all the functions (and only the functions, variables and definition are shown correctly).
To avoid multiple declaration warnings i used as input only the header file.
The weird thing is, when i use as input the .c file instead, all functions are found correctly.
Is possible that breathe is reading the xml generated by doxygen wrongly? Should i use some kind of setting that i'm missing?

Thanks for the help - Giacomo

/home/sermac/Projects/m16-cm41-fw-master/doxy_doc/sphinx/source/ooutput_exhale/function_group__app_1ga002afe0e0c35a46aa60ed6af844d51d0.rst:13: WARNING: doxygenfunction: Cannot find function "APP_Exec" in doxygen xml output for project "Documentazione Sermac" from directory: /home/sermac/Projects/m16-cm41-fw-master/doxy_doc/output_new/xml/

`/**

  • @brief main() dell'applicazione

*/
void APP_Exec(void);`

In index.xml:
<member refid="group__app_1ga002afe0e0c35a46aa60ed6af844d51d0" kind="function"> <name>APP_Exec</name> </member>

@vermeeren vermeeren added the support Not actual issues, but help label May 23, 2023
@vermeeren
Copy link
Collaborator

@GiacomoBerti36 It's very hard to say what's wrong without further details and/or source code in some form.

I do think it's fair to say it is a configuration error in your end, you can explore Breathe repo to see various examples.

@JasperCraeghs
Copy link

JasperCraeghs commented Jun 9, 2023

@GiacomoBerti36 I assume you use Doxygen 1.9.7 (release date 18 May 2023), which contains this change that affects the XML output. With 1.9.7, members are only defined in the group page instead of both the group page and the source page (where the member is defined). I suspect that Breathe does not yet take into account member definitions in group pages, which leads to the error Cannot find function.

I recommend using Doxygen 1.9.6 in the meantime. I'll try to add support for Doxygen 1.9.7 to Breathe.

@GiacomoBerti36
Copy link
Author

Yes, thank you, that was the problem.
Deleting @addtogroup solved it, but I'll try installing Doxygen 1.9.6 as you recommended.

@JasperCraeghs JasperCraeghs linked a pull request Jun 28, 2023 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Not actual issues, but help
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants