How to use Doxygen to generate documents for Eigen?

270 Views Asked by At

I've tried on my windows PC and in wsl, but it doesn't work, and I'm using the Doxyfile.in it gives in eigen-3.4.0\doc

error: tag HTML_HEADER: header file '${Eigen_BINARY_DIR}/doc/eigendoxy_header.html' does not exist

It seems that it can't understand the Eigen_BINARY_DIR or something like that. Does it related to my OS? Do I need to try it in macOS?


I know where I'm wrong, I didn't process the file before using Doxygen, so I was confused by the difference between Doxyfile and Doxyfile.in and think it may related to my OS.

I tried to use CMake but there is still a problem...

I went to Eigen website and try to learn how to use CMake, I try cmake . in WSL(in eigen-3.4.0/doc) but it reports an error, which said:

CMake Error at CMakeLists.txt:14 (check_cxx_compiler_flag):
  Unknown CMake command "check_cxx_compiler_flag".


-- Configuring incomplete, errors occurred!
See also "/mnt/c/eigen-3.4.0/doc/CMakeFiles/CMakeOutput.log".
0

There are 0 best solutions below