W32 Compilation error

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
n1co
Peon
Peon
Posts: 13
Joined: Sat Feb 10, 2007 8:16 pm

W32 Compilation error

Post by n1co » Sat Feb 10, 2007 8:50 pm

Hi :)

I have a problem compiling last svn sources :/

-L"C:/Dev-Cpp/lib" -L"C:/Dev-Cpp/include/enet" -mwindows -lguichan -lguichan_sdl -lguichan_opengl -lwsock32 -lSDL_image.dll -lSDL_mixer.dll -lenet -lws2_32 -lwinmm -lmingw32 -lSDLmain -lSDL.dll -lxml2.dll -lopengl32 -lpng12.dll -lz.dll -lphysfs -lcurl -g3 -fmessage-length=0 -s -mmmx

C:\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lenet
collect2: ld returned 1 exit status

make.exe: *** [tmw.exe] Error 1

Execution terminated

Anyone can help me ? :)
maniaxx
Peon
Peon
Posts: 3
Joined: Sun Mar 05, 2006 1:36 pm
Location: Germany

Post by maniaxx » Sat Feb 10, 2007 11:49 pm

Based on the errormessage i would say that you need the enet-library. But to be honest I have no idea if this is right, because I don't know anything about the server ^^
Hopefully my guess is right and it helps you in compiling the server, otherwise someone with more knowledge than me will probably correct my mistake and post a useful reply :)
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Post by Crush » Sun Feb 11, 2007 12:54 am

Yes, you are definitely missing enet.

But enet is only used by the new server (tmwserv/trunk) and the new client (tmw/trunk) which are still in an early development phase and far from being playable.

Are you sure you want to compile these and not the client that is used to play on the current official server? You will find it in tmw/branches/0.0.
Last edited by Crush on Mon Feb 12, 2007 8:08 pm, edited 1 time in total.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
n1co
Peon
Peon
Posts: 13
Joined: Sat Feb 10, 2007 8:16 pm

Post by n1co » Sun Feb 11, 2007 9:53 am

oh sorry the actual playable version is in branches/0.0? :o
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: Tue Apr 13, 2004 8:11 pm
Location: Italy
Contact:

Post by ElvenProgrammer » Mon Feb 12, 2007 7:56 pm

n1co wrote:oh sorry the actual playable version is in branches/0.0? :o
It is.
Post Reply