wddptwd007 发表于 2014-2-20 03:27:03

ghost3.77源码编译问题求大牛解决

论坛Ghost3.77的AnsiDll file编译结果:
--------------------Configuration: AnsiDll - Win32 Debug--------------------
Compiling resources...
Compiling...
Command line warning D4024 : unrecognized source file type '_DEBUG', object file assumed
Command line warning D4027 : source file '_DEBUG' ignored
StdAfx.cpp
Compiling...
Command line warning D4024 : unrecognized source file type '_DEBUG', object file assumed
Command line warning D4027 : source file '_DEBUG' ignored
AnsiDll.cpp
Audio.cpp
AudioManager.cpp
Buffer.cpp
ClientSocket.cpp
Dialupass.cpp
FileManager.cpp
install.cpp
KernelManager.cpp
KeyboardManager.cpp
Manager.cpp
RegEditEx.cpp
ScreenManager.cpp
c:\program files\microsoft visual studio\vc98\include\winuser.rh(19) : note C6311: c:\program files\microsoft visual studio\vc98\include\winuser.h(194) : see previous definition of 'RT_MANIFEST'
c:\program files\microsoft visual studio\vc98\include\winuser.rh(20) : note C6311: c:\program files\microsoft visual studio\vc98\include\winuser.h(195) : see previous definition of 'CREATEPROCESS_MANIFEST_RESOURCE_ID'
c:\program files\microsoft visual studio\vc98\include\winuser.rh(21) : note C6311: c:\program files\microsoft visual studio\vc98\include\winuser.h(196) : see previous definition of 'ISOLATIONAWARE_MANIFEST_RESOURCE_ID'
c:\program files\microsoft visual studio\vc98\include\winuser.rh(22) : note C6311: c:\program files\microsoft visual studio\vc98\include\winuser.h(197) : see previous definition of 'ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID'
c:\program files\microsoft visual studio\vc98\include\winuser.rh(23) : note C6311: c:\program files\microsoft visual studio\vc98\include\winuser.h(198) : see previous definition of 'MINIMUM_RESERVED_MANIFEST_RESOURCE_ID'
c:\program files\microsoft visual studio\vc98\include\winuser.rh(24) : note C6311: c:\program files\microsoft visual studio\vc98\include\winuser.h(199) : see previous definition of 'MAXIMUM_RESERVED_MANIFEST_RESOURCE_ID'
ScreenSpy.cpp
ShellManager.cpp
SystemManager.cpp
until.cpp
VideoCap.cpp
VideoManager.cpp
Generating Code...
Linking...
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _malloc already defined in LIBCMTD.lib(dbgheap.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _free already defined in LIBCMTD.lib(dbgheap.obj)
   Creating library Debug/Ball.lib and object Debug/Ball.exp
LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use /NODEFAULTLIB:library
AnsiDll.obj : error LNK2001: unresolved external symbol _capGetDriverDescriptionA@20
VideoCap.obj : error LNK2001: unresolved external symbol _capGetDriverDescriptionA@20
AnsiDll.obj : error LNK2001: unresolved external symbol __imp__InternetReadFile@16
until.obj : error LNK2001: unresolved external symbol __imp__InternetReadFile@16
AnsiDll.obj : error LNK2001: unresolved external symbol __imp__InternetOpenUrlA@24
until.obj : error LNK2001: unresolved external symbol __imp__InternetOpenUrlA@24
AnsiDll.obj : error LNK2001: unresolved external symbol __imp__InternetOpenA@20
until.obj : error LNK2001: unresolved external symbol __imp__InternetOpenA@20
until.obj : error LNK2001: unresolved external symbol __imp__InternetCloseHandle@4
VideoCap.obj : error LNK2001: unresolved external symbol _capCreateCaptureWindowA@32
VideoManager.obj : error LNK2001: unresolved external symbol _ICSeqCompressFrame@20
VideoManager.obj : error LNK2001: unresolved external symbol _ICSeqCompressFrameStart@8
VideoManager.obj : error LNK2001: unresolved external symbol _ICSendMessage@16
VideoManager.obj : error LNK2001: unresolved external symbol _ICOpen@12
VideoManager.obj : error LNK2001: unresolved external symbol _ICClose@4
VideoManager.obj : error LNK2001: unresolved external symbol _ICCompressorFree@4
VideoManager.obj : error LNK2001: unresolved external symbol _ICSeqCompressFrameEnd@4
Debug/Ball.dll : fatal error LNK1120: 13 unresolved externals
执行 link.exe 时出错.
Ball.dll - 1 error(s), 0 warning(s)

其他编译正常。。
求解。。。

yuanying 发表于 2014-2-20 18:31:12

手动加入这些函数的库文件!忽略掉LIBCMTD.lib,我电脑出了点问题!好久没编译了,一个一个的解决!win7下编译是有很多问题!

小缘 发表于 2014-2-20 19:42:24

编译工程出错这里   Configuration: AnsiDll - Win32 Debug-----改回Configuration: - Win32 Release--这样就可以编译了
页: [1]
查看完整版本: ghost3.77源码编译问题求大牛解决