首页 | 乐园 | 淘宝店 | 社区 | 电驴 | 网页游戏 | 网址大全

VeryCD / 社区 / 电驴软件开发

资源管理小组

相关主题

正在读取……

主题: [解决方案]最新版eMule源代码编译不过的看这里

相关分类:

kenzo2008 2008/06/30 18:11:30 61楼 举报

vs2008无补丁 错误如下
1>------ 已启动生成: 项目: emule, 配置: Beta Win32 ------
1>正在执行自定义生成步骤
1> Assembling: f:\????\winform\20070323 Release\src\SHA_asm.asm
1>Microsoft ® Macro Assembler Version 9.00.21022.08
1>Copyright © Microsoft Corporation. All rights reserved.
1>正在执行自定义生成步骤
1> Assembling: f:\????\winform\20070323 Release\src\MD4_asm.asm
1>Microsoft ® Macro Assembler Version 9.00.21022.08
1>Copyright © Microsoft Corporation. All rights reserved.
1>正在编译...
1>Stdafx.cpp
1>D:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\..\src\mfc\afximpl.h(625) : error C2059: 语法错误 : “<L_TYPE_raw>”
1>D:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\..\src\mfc\afximpl.h(625) : error C2238: 意外的标记位于“;”之前
1>D:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\..\src\mfc\afximpl.h(629) : error C2059: 语法错误 : “<L_TYPE_raw>”
1>D:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\..\src\mfc\afximpl.h(629) : error C2238: 意外的标记位于“;”之前
1>生成日志保存在“file://f:\新的收藏\winform\20070323 Release\src\Beta\BuildLog.htm”
1>emule - 4 个错误,0 个警告
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========


[0] [0] [回复]

62楼已被删除

yangsf5 2008/06/30 19:37:40 63楼 举报

error RC2176 : old DIB in res\Mule.ico; pass it through SDKPAINT


lib已经重新编译了。。
vs2005编译源文件。。报这个错误。


[0] [0] [回复]

wqquake 2008/07/18 16:10:44 64楼 举报

如果改成delphi来开发,大家觉得有意义么!


[0] [0] [回复]

flyfish1986 2008/07/23 09:53:14 65楼 举报

环境
VS2005
VeryCD版 20070323 Release

1在ClientUDPSocket.h和ListenSocket.h已经将 UPnP.h删除
在UPnpNat.cpp中已经将
2pDoubleNewLinePos = strstr(packet, STR_DOUBLE_NEWLINE);
改成
pDoubleNewLinePos = (char*) strstr(packet, STR_DOUBLE_NEWLINE);
3在EncryptedStreamSocket.cpp三处
const bySupportedEncryptionMethod
改成
const EEncryptionMethods bySupportedEncryptionMethod
4下载emule071112_libsForVS2005,已经覆盖掉原来的文件

编译之后出现一下错误

.\NatTraversal\NatSocket.cpp(244) : warning C4018: '<' :

signed/unsigned mismatch
.\NatTraversal\NatSocket.cpp(883) : warning C4018: '>' :

signed/unsigned mismatch


.\ProgressCtrlX.cpp : warning C4819: The file contains a character

that cannot be represented in the current code page (936). Save the

file in Unicode format to prevent data loss

.\CreditsThread.cpp : warning C4819: The file contains a character

that cannot be represented in the current code page (936). Save the

file in Unicode format to prevent data loss

.\UploadQueue.cpp(643) : warning C4018: '>=' : signed/unsigned

mismatch

.\TimeTick.cpp : warning C4819: The file contains a character that

cannot be represented in the current code page (936). Save the file in

Unicode format to prevent data loss
f:\emule文档\emule-VeryCD-src\20070323 release\src\TimeTick.h :

warning C4819: The file contains a character that cannot be

represented in the current code page (936). Save the file in Unicode

format to prevent data loss

f:\emule文档\emule-VeryCD-src\20070323 release\src\TimeTick.h :

warning C4819: The file contains a character that cannot be

represented in the current code page (936). Save the file in Unicode

format to prevent data loss

.\EncryptedStreamSocket.cpp(363) : error C2146: syntax error : missing

';' before identifier 'fileRequest'
.\EncryptedStreamSocket.cpp(363) : error C2734:

'bySupportedEncryptionMethod' : const object must be initialized if

not extern
.\EncryptedStreamSocket.cpp(363) : error C2734:

'bySupportedEncryptionMethod' : const object must be initialized if

not extern
.\EncryptedStreamSocket.cpp(363) : error C2734:

'bySupportedEncryptionMethod' : const object must be initialized if

not extern
.\EncryptedStreamSocket.cpp(495) : error C2146: syntax error : missing

';' before identifier 'fileResponse'
.\EncryptedStreamSocket.cpp(495) : error C2734:

'bySupportedEncryptionMethod' : const object must be initialized if

not extern
.\EncryptedStreamSocket.cpp(495) : error C2065:

'bySelectedEncryptionMethod' : undeclared identifier
.\EncryptedStreamSocket.cpp(595) : error C2146: syntax error : missing

';' before identifier 'fileResponse'
.\EncryptedStreamSocket.cpp(595) : error C2734:

'bySupportedEncryptionMethod' : const object must be initialized if

not extern


[0] [0] [回复]

破天 2008/07/28 17:33:14 66楼 举报

VS2005 20070323 Release

错误 1 fatal error C1083: 无法打开包括文件:“Iads.h”: No such file or directory d:\study documetn\20070323 release\src\secrunasuser.h 19


[0] [0] [回复]

isold_wang 2008/08/26 15:51:15 67楼 举报

对国内的开源彻底失望了。太不专业了。


[0] [0] [回复]

afleaf 2008/08/27 11:00:42 68楼 举报

我用vs2008编译
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\..\src\mfc\afximpl.h(625) : error C2059: syntax error : '<L_TYPE_raw>'
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\..\src\mfc\afximpl.h(625) : error C2238: unexpected token(s) preceding ';'
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\..\src\mfc\afximpl.h(629) : error C2059: syntax error : '<L_TYPE_raw>'
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\..\src\mfc\afximpl.h(629) : error C2238: unexpected token(s) preceding ';'


对应的错误点是
UINT (AFX_MSG_CALL CWnd::*pfn_u_v_MENUGETOBJECTINFO)(MENUGETOBJECTINFO*);
BOOL (AFX_MSG_CALL CWnd::*pfn_RAWINPUT)(UINT, HRAWINPUT);


[+1] [0] [回复]

Enig123 2008/08/27 20:05:41 69楼 举报

emule没有说全面支持vs2005和vs2008啊。不同版本的编译工具直接转接问题不能算emule的问题。vs2003目前是支持最好的


[0] [0] [回复]

lotus_first 2008/09/15 12:49:02 70楼 举报

------ 已启动生成: 项目: emule, 配置: Beta Win32 ------
正在编译...
EncryptedStreamSocket.cpp
.\EncryptedStreamSocket.cpp(492) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\EncryptedStreamSocket.cpp(590) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
生成日志保存在“file://e:\emule\src\Beta\BuildLog.htm”
emule - 2 个错误,0 个警告
========== 生成: 0 已成功, 1 已失败, 0 最新, 0 已跳过 ==========


!!!出现这个错误,该如何解决呢?


[0] [0] [回复]

飞烟逝 2008/10/01 23:22:34 71楼 举报

我好好看一下,然后 学习哦


[0] [0] [回复]

wrb302 2008/10/29 17:19:11 72楼 举报

vs2008下编译通不过。提醒下同学们


[0] [0] [回复]

soliddream66 2008/11/02 20:39:10 73楼 举报

vs2008编译

e:\codestudy\emule-VeryCD-src\src\ProgressCtrlX.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
.\SharedFilesCtrl.cpp(585) : error C2039: 'bWin95' : is not a member of 'AUX_DATA'
c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\..\src\mfc\afximpl.h(54) : see declaration of 'AUX_DATA'



然后下面是上百个cannot update program database 'e:\codestudy\emule-VeryCD-src\src\beta\vc90.pdb'错误,不知道怎么回事


[0] [0] [回复]

soliddream66 2008/11/02 21:23:12 74楼 举报

我的开发环境也是vs2008,参考了http://www.VeryCD.com/groups/eMuleDev/424320.topic

还剩下2个错误

1>SearchList.cpp
1>c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\atlsimpcoll.h(53) : error C3767: '==': candidate function(s) not accessible
1> could be the friend function at 'c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\cstringt.h(2101)' : '==' [may be found via argument-dependent lookup]
1> or the friend function at 'c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\cstringt.h(2106)' : '==' [may be found via argument-dependent lookup]
1> or the friend function at 'c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\cstringt.h(2112)' : '==' [may be found via argument-dependent lookup]
1> or the friend function at 'c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\cstringt.h(2118)' : '==' [may be found via argument-dependent lookup]
1> or the friend function at 'c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\cstringt.h(2126)' : '==' [may be found via argument-dependent lookup]
1> or the friend function at 'c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\cstringt.h(2228)' : '==' [may be found via argument-dependent lookup]
1> or the friend function at 'c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\cstringt.h(2233)' : '==' [may be found via argument-dependent lookup]
1> or the friend function at 'c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\cstringt.h(2101)' : '==' [may be found via argument-dependent lookup]
1> or the friend function at 'c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\cstringt.h(2106)' : '==' [may be found via argument-dependent lookup]
1> or the friend function at 'c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\cstringt.h(2112)' : '==' [may be found via argument-dependent lookup]
1> or the friend function at 'c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\cstringt.h(2118)' : '==' [may be found via argument-dependent lookup]
1> or the friend function at 'c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\cstringt.h(2126)' : '==' [may be found via argument-dependent lookup]
1> or the friend function at 'c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\cstringt.h(2228)' : '==' [may be found via argument-dependent lookup]
1> or the friend function at 'c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\cstringt.h(2233)' : '==' [may be found via argument-dependent lookup]
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\atlsimpcoll.h(52) : while compiling class template member function 'bool ATL::CSimpleArrayEqualHelper<T>::IsEqual(const T &,const T &)'
1> with
1> [
1> T=CSearchFile::SClient
1> ]
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\atlsimpcoll.h(230) : see reference to class template instantiation 'ATL::CSimpleArrayEqualHelper<T>' being compiled
1> with
1> [
1> T=CSearchFile::SClient
1> ]
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\atlsimpcoll.h(227) : while compiling class template member function 'int ATL::CSimpleArray<T>::Find(const T &) const'
1> with
1> [
1> T=CSearchFile::SClient
1> ]
1> e:\codestudy\emule-VeryCD-src\src\SearchFile.h(134) : see reference to class template instantiation 'ATL::CSimpleArray<T>' being compiled
1> with
1> [
1> T=CSearchFile::SClient
1> ]
1>c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\atlsimpcoll.h(53) : error C2676: binary '==' : 'const CSearchFile::SClient' does not define this operator or a conversion to a type acceptable to the predefined operator

1>emule - 2 error(s), 0 warning(s)

都跟atlsimpcoll.h这个文件有关系


[0] [0] [回复]

soliddream66 2008/11/03 10:40:20 75楼 举报

忘了说了源码版本号了

eMule VeryCD 0.48a Build 080919中文版


[0] [0] [回复]

soliddream66 2008/11/03 22:31:37 76楼 举报

终于在vs2008里搞定

上面的错误,通过给vs2008装上补丁sp1可以解决

其它的参考这个http://jiangliwei.blogbus.com/logs/28509863.html


[0] [0] [回复]

a11qaz 2008/11/16 13:34:30 77楼 举报

ding


[0] [0] [回复]

78楼已被删除

wanglei2006 2008/11/23 00:36:13 79楼 举报

e:\emule\src\IP2Country.cpp(24): fatal error C1083: 无法打开包含文件:“flag/resource.h”: No such file or directory

我在编译时出现了这个错误,该怎么解决!! 请大侠指点


[0] [0] [回复]

wanglei2006 2008/11/23 00:45:54 80楼 举报

e:\emule\src\IP2Country.cpp(24): fatal error C1083: 无法打开包含文件:“flag/resource.h”: No such file or directory

我在编译时出现了这个错误,该怎么解决!! 请大侠指点


[0] [0] [回复]

wanglei2006 2008/11/23 00:49:51 81楼 举报

e:\emule\src\IP2Country.cpp(24): fatal error C1083: 无法打开包含文件:“flag/resource.h”: No such file or directory

我在编译时出现了这个错误,该怎么解决!! 请大侠指点


[0] [0] [回复]

wanglei2006 2008/11/23 00:50:52 82楼 举报

<flag/resource.h>怎样得到


[0] [0] [回复]

83楼已被删除

wohenbuniub 2008/12/06 10:52:44 84楼 举报

......................


[0] [0] [回复]

CoolCat33 2008/12/14 01:23:33 85楼 举报

vs08+sp1
windows2003
电驴源码版本是一个星期左右之前下载的,12月初的时候
先编译easyMule_Libs_vs2008.sln,没有错误
后编译emule_vs2008.sln,出现一个错误:无法打开包括文件:“atlrx.h”: No such file or directory
不知道怎么弄,请指点一下~


[0] [0] [回复]

wuqiubin 2008/12/20 09:51:01 86楼 举报

vs 2005
错误 1 fatal error C1382: the PCH file 'g:\pp\emule-VeryCD-src\src\beta\emule.pch' has been rebuilt since 'g:\PP\eMule-VeryCD-src\src\Beta\AbstractFile.obj' was generated. Please rebuild this object g:\PP\eMule-VeryCD-src\src\AbstractFile.cpp 1


[0] [0] [回复]

wdypwl 2008/12/26 11:47:36 87楼 举报

vs 2003 编译easyMule 1.0.11

f:\wdy\源码\easymule-VeryCD-src11\easymule\src\worklayer\updownclient.h(24) : fatal error C1083: Cannot open include file: 'ClientStateDefs.h': No such file or directory
CollectionFile.cpp
Generating Code...
Compiling...
Collection.cpp
f:\wdy\源码\easymule-VeryCD-src11\easymule\src\worklayer\updownclient.h(24) : fatal error C1083: Cannot open include file: 'ClientStateDefs.h': No such file or directory
ClientUDPSocket.cpp
f:\wdy\源码\easymule-VeryCD-src11\easymule\src\worklayer\updownclient.h(24) : fatal error C1083: Cannot open include file: 'ClientStateDefs.h': No such file or directory
ClientReqSocket.cpp
f:\wdy\源码\easymule-VeryCD-src11\easymule\src\worklayer\UpDownClient.h(24) : fatal error C1083: Cannot open include file: 'ClientStateDefs.h': No such file or directory
ClientList.cpp
f:\wdy\源码\easymule-VeryCD-src11\easymule\src\worklayer\Kademlia/routing/contact.h(40) : fatal error C1083: Cannot open include file: '../utils/KadUDPKey.h': No such file or directory
ClientCredits.cpp
f:\wdy\源码\easymule-VeryCD-src11\easymule\src\worklayer\updownclient.h(24) : fatal error C1083: Cannot open include file: 'ClientStateDefs.h': No such file or directory
CBase64Coding.cpp
BetterSP2.cpp
f:\wdy\源码\easymule-VeryCD-src11\easymule\src\worklayer\updownclient.h(24) : fatal error C1083: Cannot open include file: 'ClientStateDefs.h': No such file or directory
BaseClient.cpp
f:\wdy\源码\easymule-VeryCD-src11\easymule\src\worklayer\UpDownClient.h(24) : fatal error C1083: Cannot open include file: 'ClientStateDefs.h': No such file or directory
AsyncSocketExLayer.cpp
AsyncSocketEx.cpp
f:\wdy\源码\easymule-VeryCD-src11\easymule\src\worklayer\updownclient.h(24) : fatal error C1083: Cannot open include file: 'ClientStateDefs.h': No such file or directory
AsyncProxySocketLayer.cpp
ArchiveRecovery.cpp
f:\wdy\源码\easymule-VeryCD-src11\easymule\src\worklayer\updownclient.h(24) : fatal error C1083: Cannot open include file: 'ClientStateDefs.h': No such file or directory
AICHSyncThread.cpp
f:\wdy\源码\easymule-VeryCD-src11\easymule\src\worklayer\updownclient.h(24) : fatal error C1083: Cannot open include file: 'ClientStateDefs.h': No such file or directory
AbstractFile.cpp
UDPFirewallTester.cpp
c1xx : fatal error C1083: Cannot open source file: '.\WorkLayer\kademlia\kademlia\UDPFirewallTester.cpp': No such file or directory
PacketTracking.cpp
c1xx : fatal error C1083: Cannot open source file: '.\WorkLayer\kademlia\net\PacketTracking.cpp': No such file or directory


[0] [0] [回复]

xlc1985 2008/12/28 16:10:56 88楼 举报

十分感谢你,我按照你说的编译好了,十分高兴!


[0] [0] [回复]

阿不都热西提 2008/12/30 15:13:30 89楼 举报

谢谢~~~~~~~~~~~~~~


[0] [0] [回复]

xvqingfu 2009/01/16 17:36:59 90楼 举报

请问楼主电驴的指令编制是多少位?各位都代表什么指令?


[0] [0] [回复]


返回组首页

快速回复

(?) 附件上传

关于我们 | 诚聘英才 | 著作权声明 | 合作信息 | 广告事务
沪ICP备05001009号
©2003 - 2009 VeryCD.com Some Rights Reserved.