英文:
chm help file generated by doxygen can't display its content
问题
chm文件由Doxygen生成,但显示不正确。
我正在尝试使用Doxygen编译chm帮助文件,所有HTML文件都已成功生成。chm文件也已生成(尽管在Doxygen输出日志中有一个错误消息“在index.hhp上运行HTML帮助编译器失败”,但此chm文件的文件大小似乎正常),但当我打开它时,帮助文件查看器只显示
>“无法访问此页面
确保网址//ieframe.dll/dnserrordiagoff.htm#正确...”
以下是我使用的相关Doxygen配置:
GENERATE_HTMLHELP = YES
HHC_LOCATION = "C:\Program Files (x86)\HTML Help Workshop\hhc.exe"
我的Doxygen版本是1.9.6。
可能的原因是什么?
英文:
chm file generated by doxygen displays incorrectly.
I'm trying to compile a chm help file using doxygen, all the html files were generated without any problem. The chm file was generated too (even though there is an error message "failed to run html help compiler on index.hhp" in the doxygen output logs, but the file size of this chm file seems to be normal) but when I open it, the help file viewer just shows
>"Can’t reach this page
Make sure the web address //ieframe.dll/dnserrordiagoff.htm# is correct ..."
Here are the related doxygen configs I used:
GENERATE_HTMLHELP = YES
HHC_LOCATION = "C:\Program Files (x86)\HTML Help Workshop\hhc.exe"
and my doxygen version is 1.9.6
What are the possible reasons?
答案1
得分: 2
在调查我的源代码后,我找到了这个问题的原因:
一个.h文件中的函数定义(参数太多)太长。
在我减少了该函数参数列表的长度后,问题解决了。
根据@Albert提供的信息,最新的doxygen版本1.9.7于5月19日修复了这个问题,我使用了这个版本进行了检查,它确实有效。
英文:
After investigation of my source code, I located the cause of this issue:
a function definition (with too many parameters) in a .h file is too long.
Things goes away after I reduced the length of the parameter list of this function.
According to the information from @Albert, the latest doxygen release 1.9.7 at May 19 fixed this issue, and I did a check using this version, it did work.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论