• 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 Error compiling TFS0.3.7pre

Raiden

Developer
Joined
Sep 16, 2008
Messages
486
Reaction score
32
Location
Venezuela
Hello, i got some errors compiling the 0.3.7 sources, anybody can help me? look it

Code:
./otserv.cpp:35:25: error: openssl/rsa.h: No such file or directory
../otserv.cpp:36:24: error: openssl/bn.h: No such file or directory
../otserv.cpp:37:25: error: openssl/err.h: No such file or directory
../otserv.cpp:95: error: expected constructor, destructor, or type conversion before '*' token

../otserv.cpp: In function 'void otserv(StringVec, ServiceManager*)':
../otserv.cpp:578: error: 'g_RSA' was not declared in this scope
../otserv.cpp:578: error: 'RSA_new' was not declared in this scope
../otserv.cpp:580: error: 'BN_dec2bn' was not declared in this scope
../otserv.cpp:587: error: 'RSA_check_key' was not declared in this scope
../otserv.cpp:592: error: 'BN_CTX' was not declared in this scope

../otserv.cpp:592: error: 'ctx' was not declared in this scope

../otserv.cpp:592: error: 'BN_CTX_new' was not declared in this scope
../otserv.cpp:593: error: 'BN_CTX_start' was not declared in this scope

../otserv.cpp:595: error: 'BIGNUM' was not declared in this scope
../otserv.cpp:595: error: 'r1' was not declared in this scope
../otserv.cpp:595: error: 'BN_CTX_get' was not declared in this scope
../otserv.cpp:595: error: 'r2' was not declared in this scope
../otserv.cpp:596: error: 'BN_mod' was not declared in this scope
../otserv.cpp:599: error: 'BN_mod_inverse' was not declared in this scope
../otserv.cpp:604: error: 'ERR_load_crypto_strings' was not declared in this scope
../otserv.cpp:607: error: 'ERR_get_error' was not declared in this scope
../otserv.cpp:607: error: 'ERR_error_string' was not declared in this scope

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

Execution terminated

I know that what is missing is the library openssl, but i downloaded it and now what? what the hell i do now?, i installed one with a .exe but i do nothing, and then i downloaded another but it are only a folder with lots of files... help please
 
What are you using? Dev? I had the same problem and then went into the submenu option "Tools" to enter "Check for Updates/Packages" and then pick devpaks.org~ and then find the openssl package there and install .. though I didn't get rid of the problem ufortunately, just had the first three lines of that list of bugs removed.

Please reply if you make it work!
Thanks
/qD.
 

Similar threads

Back
Top