Search code examples
pdf-generationdoxygen

Missing page numbers in the indicies of Doxygen generated PDF


I'm using Doxygen 1.8.5 and I have an issue with the generated indicies (Module Index, Data Structure Index, File Index etc.). When I generate the PDF documentation with Doxygen extra indicies chapters "Module Index", "Data Structure Index" and "File Index" are generated. Unfortunately the page numbers in that indicies are not generated correctly, so that a "??" is shown instead of the page number, similar like this:

Chapter 5

File Index

5.1 File List

Here is a list of all files with brief descriptions:

bar.c Doxygen C-file Example . . . . . . . . . . . . . . . . . . . ??
bar.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ??
foo.c Doxygen C-file Example . . . . . . . . . . . . . . . . . . . ??
foo.h Doxygen H-file Example . . . . . . . . . . . . . . . . . . . ??

Has anyone an idea what I'm doing wrong?


Solution

  • Ok, I found out how to workaround this issue. It seems to be a bug in Doxygen. Just set the tag CREATE_SUBDIRS in the doxyfile to NO.