Skip to main content
gamedev.net
🔒 Locked

What am I doing wrong?

Started by waffles Jan 21, 2005 at 1:58 PM 1 replies 350+ views
Original Post
waffles
waffles
C:\Documents and Settings\o0\Desktop\la\Source_new\Makefile.win [Build Error] [otserv.exe] Error 1 Compiler: Default compiler Building Makefile: "C:\Documents and Settings\o0\Desktop\la\Source_new\Makefile.win" Executing make... make.exe -f "C:\Documents and Settings\o0\Desktop\la\Source_new\Makefile.win" all g++.exe account.o creature.o game.o ioaccount.o ioaccountxml.o iomapxml.o ioplayer.o ioplayersql.o ioplayerxml.o item.o items.o luascript.o magic.o map.o networkmessage.o npc.o otserv.o player.o position.o protocol.o protocol70.o spells.o status.o thing.o tile.o tools.o -o "otserv.exe" -L"C:/Dev-Cpp/lib" -L"C:/Documents and Settings/o0/Desktop/lua/lua-5.0.2/lib" -L"C:/Dev-Cpp/the-agency/boost_1_31_0/the-agency/build/retail" -llua -llualib -lwsock32 bin/libxml2.a g++.exe: bin/libxml2.a: No such file or directory make.exe: *** [otserv.exe] Error 1 Execution terminated
Monder
Monder
You've told it to link in a library file bin/libxml2.a which it can't find. To get this to work you probably want to put -lxml2 in your extra linker options in the project settings.
JohnBolton
JohnBolton
Just some guesses...

Try replacing "bin/libxml2.a" with "-lbin/libxml2.a", or maybe "-lbin/libxml2", or "-lxml2".
Is there actually a folder named "bin" containing a file named "libxml2.a"?
Is the folder that contains the "bin" folder listed with "-L" in the command line?
Does changing the '/' in "bin/libxml2.a" to '\' fix the problem?
John BoltonLocomotive Games (THQ)Current Project: Destroy All Humans (Wii). IN STORES NOW!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.