随笔 - 1282  文章 - 0  评论 - 8  阅读 - 50万

用vs2012编译doxygen-1.8.7

1.下载bison,地址见上篇文件,我用的是2.4.1-setup.exe

2.下载flex,地址见上篇文件,我用的是flex-2.5.4a-1.exe

3.下载python,我用的是2.7版本号

4.将前面三个软件安装后,将其安装后文件夹下的bin都加入到系统给的path路径中,将python的根文件夹添加到系统的path文件夹

5.使用vs2012打开doxgen的源码,文件夹下有个winbuild,找到Doxygen.sln

4>------ 已启动生成: 项目: doxyindexer, 配置: Debug Win32 ------
1>  Executing Version ...
3>  Executing Lex for G:\doxygen-1.8.7\src\commentscan.l ...
2>  doxysearch.cpp
4>  doxyindexer.cpp
1>  Executing Settings ...
3>  Executing Lex for G:\doxygen-1.8.7\src\config.l ...
2>g:\doxygen-1.8.7\addon\doxysearch\doxysearch.cpp(28): fatal error C1083: 无法打开包含文件:“xapian.h”: No such file or directory
3>  Executing Lex for G:\doxygen-1.8.7\src\constexp.l ...
1>  Executing Unistd ...
4>g:\doxygen-1.8.7\addon\doxysearch\doxyindexer.cpp(31): fatal error C1083: 无法打开包含文件:“xapian.h”: No such file or directory
3>  Executing Lex for G:\doxygen-1.8.7\src\declinfo.l ...
1>  Executing configgen for doxywizard ...
3>  Executing Lex for G:\doxygen-1.8.7\src\defargs.l ...
3>  Executing Lex for G:\doxygen-1.8.7\src\doctokenizer.l ...
1>  doxywizard.cpp
3>  Executing Lex for G:\doxygen-1.8.7\src\fortrancode.l ...
3>  Executing Lex for G:\doxygen-1.8.7\src\fortranscanner.l ...
1>C:\Qt\Qt5.2.1\5.2.1\msvc2012\include\QtGui/qopengl.h(82): fatal error C1083: 无法打开包含文件:“GLES2/gl2.h”: No such file or directory
1>  expert.cpp
1>C:\Qt\Qt5.2.1\5.2.1\msvc2012\include\QtGui/qopengl.h(82): fatal error C1083: 无法打开包含文件:“GLES2/gl2.h”: No such file or directory
1>  inputbool.cpp
3>  Executing Lex for G:\doxygen-1.8.7\src\pre.l ...
1>g:\doxygen-1.8.7\addon\doxywizard\helplabel.h(4): fatal error C1083: 无法打开包含文件:“QLabel”: No such file or directory

6.在网上找了下,原来还须要xapian_doxygen_win.zip。所以google了一下。还真有这个东西,下载地址:

http://www.filewatcher.com/m/xapian_doxygen_win.zip.52870769-0.html

7.下载xapian_doxygen_win.zip,将其解压,能够看到这个是已经编译过了的,以下有debug和release编译过的静态库。

环境变量设置XAPIAN_DIR,仅仅想其解压的根文件夹。

8.继续编译。发现还是出现了非常多的编译错误。原来是由于xapian_doxygen_win库是2008编译出来的静态库,而我用的是vs2012在编译。

9.仅仅能返回到xapian中,首先编译xapian的静态库了。能够參见我博客中编译xapian的文章,xapian编译也是非常麻烦的




posted on   ljbguanli  阅读(566)  评论(1编辑  收藏  举报
编辑推荐:
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示