SO CLOSE

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
mrwinkles
Peon
Peon
Posts: 4
Joined: Wed Dec 06, 2006 3:02 am

SO CLOSE

Post by mrwinkles » Wed Dec 06, 2006 3:05 am

Hey yall, i have been trying to compile the source, i gets like to the end of the compiling and then gets an error. Error log reads

Code: Select all

Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Rzor Online\Desktop\tmw-0.0.21.1\Makefile.win"
Executing  make...
make.exe -f "C:\Documents and Settings\Rzor Online\Desktop\tmw-0.0.21.1\Makefile.win" all
g++.exe -D__DEBUG__ src/base64.o src/being.o src/configuration.o src/engine.o src/floor_item.o src/game.o src/graphics.o src/log.o src/main.o src/map.o src/sound.o src/gui/buddywindow.o src/gui/button.o src/gui/buy.o src/gui/buysell.o src/gui/char_select.o src/gui/chargedialog.o src/gui/chat.o src/gui/chatinput.o src/gui/checkbox.o src/gui/confirm_dialog.o src/gui/equipmentwindow.o src/gui/gui.o src/gui/item_amount.o src/gui/itemcontainer.o src/gui/listbox.o src/gui/minimap.o src/gui/npc_text.o src/gui/ok_dialog.o src/gui/passwordfield.o src/gui/playerbox.o src/gui/progressbar.o src/gui/radiobutton.o src/gui/scrollarea.o src/gui/sell.o src/gui/setup.o src/gui/shop.o src/gui/skill.o src/gui/slider.o src/gui/status.o src/gui/textbox.o src/gui/textfield.o src/gui/trade.o src/gui/window.o src/gui/windowcontainer.o src/net/network.o src/resources/buddylist.o src/resources/image.o src/resources/itemmanager.o src/resources/mapreader.o src/resources/music.o src/resources/resource.o src/resources/resourcemanager.o src/resources/soundeffect.o src/gui/help.o src/gui/inttextbox.o src/gui/focushandler.o src/gui/popupmenu.o src/gui/browserbox.o src/gui/updatewindow.o src/gui/box.o src/equipment.o src/item.o src/gui/inventorywindow.o src/inventory.o src/openglgraphics.o src/gui/tabbedcontainer.o src/resources/sdlimageloader.o src/net/messageout.o src/net/messagein.o src/gui/menuwindow.o src/gui/ministatus.o src/resources/imagewriter.o src/gui/debugwindow.o src/gui/connection.o src/gui/gccontainer.o src/gui/login.o src/gui/register.o src/beingmanager.o src/localplayer.o src/gui/npclistdialog.o src/npc.o src/monster.o src/player.o src/net/beinghandler.o src/net/buysellhandler.o src/net/charserverhandler.o src/net/chathandler.o src/net/equipmenthandler.o src/net/inventoryhandler.o src/net/itemhandler.o src/net/loginhandler.o src/net/messagehandler.o src/net/npchandler.o src/net/playerhandler.o src/net/skillhandler.o src/net/tradehandler.o src/flooritemmanager.o src/joystick.o src/gui/setup_video.o src/gui/setup_audio.o src/gui/setup_joystick.o src/animation.o src/resources/spriteset.o src/resources/openglsdlimageloader.o src/animatedsprite.o src/gui/hbox.o src/gui/newskill.o src/gui/vbox.o src/resources/ambientoverlay.o src/resources/iteminfo.o The_Mana_World_private.res -o "tmw.exe" -L"C:/Dev-Cpp/lib" -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
Got any idea how to fix it
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: Tue Apr 13, 2004 8:11 pm
Location: Italy
Contact:

Post by ElvenProgrammer » Wed Dec 06, 2006 9:27 am

You're missing libenet.a, get it and place it in your mingw/lib folder.
mrwinkles
Peon
Peon
Posts: 4
Joined: Wed Dec 06, 2006 3:02 am

Post by mrwinkles » Wed Dec 06, 2006 6:05 pm

Sorry, where can i find this file?
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Post by Crush » Wed Dec 06, 2006 7:19 pm

You have to compile it yourself. Get the sourcecode from http://enet.bespin.org/ and create a static link library out of it.
  • 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.
mrwinkles
Peon
Peon
Posts: 4
Joined: Wed Dec 06, 2006 3:02 am

Post by mrwinkles » Wed Dec 06, 2006 8:21 pm

How do i do that?
User avatar
Rotonen
TMW Adviser
TMW Adviser
Posts: 3154
Joined: Wed Sep 08, 2004 8:48 pm
Location: Espoo, Finland

Post by Rotonen » Thu Dec 07, 2006 12:51 am

Are you sure you want to compile the trunk instead of the 0.0 branch?
This message used to be meaningful.
mrwinkles
Peon
Peon
Posts: 4
Joined: Wed Dec 06, 2006 3:02 am

Post by mrwinkles » Thu Dec 07, 2006 3:37 am

o.0?

i added u to msn
Post Reply