• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling Solution for compiling problem

betinhobageston

Computer Enginery Student
Joined
Jun 17, 2007
Messages
20
Reaction score
0
Location
São Paulo-SP, Brazil, South America.
Everybody that's having problems like this one:

Compiler: Default compiler
Building Makefile: "E:\forgottensource\forgottenserver\forgottenserver\tags\0.2\dev-cpp\Makefile.win"
Executing make...
make.exe -f "E:\forgottensource\forgottenserver\forgottenserver\tags\0.2\dev-cpp\Makefile.win" all
windres.exe -i TheForgottenServer_private.rc --input-format=rc -o obj//TheForgottenServer_private.res -O coff

g++.exe obj//account.o obj//actions.o obj//admin.o obj//allocator.o obj//baseevents.o obj//beds.o obj//chat.o obj//combat.o obj//commands.o obj//condition.o obj//configmanager.o obj//connection.o obj//container.o obj//creature.o obj//creatureevent.o obj//cylinder.o obj//database.o obj//databasemysql.o obj//databasesqlite.o obj//depot.o obj//exception.o obj//fileloader.o obj//game.o obj//gui.o obj//house.o obj//housetile.o obj//inputbox.o obj//ioguild.o obj//iologindata.o obj//iomap.o obj//iomapserialize.o obj//item.o obj//items.o obj//logger.o obj//luascript.o obj//mailbox.o obj//map.o obj//md5.o obj//monster.o obj//monsters.o obj//movement.o obj//networkmessage.o obj//npc.o obj//otserv.o obj//outfit.o obj//outputmessage.o obj//party.o obj//player.o obj//playerbox.o obj//position.o obj//protocol.o obj//protocolgame.o obj//protocollogin.o obj//quests.o obj//raids.o obj//rsa.o obj//scheduler.o obj//scriptmanager.o obj//server.o obj//sha1.o obj//spawn.o obj//spells.o obj//status.o obj//talkaction.o obj//tasks.o obj//teleport.o obj//textlogger.o obj//thing.o obj//tile.o obj//tools.o obj//trashholder.o obj//vocation.o obj//waitlist.o obj//weapons.o obj//ban.o obj//TheForgottenServer_private.res -o "TheForgottenServer.exe" -L"E:/Dev-Cpp/lib" -L"E:/Dev-Cpp/others/boost_1_33_1/libregex" -L"E:/Dev-Cpp/others/lua-5.1/lib" -mwindows -O1 -lboost_system -lgmp -lluasql_mysql -lluasql_sqlite -llua5.1 -lmysql -lboost_regex -lsqlite3 -lwsock32 -lxml2 -lmysql -lws2_32 -s

obj//database.o(.text+0x1df9):database.cpp: undefined reference to `mysql_escape_string@12'
obj//databasemysql.o(.text+0x3a7):databasemysql.cpp: undefined reference to `mysql_init@4'
obj//databasemysql.o(.text+0x4c5):databasemysql.cpp: undefined reference to `mysql_real_connect@32'
obj//databasemysql.o(.text+0x4d4):databasemysql.cpp: undefined reference to `mysql_error@4'
obj//databasemysql.o(.text+0x54c):databasemysql.cpp: undefined reference to `mysql_close@4'
obj//databasemysql.o(.text+0x732):databasemysql.cpp: undefined reference to `mysql_real_query@12'
obj//databasemysql.o(.text+0x74b):databasemysql.cpp: undefined reference to `mysql_error@4'
obj//databasemysql.o(.text+0xa25):databasemysql.cpp: undefined reference to `mysql_errno@4'
obj//databasemysql.o(.text+0xff2):databasemysql.cpp: undefined reference to `mysql_real_escape_string@16'

obj//databasemysql.o(.text+0x12fa):databasemysql.cpp: undefined reference to `mysql_store_result@4'
obj//databasemysql.o(.text+0x1319):databasemysql.cpp: undefined reference to `mysql_error@4'
obj//databasemysql.o(.text+0x139c):databasemysql.cpp: undefined reference to `mysql_errno@4'
obj//databasemysql.o(.text+0x13e4):databasemysql.cpp: undefined reference to `mysql_num_fields@4'
obj//databasemysql.o(.text+0x1409):databasemysql.cpp: undefined reference to `mysql_fetch_fields@4'
obj//databasemysql.o(.text+0x18fb):databasemysql.cpp: undefined reference to `mysql_fetch_lengths@4'
obj//databasemysql.o(.text+0x193c):databasemysql.cpp: undefined reference to `mysql_fetch_row@4'
obj//databasemysql.o(.text+0x1961):databasemysql.cpp: undefined reference to `mysql_free_result@4'
obj//databasemysql.o(.text+0x19be):databasemysql.cpp: undefined reference to `mysql_rollback@4'
obj//databasemysql.o(.text+0x19d2):databasemysql.cpp: undefined reference to `mysql_error@4'
obj//databasemysql.o(.text+0x1a3c):databasemysql.cpp: undefined reference to `mysql_commit@4'
obj//databasemysql.o(.text+0x1a50):databasemysql.cpp: undefined reference to `mysql_error@4'
obj//luascript.o(.text+0x6fa6):luascript.cpp: undefined reference to `luaopen_luasql_mysql'
obj//luascript.o(.text+0x6fc0):luascript.cpp: undefined reference to `luaopen_luasql_sqlite3'

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

Execution terminated

to fix it:
download talaturens lastest devcpp on this thread:
http://otland.net/f19/forgotten-dev-cpp-v2-2-a-1024/

then DELETE your dev-cpp folder(usualy its "c:/dev-cpp")
then paste tala's devcpp on the place your devcpp used to be
WARNING DONT PASTE TALA'S DEVE WITHOUT DELETING YOUR FOLDER BEFORE OR THE PROBLEM WILL NOT BE SOLVED



if it works for you rep+ me ;]





PS: sorry for my bad english ;[
 
Back
Top