﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-挪威的森林-随笔分类-开源项目</title><link>http://www.blogjava.net/kenneth/category/3080.html</link><description>不需要完美的可怕，太快乐如何招架！！！</description><language>zh-cn</language><lastBuildDate>Tue, 27 Feb 2007 18:49:00 GMT</lastBuildDate><pubDate>Tue, 27 Feb 2007 18:49:00 GMT</pubDate><ttl>60</ttl><item><title>如何编译Emule</title><link>http://www.blogjava.net/kenneth/archive/2005/08/29/11479.html</link><dc:creator>Kenneth Blog</dc:creator><author>Kenneth Blog</author><pubDate>Mon, 29 Aug 2005 10:34:00 GMT</pubDate><guid>http://www.blogjava.net/kenneth/archive/2005/08/29/11479.html</guid><wfw:comment>http://www.blogjava.net/kenneth/comments/11479.html</wfw:comment><comments>http://www.blogjava.net/kenneth/archive/2005/08/29/11479.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/kenneth/comments/commentRss/11479.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/kenneth/services/trackbacks/11479.html</trackback:ping><description><![CDATA[<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-outline-level: 1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">关键字：</SPAN><SPAN lang=EN-US> Emule </SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">编译</SPAN> <SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">错误</SPAN> <SPAN lang=EN-US>VC++ </SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-outline-level: 1"><SPAN lang=EN-US><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-outline-level: 1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">编译环境</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-outline-level: 1"><SPAN lang=EN-US>Microsoft Visual C++ .NET 2003 </SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">（</SPAN><SPAN lang=EN-US>v7.1</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">）</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-outline-level: 1"><SPAN lang=EN-US>Emule</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">版本：</SPAN><SPAN lang=EN-US> 0.42g</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-outline-level: 1"><SPAN lang=EN-US><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-outline-level: 1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">请注意红字标注部分</SPAN><SPAN lang=EN-US>.</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-outline-level: 1"><SPAN lang=EN-US style="mso-bidi-font-size: 22.0pt"><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-outline-level: 1"><SPAN lang=EN-US>1.</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">下载相应的</SPAN><SPAN lang=EN-US>libs</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-outline-level: 1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">包括</SPAN><SPAN lang=EN-US>:crypto++(crypto51), id3lib,<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>png,<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>zlib, ResizableLib</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US>2. </SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">编译</SPAN><SPAN lang=EN-US>emule</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">所依赖的</SPAN><SPAN lang=EN-US>libs</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan" align=left><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">注意编译</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">Crypto51&nbsp;时会报编译错误,这些错误通过下列方法进行修改。<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan" align=left><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">修改</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">pubkey.h, </SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">在文件头部加上</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">#include "asn.h"，这样就没有有关OID的错误了。<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan" align=left><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">修改</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">integer.cpp,</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">修改下列片断</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><SPAN lang=EN-US>#ifdef SSE2_INTRINSICS_AVAILABLE<BR></SPAN><SPAN lang=EN-US style="COLOR: blue; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys">template</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys"> &lt;<SPAN style="COLOR: blue">class</SPAN> <SPAN style="COLOR: black">T</SPAN>&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="COLOR: red; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys">typename</SPAN></I></B><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys"> <SPAN style="COLOR: black">AllocatorBase</SPAN>&lt;<SPAN style="COLOR: black">T</SPAN>&gt;::<SPAN style="COLOR: black">pointer</SPAN> <SPAN style="COLOR: black">AlignedAllocator</SPAN>&lt;<SPAN style="COLOR: black">T</SPAN>&gt;::<SPAN style="COLOR: black">allocate</SPAN>(<SPAN style="COLOR: black">size_type</SPAN> <SPAN style="COLOR: black">n</SPAN>, <SPAN style="COLOR: blue">const</SPAN> <SPAN style="COLOR: blue">void</SPAN> *)</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">注意所编译的所有</SPAN><SPAN lang=EN-US>libs</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">工程都要用下列</SPAN><SPAN lang=EN-US>Runtime Libaray: </SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US>Multi-threaded Debug (/MTd) </SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US>Or</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US>Multi-threaded (/MT)</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">请仔细检查</SPAN><SPAN lang=EN-US>,</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">再检查。有的</SPAN><SPAN lang=EN-US>lib</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">可以编译成</SPAN><SPAN lang=EN-US>DLL</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">形式，但是</SPAN><SPAN lang=EN-US>EMule</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">不使用</SPAN><SPAN lang=EN-US>DLL</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">形式而是</SPAN><SPAN lang=EN-US>Static</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">形式的</SPAN><SPAN lang=EN-US>lib</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，请注意选择正确的编译目标。</SPAN><SPAN lang=EN-US><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US>3.</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">修改</SPAN><SPAN lang=EN-US>emule</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">相关文件以适应</SPAN><SPAN lang=EN-US>v7.1</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的要求</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">打开</SPAN><SPAN lang=EN-US>DialogMinTrayBtn.cpp,</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">修改下列片断</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="COLOR: blue; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys">#if</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys"> 0<o:p></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="COLOR: green; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys">// define this to use that source file as template<o:p></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="COLOR: blue; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys">#define</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN><SPAN style="COLOR: black">TEMPLATE</SPAN><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN><SPAN style="COLOR: blue">template</SPAN> &lt;<SPAN style="COLOR: blue">class</SPAN> <SPAN style="COLOR: black">BASE</SPAN>&gt;<o:p></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="COLOR: blue; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys">#else<o:p></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="COLOR: green; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys">// define this to instantiate functions for class 'BASE' right in this CPP module<o:p></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="COLOR: blue; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys">#define</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN><SPAN style="COLOR: black">TEMPLATE</SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN><I style="mso-bidi-font-style: normal"><SPAN style="COLOR: red">template &lt;&gt;</SPAN></I><o:p></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="COLOR: blue; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys">#define</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys"> <SPAN style="COLOR: black">BASE</SPAN><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: black">CResizableDialog<o:p></o:p></SPAN></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="COLOR: blue; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys">#endif<o:p></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="COLOR: blue; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys"><o:p>&nbsp;</o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">打开</SPAN><SPAN lang=EN-US>Emule.cpp,</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">修改下列片断</SPAN><SPAN lang=EN-US><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: black; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys">ASSERT</SPAN><SPAN lang=EN-US style="FONT-SIZE: 9pt; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys">( <SPAN style="COLOR: black">VERSION_UPDATE</SPAN> + 'a' &lt;= <B style="mso-bidi-font-weight: normal"><I style="mso-bidi-font-style: normal"><SPAN style="COLOR: red">'g'</SPAN> </I></B>);</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="COLOR: blue; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys"><o:p></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="COLOR: blue; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt; mso-fareast-font-family: Fixedsys"><o:p>&nbsp;</o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US>4. </SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">修改工程设置</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">连接时忽略下列库</SPAN><SPAN lang=EN-US>:<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>msvcrtd.lib,LIBCD</SPAN></P><img src ="http://www.blogjava.net/kenneth/aggbug/11479.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/kenneth/" target="_blank">Kenneth Blog</a> 2005-08-29 18:34 <a href="http://www.blogjava.net/kenneth/archive/2005/08/29/11479.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>eMule在.NET 2003中的编译</title><link>http://www.blogjava.net/kenneth/archive/2005/08/29/11477.html</link><dc:creator>Kenneth Blog</dc:creator><author>Kenneth Blog</author><pubDate>Mon, 29 Aug 2005 10:29:00 GMT</pubDate><guid>http://www.blogjava.net/kenneth/archive/2005/08/29/11477.html</guid><wfw:comment>http://www.blogjava.net/kenneth/comments/11477.html</wfw:comment><comments>http://www.blogjava.net/kenneth/archive/2005/08/29/11477.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/kenneth/comments/commentRss/11477.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/kenneth/services/trackbacks/11477.html</trackback:ping><description><![CDATA[<P class=title>1.下载zlib, 网址<A href="http://www.gzip.org/zlib/"><U>http://www.gzip.org/zlib/</U></A>。<BR>2.下载Crypto++, 网址<A href="http://www.eskimo.com/weidai/cryptlib.html"><U>http://www.eskimo.com/weidai/cryptlib.html</U></A>。<BR>3.将zlib和Crypto++解压后，放到和eMule源代码同一级目录中。<BR>4.编译zlib, 将zlib中nt目录中的Makefile.nt和zlib.dnt拷贝到上一级目录中。nmake /f makefile.nt。<BR>5.编译Crypto++, 将VC工程文件打开, 编译, 修改pubkey.h, 在文件头部加上#include "asn.h"。修改integer.cpp, 将函数改成<BR>#ifdef SSE2_INTRINSICS_AVAILABLE<BR>template &amp;lt;class T&amp;gt;<BR>typename AllocatorBase&amp;lt;T&amp;gt;::pointer AlignedAllocator&amp;lt;T&amp;gt;::allocate(size_type n, const void *)<BR>{<BR>&nbsp;&nbsp;&nbsp; if (n &amp;lt; 4)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return new T[n];<BR>&nbsp;&nbsp;&nbsp; else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return (T *)_mm_malloc(sizeof(T)*n, 16);<BR>}<BR>6.编译eMule, 在工程文件设置中将链接库改成..\zlib\zlib.lib。</P><img src ="http://www.blogjava.net/kenneth/aggbug/11477.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/kenneth/" target="_blank">Kenneth Blog</a> 2005-08-29 18:29 <a href="http://www.blogjava.net/kenneth/archive/2005/08/29/11477.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>如何在VisualC++.NET2003下编译eMule</title><link>http://www.blogjava.net/kenneth/archive/2005/08/29/11476.html</link><dc:creator>Kenneth Blog</dc:creator><author>Kenneth Blog</author><pubDate>Mon, 29 Aug 2005 10:16:00 GMT</pubDate><guid>http://www.blogjava.net/kenneth/archive/2005/08/29/11476.html</guid><wfw:comment>http://www.blogjava.net/kenneth/comments/11476.html</wfw:comment><comments>http://www.blogjava.net/kenneth/archive/2005/08/29/11476.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/kenneth/comments/commentRss/11476.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/kenneth/services/trackbacks/11476.html</trackback:ping><description><![CDATA[<P>作者:loleeve<BR>日期:2004-10-10<BR>e-mail:loleeve@hotmail.com<BR>编译环境:Microsoft Visual C++ .NET 2003 (v7.0)<BR>eMule版本:0.44b<BR>[1]下载源代码和支持库<BR>1.下载eMule v0.44b 源代码<BR>&nbsp;&nbsp;&nbsp; <A href="http://www.emule-project.com/">http://www.emule-project.com/</A><BR>2.Crypto++ v5.1<BR>&nbsp;&nbsp;&nbsp; <A href="http://www.eskimo.com/~weidai/cryptlib.html">http://www.eskimo.com/~weidai/cryptlib.html</A><BR>3.zlib v1.2.1<BR>&nbsp;&nbsp;&nbsp; <A href="http://www.gzip.org/zlib/">http://www.gzip.org/zlib/</A><BR>4.id3lib v3.8.3<BR>&nbsp;&nbsp;&nbsp; <A href="http://sourceforge.net/projects/id3lib/">http://sourceforge.net/projects/id3lib/</A><BR>5.libpng<BR>&nbsp;&nbsp;&nbsp; <A href="http://www.libpng.org/pub/png/libpng.html">http://www.libpng.org/pub/png/libpng.html</A><BR>&nbsp;&nbsp;&nbsp; 或<BR>&nbsp;&nbsp;&nbsp; <A href="http://sourceforge.net/projects/libpng/">http://sourceforge.net/projects/libpng/</A><BR>6.ResizableLib 1.3<BR>&nbsp;&nbsp;&nbsp; <A href="http://sourceforge.net/projects/resizablelib/">http://sourceforge.net/projects/resizablelib/</A><BR>[2]编译eMule所需要的库。<BR>注意：编译的所有库工程的Run-Time Libaray都统一用用Multi-threaded (/MT)<BR>1.Crypto++ v5.1<BR>&nbsp;&nbsp;&nbsp; 对于VC++.NET 2003编译器，我们要对源代码做以下修改：<BR>在文件integer.cpp中把<BR>&nbsp;&nbsp;&nbsp; AllocatorBase&lt;T&gt;::pointer AlignedAllocator&lt;T&gt;::allocate(size_type n, const void *) <BR>改为<BR>&nbsp;&nbsp;&nbsp; CPP_TYPENAME AllocatorBase&lt;T&gt;::pointer AlignedAllocator&lt;T&gt;::allocate(size_type n, const void *)<BR>在文件pubkey.h中把<BR>&nbsp;&nbsp;&nbsp; template &lt;class PK, class GP&gt;<BR>&nbsp;&nbsp;&nbsp; class DL_KeyImpl : public PK <BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp; public:<BR>&nbsp;&nbsp; typedef GP GroupParameters;<BR>&nbsp; <BR>&nbsp; OID GetAlgorithmID() const {return GetGroupParameters().GetAlgorithmID();}<BR>改为<BR>&nbsp;&nbsp;&nbsp; template &lt;class PK, class GP, class O = OID&gt;<BR>&nbsp;&nbsp;&nbsp; class DL_KeyImpl : public PK <BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp; public:<BR>&nbsp;&nbsp; typedef GP GroupParameters;<BR>&nbsp; <BR>&nbsp; O GetAlgorithmID() const {return GetGroupParameters().GetAlgorithmID();}<BR>然后编译Release版本，把生成的cryptlib.lib和头文件放到eMule下的crypto51。<BR>2.ResizableLib 1.3 <BR>&nbsp;&nbsp;&nbsp; 编译成Release Static版本,把ResizableLib.lib和头文件拷到eMule下的ResizableLib。<BR>3.zlib v1.2.1<BR>&nbsp;&nbsp;&nbsp; 首先，打开zlib\Makefile.msc文件，把<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CFLAGS&nbsp; = -nologo -MD -O2 $(LOC)<BR>&nbsp;&nbsp;&nbsp; 改为<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CFLAGS&nbsp; = -nologo -MT -O2 $(LOC)<BR>&nbsp;&nbsp;&nbsp; 统一使用/MT 运行时库。 <BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 然后，在zlib\下运行nmake /a /f win32\Makefile.msc。(运行nmake前先运行VS.NET2003下vc7\bin\vcvars32.bat注册编译环境变量)，把生成的zlib.lib和头文件放到eMule下的zlib。<BR>4.libpng<BR>&nbsp;&nbsp;&nbsp; 进入png\projects\visualc6打开libpng工程，在libpng工程里添加之前生成的zlib头文件和库文件路径，编译成LIB ASM Release，然后把libpng.lib改名为png.lib，包括头文件一起拷到eMule下的png。 <BR>5.id3lib v3.8.3<BR>&nbsp;&nbsp;&nbsp; 解压id3lib v3.8.3，把config.h.win32改为config.h，然后进入解压后目录下的libprj并打开工程文件，去掉id3lib v3.8.3自带zlib库的头文件路径，添加之前编译好zlib库的头文件路径，编译Release版本。把生成的id3lib.lib和头文件拷到eMule下的id3。<BR>6.CxImage&nbsp;&nbsp; 进入eMule\CxImage，打开工程文件，设置正确的png和zlib的库文件和头文件路径，然后编译Release版本，把生成的CxImage.lib拷到eMule\CxImage下。 <BR>[3]编译eMule<BR>&nbsp;&nbsp;&nbsp; 打开DialogMinTrayBtn.cpp把下面的<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #if 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // define this to use that source file as template<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #define TEMPLATE template &lt;class BASE&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // define this to instantiate functions for class 'BASE' right in this CPP module <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #define TEMPLATE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #define BASE&nbsp; CResizableDialog<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #endif&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 改为<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #if 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // define this to use that source file as template<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #define TEMPLATE template &lt;class BASE&gt; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // define this to instantiate functions for class 'BASE' right in this CPP module<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #define TEMPLATE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; template &lt;&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #define BASE&nbsp; CResizableDialog <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #endif&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 检查一下所需要的头文件目录和库文件是否正确,然后就可以编译Release版本的eMule了。如果所有eMule的支持库都用/MT编译的话，应该链接不会出什么问题，如果还是出现运行时库符号冲突，可以在链接参数里忽略某些运行时库。<BR>&nbsp;&nbsp;&nbsp; 官方的eMule编译通过了，接下来我们可以干嘛呢？如果你是牛人，又觉得现在的eMule不合自己口味，那你大可以修改它，但是如果你想发布你自己的eMule版本，别忘了把源代码也一起发布喔，因为eMule是受到GNU保护的。有点废话了，牛人又怎么会看这篇文章啦~~~~哈哈~~eMule的代码确实写得很优秀，是一个难得的学习机会。 </P><img src ="http://www.blogjava.net/kenneth/aggbug/11476.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/kenneth/" target="_blank">Kenneth Blog</a> 2005-08-29 18:16 <a href="http://www.blogjava.net/kenneth/archive/2005/08/29/11476.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Visual C++.NET 2003 下编译eMule 0.46a</title><link>http://www.blogjava.net/kenneth/archive/2005/08/29/11453.html</link><dc:creator>Kenneth Blog</dc:creator><author>Kenneth Blog</author><pubDate>Mon, 29 Aug 2005 07:52:00 GMT</pubDate><guid>http://www.blogjava.net/kenneth/archive/2005/08/29/11453.html</guid><wfw:comment>http://www.blogjava.net/kenneth/comments/11453.html</wfw:comment><comments>http://www.blogjava.net/kenneth/archive/2005/08/29/11453.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/kenneth/comments/commentRss/11453.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/kenneth/services/trackbacks/11453.html</trackback:ping><description><![CDATA[<P>版本：eMule 0.46a</P>
<P>涉及到的词汇：<BR>Crypto++ v5.1<BR>zlib v1.2.1<BR>id3lib v3.8.3<BR>libpng<BR>ResizableLib 1.3<BR>ionix-libs-presetted-uni</P>
<P>Emule的第三方工具库已经和emule项目分离<BR>所以编译起来比较麻烦<BR>不过幸好好到了<A href="http://ionix.airu.de/Downloads-index-req-viewdownload-cid-4.html"><FONT color=#7da2bc>ionix-libs-presetted-uni</FONT></A><BR>所有第三方库已经在这个项目里面</P>
<P>然后下载<A href="http://prdownloads.sourceforge.net/emule/emule0.46a-Sources.zip"><FONT color=#7da2bc>emule 0.46a源代码</FONT></A></P>
<P>加压ionix-libs-presetted-uni到一个目录，在解压 emule0.46a-Sources.zip，把emule 0.46解压出来的srchybrid文件夹拷贝到ionix-libs-presetted-uni目录中，然后打开ionix-libs-presetted-uni目录中的emule.sln，这个项目就完整了</P>
<P>接着修改几行代码<BR>打开DialogMinTrayBtn.cpp把下面的<BR>#if 0<BR>// define this to use that source file as template<BR>#define TEMPLATE template <CLASS BASE><BR>#else<BR>// define this to instantiate functions for class 'BASE' right in this CPP module<BR>#define TEMPLATE<BR>#define BASE CResizableDialog<BR>#endif <BR>改为<BR>#if 0<BR>// define this to use that source file as template<BR>#define TEMPLATE template <CLASS BASE><BR>#else<BR>// define this to instantiate functions for class 'BASE' right in this CPP module<BR>#define TEMPLATE template &lt;&gt;<BR>#define BASE CResizableDialog<BR>#endif</P>
<P>然后编译整个项目就OK了</P>
<P>参考文档<BR><A href="http://www.ogdev.net/school/ltPages.asp?lsID=24&amp;id=3683"><FONT color=#7da2bc>如何在 Visual C++.NET 2003 下编译eMule</FONT></A><BR></P><img src ="http://www.blogjava.net/kenneth/aggbug/11453.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/kenneth/" target="_blank">Kenneth Blog</a> 2005-08-29 15:52 <a href="http://www.blogjava.net/kenneth/archive/2005/08/29/11453.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>如何编译 eMule v0.46b</title><link>http://www.blogjava.net/kenneth/archive/2005/08/29/11430.html</link><dc:creator>Kenneth Blog</dc:creator><author>Kenneth Blog</author><pubDate>Mon, 29 Aug 2005 05:22:00 GMT</pubDate><guid>http://www.blogjava.net/kenneth/archive/2005/08/29/11430.html</guid><wfw:comment>http://www.blogjava.net/kenneth/comments/11430.html</wfw:comment><comments>http://www.blogjava.net/kenneth/archive/2005/08/29/11430.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/kenneth/comments/commentRss/11430.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/kenneth/services/trackbacks/11430.html</trackback:ping><description><![CDATA[先下载下面4个库:<BR>Crypto++&nbsp;5.2.1<BR>http://www.eskimo.com/~weidai/cryptopp521.zip<BR>zlib122.zip<BR>http://www.zlib.net/zlib122.zip<BR>ResizableLib&nbsp;1.3<BR>http://prdownloads.sourceforge.net/resizablelib/ResizableLib_1_3.zip?download<BR>lpng128<BR>http://download.sourceforge.net/libpng/lpng128.zip <BR>=================================================================<BR>
<P></P>
<P>刚才在网上找到个好东东，上面几个包，这里全有，呵呵，这下，可不用下那么多了<BR>网址是：<A href="http://ionix.airu.de/Downloads-index-req-viewdownload-cid-4.html"><FONT color=#1a8bc8>http://ionix.airu.de/Downloads-index-req-viewdownload-cid-4.html</FONT></A><BR></P>
<P>加压ionix-libs-presetted-uni到一个目录，在解压 emule0.46a-Sources.zip，把emule 0.46解压出来的srchybrid文件夹拷贝到ionix-libs-presetted-uni目录中，然后打开ionix-libs-presetted-uni目录中的emule.sln，这个项目就完整了</P>
<P>（bloger注！）<BR>=================================================================<BR><BR>eMule&nbsp;v0.46b的源代码:<BR>http://www.emule-project.net/home/perl/general.cgi?l=16&amp;rm=download</P>
<P><BR><BR>1).eMule0.46b-Sources.zip解压到&nbsp;eMule0.46b-Sources&nbsp;-&gt;把下载的东东都放进去-&gt;打开eMule0.46b-Sources文件夹</P>
<P>2).cryptopp521.zip解压到&nbsp;cryptopp521&nbsp;&nbsp;-&gt;重命名为cryptopp<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;打开&nbsp;cryptopp\cryptest.dsw&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;点&nbsp;生成&nbsp;-&gt;&nbsp;生成解决方案</P>
<P>3).zlib122.zip解压到&nbsp;zlib122&nbsp;&nbsp;-&gt;重命名为zlib<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;打开&nbsp;zlib\projects\visualc6\zlib.dsw&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;点&nbsp;生成&nbsp;-&gt;&nbsp;配置管理器&nbsp;-&gt;活动的解决方案配置&nbsp;-&gt;LIB&nbsp;Debug<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;解决方案资源管理器&nbsp;-&gt;&nbsp;右击&nbsp;"zlib"&nbsp;-&gt;属性&nbsp;-&gt;配置属性-&gt;C/C++-&gt;代码生成-&gt;运行时库-&gt;多线程调试(/MTd)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;点&nbsp;生成&nbsp;-&gt;&nbsp;生成解决方案</P>
<P>4).ResizableLib_1_3.zip解压到当前文件夹&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;打开&nbsp;ResizableLib\ResizableLib.dsw<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;点&nbsp;项目-&gt;属性&nbsp;-&gt;配置属性&nbsp;-&gt;常规-&gt;MFC的使用-&gt;在静态库中使用&nbsp;MFC<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;点&nbsp;项目-&gt;属性&nbsp;-&gt;配置属性&nbsp;-&gt;常规-&gt;字符集-&gt;使用&nbsp;Unicode&nbsp;字符集<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;点&nbsp;项目-&gt;属性&nbsp;-&gt;配置属性&nbsp;-&gt;C/C++-&gt;代码生成-&gt;运行时库-&gt;多线程调试(/MTd)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;点&nbsp;项目-&gt;属性&nbsp;-&gt;配置属性&nbsp;-&gt;C/C++-&gt;语言-&gt;将&nbsp;wchar_t&nbsp;视为内置类型-&gt;是(/Zc:wchar_t)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;点&nbsp;生成&nbsp;-&gt;&nbsp;生成解决方案</P>
<P>5).lpng128.zip解压到当前文件夹-&gt;重命名为png<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;打开&nbsp;png\projects\visualc71\libpng.sln<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;点&nbsp;生成&nbsp;-&gt;&nbsp;配置管理器&nbsp;-&gt;活动的解决方案配置&nbsp;-&gt;LIB&nbsp;Debug<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;解决方案资源管理器&nbsp;-&gt;&nbsp;右击&nbsp;"libpng"&nbsp;-&gt;属性&nbsp;-&gt;配置属性-&gt;C/C++-&gt;代码生成-&gt;运行时库-&gt;多线程调试(/MTd)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;点&nbsp;生成&nbsp;-&gt;&nbsp;生成解决方案</P>
<P>6).打开&nbsp;id3lib\libprj\id3lib.sln<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;点&nbsp;生成&nbsp;-&gt;&nbsp;生成解决方案</P>
<P>7).打开&nbsp;srchybrid\lang\lang.sln<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;点&nbsp;生成&nbsp;-&gt;&nbsp;生成解决方案&nbsp;/*可能会出现‘&nbsp;非法操作‘&nbsp;不管它*/</P>
<P>8).打开&nbsp;srchybrid\CxImage\cximage.sln<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;点&nbsp;生成&nbsp;-&gt;&nbsp;生成解决方案</P>
<P>9).打开&nbsp;srchybrid\emule.sln<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;点&nbsp;编辑-&gt;查找和替换-&gt;在文件中替换-&gt;查找内容=crypto51&nbsp;&nbsp;替换为=cryptopp-&gt;全部替换<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;点&nbsp;项目-&gt;属性&nbsp;-&gt;配置属性&nbsp;-&gt;链接器&nbsp;-&gt;输入-&gt;附加依赖项-&gt;version.lib&nbsp;winmm.lib&nbsp;ws2_32.lib&nbsp;gdiplus.lib&nbsp;ADSIId.lib&nbsp;crypt32.lib&nbsp;..\zlib\projects\visualc6\Win32_LIB_Debug\zlibd.lib&nbsp;..\cryptopp\debug\cryptlib.lib&nbsp;..\id3lib\libprj\id3libD.lib&nbsp;.\CxImage\debug\cximage.lib&nbsp;..\png\projects\visualc71\Win32_LIB_Debug\libpngd.lib&nbsp;..\ResizableLib\Debug\ResizableLib.lib</P>
<P><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;编译环境:XP&nbsp;pro&nbsp;SP2,&nbsp;VS.net&nbsp;2003<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2005.7.6&nbsp;10:20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</P><img src ="http://www.blogjava.net/kenneth/aggbug/11430.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/kenneth/" target="_blank">Kenneth Blog</a> 2005-08-29 13:22 <a href="http://www.blogjava.net/kenneth/archive/2005/08/29/11430.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>