随笔-20  评论-9  文章-1  trackbacks-0

版本:eMule 0.46a

涉及到的词汇:
Crypto++ v5.1
zlib v1.2.1
id3lib v3.8.3
libpng
ResizableLib 1.3
ionix-libs-presetted-uni

Emule的第三方工具库已经和emule项目分离
所以编译起来比较麻烦
不过幸好好到了ionix-libs-presetted-uni
所有第三方库已经在这个项目里面

然后下载emule 0.46a源代码

加压ionix-libs-presetted-uni到一个目录,在解压 emule0.46a-Sources.zip,把emule 0.46解压出来的srchybrid文件夹拷贝到ionix-libs-presetted-uni目录中,然后打开ionix-libs-presetted-uni目录中的emule.sln,这个项目就完整了

接着修改几行代码
打开DialogMinTrayBtn.cpp把下面的
#if 0
// define this to use that source file as template
#define TEMPLATE template
#else
// define this to instantiate functions for class 'BASE' right in this CPP module
#define TEMPLATE
#define BASE CResizableDialog
#endif
改为
#if 0
// define this to use that source file as template
#define TEMPLATE template
#else
// define this to instantiate functions for class 'BASE' right in this CPP module
#define TEMPLATE template <>
#define BASE CResizableDialog
#endif

然后编译整个项目就OK了

参考文档
如何在 Visual C++.NET 2003 下编译eMule

posted on 2005-08-29 15:52 Kenneth Blog 阅读(692) 评论(2)  编辑  收藏 所属分类: 开源项目

评论:
# re: Visual C++.NET 2003 下编译eMule 0.46a 2005-10-21 16:02 | supportyou
... 35 warning(s)
Rebuild All: 9 succeeded, 0 failed, 1 skipped

非常感谢!  回复  更多评论
  
# re: Visual C++.NET 2003 下编译eMule 0.46a 2009-01-21 02:03 | 挪威克朗
编译整个项目就OK了  回复  更多评论
  

只有注册用户登录后才能发表评论。


网站导航: