如何使用doxygen为特征生成文档?

发布于 2025-02-10 18:36:49 字数 690 浏览 1 评论 0原文

我已经在Windows PC和WSL上尝试过,但是它不起作用,并且我正在使用doxyfile.in在eigen-3.4.0 \ doc中提供

错误:tag html_header:标题文件'$ {eigen_binary_dir}/doc/eigendoxy_header.html'不存在

,它似乎无法理解eigen_binary_dir或类似的东西。它与我的操作系统有关吗?我需要在MacOS中尝试吗?


我知道我在哪里错了,在使用doxygen之前没有处理文件,因此我对doxyfile和doxyfile.in之间的区别感到困惑,并认为它可能与我的操作系统有关。

我尝试使用cmake,但仍然存在问题...

我去了eigen网站,尝试学习如何使用cmake,我尝试cmake。 )但是它报告了一个错误,该错误说:

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".

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".

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文