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

The problem seems to be that the .exe isn't running in 64bit mode, when i check task manager it says *32 after the name and it can't use more then 2gb memory either, this makes my TFS unable to load my map... Is this a bug or are you aware of this?
 
Yours compiller not compile tfs 0.4

../otserv.cpp:32:25: openssl/rsa.h: No such file or directory
../otserv.cpp:33:24: openssl/bn.h: No such file or directory
../otserv.cpp:34:25: openssl/err.h: No such file or directory
../otserv.cpp:87: error: expected constructor, destructor, or type conversion before '*' token

../otserv.cpp: In function `void otserv(StringVec, ServiceManager*)':
../otserv.cpp:485: error: `g_RSA' was not declared in this scope
../otserv.cpp:485: error: `RSA_new' was not declared in this scope

../otserv.cpp:487: error: `BN_dec2bn' was not declared in this scope
../otserv.cpp:494: error: `RSA_check_key' was not declared in this scope

../otserv.cpp:498: error: `BN_CTX' was not declared in this scope
../otserv.cpp:498: error: `ctx' was not declared in this scope
../otserv.cpp:498: error: `BN_CTX_new' was not declared in this scope
../otserv.cpp:499: error: `BN_CTX_start' was not declared in this scope
../otserv.cpp:501: error: `BIGNUM' was not declared in this scope
../otserv.cpp:501: error: `r1' was not declared in this scope
../otserv.cpp:501: error: `BN_CTX_get' was not declared in this scope
../otserv.cpp:501: error: `r2' was not declared in this scope
../otserv.cpp:502: error: `BN_mod' was not declared in this scope
../otserv.cpp:505: error: `BN_mod_inverse' was not declared in this scope
../otserv.cpp:510: error: `RSA_check_key' was not declared in this scope

../otserv.cpp:515: error: `ERR_load_crypto_strings' was not declared in this scope
../otserv.cpp:516: error: `ERR_get_error' was not declared in this scope
../otserv.cpp:516: error: `ERR_error_string' was not declared in this scope
 
Yours compiller not compile tfs 0.4

../otserv.cpp:32:25: openssl/rsa.h: No such file or directory
../otserv.cpp:33:24: openssl/bn.h: No such file or directory
../otserv.cpp:34:25: openssl/err.h: No such file or directory
../otserv.cpp:87: error: expected constructor, destructor, or type conversion before '*' token

../otserv.cpp: In function `void otserv(StringVec, ServiceManager*)':
../otserv.cpp:485: error: `g_RSA' was not declared in this scope
../otserv.cpp:485: error: `RSA_new' was not declared in this scope

../otserv.cpp:487: error: `BN_dec2bn' was not declared in this scope
../otserv.cpp:494: error: `RSA_check_key' was not declared in this scope

../otserv.cpp:498: error: `BN_CTX' was not declared in this scope
../otserv.cpp:498: error: `ctx' was not declared in this scope
../otserv.cpp:498: error: `BN_CTX_new' was not declared in this scope
../otserv.cpp:499: error: `BN_CTX_start' was not declared in this scope
../otserv.cpp:501: error: `BIGNUM' was not declared in this scope
../otserv.cpp:501: error: `r1' was not declared in this scope
../otserv.cpp:501: error: `BN_CTX_get' was not declared in this scope
../otserv.cpp:501: error: `r2' was not declared in this scope
../otserv.cpp:502: error: `BN_mod' was not declared in this scope
../otserv.cpp:505: error: `BN_mod_inverse' was not declared in this scope
../otserv.cpp:510: error: `RSA_check_key' was not declared in this scope

../otserv.cpp:515: error: `ERR_load_crypto_strings' was not declared in this scope
../otserv.cpp:516: error: `ERR_get_error' was not declared in this scope
../otserv.cpp:516: error: `ERR_error_string' was not declared in this scope
Omfg, I get EXACTLY the same errors, Plaese someone help
 
Omfg, I get EXACTLY the same errors, Plaese someone help

Go in
Tools>>>Check for Update/Packages
2º In Select devpak server put devpaks.org Community....
3º Click Check for Updates
4º Select OpenSSL 0.9.8a and click Download Selected
5º After download, install that and try to compile again!
 
Compilation with Stian's Repack 0.2.. Flag although not activated "GM" "Tutors" "Sr. Tutors" "CM" no gain LOOT. Loot OnLy Players.

Stian Update Libraries :D " :D "
 
Last edited:
Sup I'm getting this errors when I compile, please help me out
Code:
obj//otserv.o:otserv.cpp:(.text+0x2486): undefined reference to `RSA_new'
obj//otserv.o:otserv.cpp:(.text+0x24b6): undefined reference to `BN_dec2bn'
obj//otserv.o:otserv.cpp:(.text+0x24e1): undefined reference to `BN_dec2bn'
obj//otserv.o:otserv.cpp:(.text+0x250c): undefined reference to `BN_dec2bn'
obj//otserv.o:otserv.cpp:(.text+0x2537): undefined reference to `BN_dec2bn'
obj//otserv.o:otserv.cpp:(.text+0x2550): undefined reference to `BN_dec2bn'
obj//otserv.o:otserv.cpp:(.text+0x255e): undefined reference to `RSA_check_key'
obj//otserv.o:otserv.cpp:(.text+0x256b): undefined reference to `ERR_load_crypto_strings'
obj//otserv.o:otserv.cpp:(.text+0x258c): undefined reference to `ERR_get_error'
obj//otserv.o:otserv.cpp:(.text+0x259c): undefined reference to `ERR_error_string'
obj//protocol.o:protocol.cpp:(.text+0xd6e): undefined reference to `RSA_private_decrypt'
collect2: ld returned 1 exit status

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

Execution terminated

EDIT
I HAVE COMPILE THE LAST REV WITHOUT A PROBLEM, SO SEEMS IT WAS A PROBLEM WITH THE OLDER REV I WAS TRYING TO COMPILE. THANKS ANYWAY
 
Last edited:
Stian, can you please tell us how to compile in 64 bit mode?

I tried using mingw64 and no success, the compiler says:
Code:
Compiler: Default compiler
Building Makefile: "D:\DevCpp\tfs\3973\dev-cpp\Makefile.win"
Executing  make...
mingw32-make64 -f "D:\DevCpp\tfs\3973\dev-cpp\Makefile.win" all
g++64.exe -c ../connection.cpp -o obj//connection.o -I"D:/DevCpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -O2 -D__LUAJIT__ -D__WAR_SYSTEM__    -fexpensive-optimizations -O1

g++64.exe: CreateProcess: No such file or directory

mingw32-make64: *** [obj//connection.o] Error 1

Execution terminated

I renamed the g++ from mingw64 to g++64, when I try compile using the g++64 and get this error.

Im using gcc64, g++64, mingw32-make64, gdb64, etc... all files from mingw64 I just renamed them to test, I compile normal with original files.

Can you help me here?
 
I get some wierd error when using Alt + P (project options), the program crash.
Anyone know why?
 
Last edited:
CreateProcess(NULL, rm -f obj//actions.o obj//admin.o obj//allocator.o obj//baseevents.o obj//beds.o obj//chat.o obj//combat.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//databasemanager.o obj//databasemysql.o obj//databasesqlite.o obj//depot.o obj//dispatcher.o obj//exception.o obj//fileloader.o obj//game.o obj//gameservers.o obj//globalevent.o obj//group.o obj//house.o obj//housetile.o obj//ioban.o obj//ioguild.o obj//iologindata.o obj//iomap.o obj//iomapserialize.o obj//item.o obj//itemattributes.o obj//items.o obj//luascript.o obj//mailbox.o obj//manager.o obj//map.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//position.o obj//protocol.o obj//protocolgame.o obj//protocolhttp.o obj//protocollogin.o obj//protocolold.o obj//quests.o obj//raids.o obj//rsa.o obj//scheduler.o obj//scriptmanager.o obj//server.o obj//spawn.o obj//spells.o obj//status.o obj//talkaction.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//TheForgottenServer_private.res TheForgottenServer.exe, ...) failed.

FAIL :S you can help me ? I have a problems on winshit.
 
I use trunk.r3884 and i have errors:

Code:
../otserv.cpp:88: error: expected constructor, destructor, or type conversion before '*' token
../otserv.cpp: In function 'void otserv(StringVec, ServiceManager*)':
../otserv.cpp:546: error: 'g_RSA' was not declared in this scope
../otserv.cpp:546: error: 'RSA_new' was not declared in this scope
../otserv.cpp:548: error: 'BN_dec2bn' was not declared in this scope
../otserv.cpp:556: error: 'RSA_check_key' was not declared in this scope
../otserv.cpp:561: error: 'ERR_load_crypto_strings' was not declared in this scope
../otserv.cpp:562: error: 'ERR_get_error' was not declared in this scope
../otserv.cpp:562: error: 'ERR_error_string' was not declared in this scope
 
Last 4 lines of my error in log:

-lcryptopp -leay32
ld: cannot find -lcryptopp
make.exe: *** [TheForgottenServer.exe] Error 1
Wykonanie zakończone
 
Back
Top