0

My project folder name is MyDoxy I have separate file system that is MyDoxy/Src/ and MyDoxy/Inc/ folder and they have some .c and .h files. main.cpp in the Src/ folder.

When I generate the Doxygen.txt file in the MyDoxy file path. It doesn't generate files and file I talked about in the this post: Doxygen does not generate except the empty mainpage But when I create in the MyDoxy/Src/ path. It works for main.cpp and .c file but it didn't work for .h file for example main.h file.

        RECURSIVE              = YES
    INPUT                  = MyDoxy/Src
                          = MyDoxy/Inc

How can I solve this problem ?

albert
  • 8,285
  • 3
  • 19
  • 32
mathco
  • 107
  • 11

1 Answers1

0

A bit long for a comment.

The syntax for INPUT is wrong, you will have had a warning about this when running doxygen.

The INPUT should either be:

    INPUT                  = MyDoxy/Src MyDoxy/Inc

or

    INPUT                  = MyDoxy/Src \
                             MyDoxy/Inc

or

    INPUT                  = MyDoxy/Src
    INPUT                 += MyDoxy/Inc

In which directory did you run doxygen?

albert
  • 8,285
  • 3
  • 19
  • 32
  • I didnt any change on the Doxygen files I am usind Doxygen Wizard and I added on that Program. But when I look the output doxygen.txt second one using – mathco Jun 16 '20 at 09:10
  • From other posts I think you are running doxygen 1.8.19 (most likely self compiled as it is the master version). start on the directory in a terminal window where the `doxygen.txt` is the command `doxygen doxygen.txt` and have a look at the warnings you get. Further run also `doxygen -x doxygen.txt` to see what you actually changed compared to the default doxygen settings and report this in the question. – albert Jun 16 '20 at 09:14
  • I understand what you are saying. I generate with command in terminal with doxygen Doxyfile but in the DoxyWizard and click Run Doxygen I have lots of error. What caused this? – mathco Jun 16 '20 at 11:27
  • I think Doxywizard does not work how can I solve this – mathco Jun 16 '20 at 12:03
  • I think that the doxywizard is working but on a different directory than you think it is. Without knowing the errors it is impossible to tell what the problem is you encounter. – albert Jun 16 '20 at 12:25
  • But how can I get error? I have two doxygen folder in home source: doxygen and doxygen-1.8.18 . But I see version of doxygen 1.8.19 – mathco Jun 16 '20 at 12:28
  • I don't know who installed your system, but there must have been a reason for having doxygen and dooxygen-1.8.18. In a terminal window when giving `doxygen -v` you can see which version of doxygen you are exactly using. Regarding the error you mentioned: "click Run Doxygen I have lots of error" so you see the errors, I think you can cut and paste them or use the "Save Log" – albert Jun 16 '20 at 12:54