Log in

View Full Version : compile newest code FNW


kouhei
04-15-2006, 06:08 PM
When using VC6.0 compiling the newest code which I d/l on the front page I get this error.
--------------------Configuration: EMuShareMem - Win32 Debug--------------------
Compiling...
DLLMain.cpp
Doors.cpp
GuildList.cpp
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\Desktop\EQEmu-0.6.6-764\EMuShareMem\GuildList.cpp': No such file or directory
Items.cpp
Loot.cpp
MMF.cpp
NPCFactionLists.cpp
NPCTypes.cpp
Opcodes.cpp
Spells.cpp
debug.cpp
EMuShareMem.cpp
Mutex.cpp
SharedLibrary.cpp
timer.cpp
Generating Code...
warning C4786: 'std::pair<std::_Tree<unsigned char,std::pair<unsigned char const ,ItemCommonInst *>,std::map<unsigned char,ItemCommonInst *,std::less<unsigned char>,std::allocator<ItemCommonInst *> >::_Kfn,std::less<unsigned char>,std::allocator<Ite
mCommonInst *> >::iterator,bool>' : identifier was truncated to '255' characters in the debug information
Error executing cl.exe.

EMuShareMem.dll - 1 error(s), 1 warning(s)


it says that file is missing I looked on the cvs and did not see it. You know where I can get it?

cavedude
04-16-2006, 01:49 AM
Not sure if it is truly needed or not since I don't work with guilds much but I just remove the file from the project. The source compiles and the server runs fine... at least that I can see. It could just be a case where the file was removed and the Windows project file was never updated. Somebody correct me if I am wrong.

sesmar
04-16-2006, 02:10 AM
I was getting this same error as well. I just removed the file from project and it compiles without a problem and guilds seem to be working fine on my server. I know they made a lot of changes to the guild system and structure this was probably one of the files that got removed.

kouhei
04-16-2006, 11:20 AM
Thanks guys. I will try that when I get home from work. I finally got 6.5 to compile. now will try to get 6.6 the newest code to complie.

kouhei
04-16-2006, 11:28 PM
I got emumem to compile now trying to get world.exe to compile I get this error:
Compiling...
Command line warning D4002 : ignoring unknown option '/Ob2'
HttpdSocket.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(49) : error C2011: 'fd_set' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(83) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(134) : see previous definition of 'FD_SET'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(92) : error C2011: 'timeval' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(148) : error C2011: 'hostent' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(161) : error C2011: 'netent' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(168) : error C2011: 'servent' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(175) : error C2011: 'protoent' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(259) : error C2011: 'in_addr' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(309) : error C2011: 'sockaddr_in' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(319) : error C2011: 'WSAData' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(391) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(430) : see previous definition of 'SO_DONTLINGER'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(449) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(483) : see previous definition of 'AF_IPX'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(468) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(506) : see previous definition of 'AF_MAX'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(474) : error C2011: 'sockaddr' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(483) : error C2011: 'sockproto' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(520) : error C2011: 'linger' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(533) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(573) : see previous definition of 'SOMAXCONN'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(551) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(598) : see previous definition of 'FD_READ'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(552) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(601) : see previous definition of 'FD_WRITE'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(553) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(604) : see previous definition of 'FD_OOB'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(554) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(607) : see previous definition of 'FD_ACCEPT'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(555) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(610) : see previous definition of 'FD_CONNECT'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(556) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(613) : see previous definition of 'FD_CLOSE'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(829) : error C2011: '_TRANSMIT_FILE_BUFFERS' : 'struct' type redefinition
C:\Documents and Settings\Administrator\Desktop\EQEmu-0.6.6-772\common\SocketLib\HttpdSocket.cpp(61) : error C2511: 'HttpdSocket::HttpdSocket' : overloaded member function 'void (class TCPConnection *)' not found in 'HttpdSocket'
C:\Documents and Settings\Administrator\Desktop\EQEmu-0.6.6-772\common\SocketLib\HttpdSocket.h(47) : see declaration of 'HttpdSocket'
C:\Documents and Settings\Administrator\Desktop\EQEmu-0.6.6-772\common\SocketLib\HttpdSocket.cpp(535) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

HttpdSocket.obj - 15 error(s), 1 warning(s)


Any ideas how to fix that one?for some reason all compies from 6.5 685 build.