• 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!

Stian's Dev-cpp repack 0.2 (with crypto++ and 64bit) !

okey i got a question when i made a 64bits exe added the dlls it wanted me to add for it to run, When i use the old libmysql.dll and start the server all goes well till it comes to the the part "allocation out of ram bla bla or compile a 64bits.! And if i add the new libmysql.dll it doesnt connect to the database :/ what should i do or what am i doing wrong?
 
Replace "localhost" with "127.0.0.1", seems that the new dll is without the dns support. I got to rebuild it.
 
okey so i got it running with the new dlls but it still tells me that i need to compile at 64bits or make the map smaller :/
 
windows x32 for 0.4 too?
 
could 1 of you guys compile 0.3.6 pl1 with the -m64 caus i tryed and it aint working and the links in the topic are not working.
 
When I try to compile the sources un-edited i get literally 1000 linker errors then at the end it just says "too many messages, aborting"
 
sorry for double post~

[Linker error] undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'

more undefined references to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)' follow


1000 other msgs


[General Error] Too many messages; abort.
 
You could try building it yourself. It's easy.

dont want to be rude or some thing but if i could i would't be asking for some to build it ;P
i get this error on every Cpp file that there is more then 500 errors


<php>windres.exe -i TheForgottenServer_private.rc --input-format=rc -o obj//TheForgottenServer_private.res -O coff

g++.exe obj//actions.o obj//allocator.o obj//baseevents.o obj//beds.o obj//chat.o obj//combat.o obj//protocolold.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//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//ioban.o obj//globalevent.o obj//gameservers.o obj//databasemanager.o obj//admin.o obj//itemattributes.o obj//group.o obj//TheForgottenServer_private.res -o "TheForgottenServer.exe" -L"C:/Dev-Cpp/lib" -O1 -lboost_system -lgmp -llua5.1 -lmysql -lboost_regex -lsqlite3 -lwsock32 -lxml2 -lmysql -lws2_32 -s -lboost_filesystem -lboost_thread

obj//actions.o:actions.cpp:(.text+0xb3): undefined reference to `__gxx_personality_sj0'
obj//actions.o:actions.cpp:(.text+0xd5): undefined reference to `_Unwind_SjLj_Register'
obj//actions.o:actions.cpp:(.text+0x49b): undefined reference to `_Unwind_SjLj_Resume'
obj//actions.o:actions.cpp:(.text+0x4a6): undefined reference to `_Unwind_SjLj_Unregister' </php>
 
ops cant edit my post i tagget it wrong sorry for that.

Post:
dont want to be rude or some thing but if i could i would't be asking for some to build it ;P
i get this error on every Cpp file that there is more then 500 errors


PHP:
windres.exe -i TheForgottenServer_private.rc --input-format=rc -o obj//TheForgottenServer_private.res -O coff 

g++.exe obj//actions.o obj//allocator.o obj//baseevents.o obj//beds.o obj//chat.o obj//combat.o obj//protocolold.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//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//ioban.o obj//globalevent.o obj//gameservers.o obj//databasemanager.o obj//admin.o obj//itemattributes.o obj//group.o obj//TheForgottenServer_private.res -o "TheForgottenServer.exe" -L"C:/Dev-Cpp/lib" -O1 -lboost_system -lgmp -llua5.1 -lmysql -lboost_regex -lsqlite3 -lwsock32 -lxml2 -lmysql -lws2_32 -s -lboost_filesystem -lboost_thread  

obj//actions.o:actions.cpp:(.text+0xb3): undefined reference to `__gxx_personality_sj0'
obj//actions.o:actions.cpp:(.text+0xd5): undefined reference to `_Unwind_SjLj_Register'
obj//actions.o:actions.cpp:(.text+0x49b): undefined reference to `_Unwind_SjLj_Resume'
obj//actions.o:actions.cpp:(.text+0x4a6): undefined reference to `_Unwind_SjLj_Unregister'
 
Any idea about why im getting all these linker errors? i did the exact same thing as my friend but when i compile i get hundreds on linker errors and he doesnt i've already redone the installation and it didnt help
 
So this will solve the message I get when I trye to use a Real Map project?

Allocation failed, server out of memory!
Decrease size of your map or compile in a 64-bit mode.


Or what needs to be done to correct this, I have 8Gb Ram on my computer and when running this it takes only 2Gb so I'm asuming it has nothing to do with the machines ram...

Any help will be greatly apreciated.

EDIT:
Got this error in compile log, right at the start.

Code:
Compiler: Default compiler
Building Makefile: "C:\Users\Mypc\Desktop\server\Forgotten Source\04trunk.r3554\04trunk.r3554\dev-cpp\Makefile.win"
Executing  make...
mingw32-make -f "C:\Users\Mypc\Desktop\server\Forgotten Source\04trunk.r3554\04trunk.r3554\dev-cpp\Makefile.win" all
g++.exe -c ../actions.cpp -o obj//actions.o -I"include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC_ -m64   -fexpensive-optimizations -O1

../actions.cpp:1: sorry, unimplemented: 64-bit mode not compiled in

mingw32-make: *** [obj//actions.o] Error 1

Execution terminated
 
Last edited:
So this will solve the message I get when I trye to use a Real Map project?

Allocation failed, server out of memory!
Decrease size of your map or compile in a 64-bit mode.


Or what needs to be done to correct this, I have 8Gb Ram on my computer and when running this it takes only 2Gb so I'm asuming it has nothing to do with the machines ram...

Any help will be greatly apreciated.

EDIT:
Got this error in compile log, right at the start.

Code:
Compiler: Default compiler
Building Makefile: "C:\Users\Mypc\Desktop\server\Forgotten Source\04trunk.r3554\04trunk.r3554\dev-cpp\Makefile.win"
Executing  make...
mingw32-make -f "C:\Users\Mypc\Desktop\server\Forgotten Source\04trunk.r3554\04trunk.r3554\dev-cpp\Makefile.win" all
g++.exe -c ../actions.cpp -o obj//actions.o -I"include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC_ -m64   -fexpensive-optimizations -O1

../actions.cpp:1: sorry, unimplemented: 64-bit mode not compiled in

mingw32-make: *** [obj//actions.o] Error 1

Execution terminated

Your using 0.1? I tried 0.2 in WINE and it compiles with -m64. TFS will still "bug" on Windows in 64bit mode.
 
Well downloaded your .2 version and replaced the old dev-cpp files completely with the new ones.

When I first opened it did post a message something like do you want to change to mingw32 blablablabla.. (if you don't know what you are doing we suggest you press yes)... so I did...

So im kind of lost here, it's cause I have windows 7 64bit, that doesn't allow me to compile righ, or if not I didn't get the las part. :$ or probably try another way, re-installing or something?

Question: What's "WINE"?
 
Last edited:
Back
Top