With no successes in MSVC and Dev-CPP, I've decided to make my final try at CodeBlocks.
I've used the tutorial made by Talaturen, everything seemed to work well, except...
I don't know what this error is trying to tell me, can anyone explain?
Now that I fixed the previous error, I got this one:
Compiling: ..\otserv.cpp
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:35:25: error: openssl/rsa.h: No such file or directory
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:36:24: error: openssl/bn.h: No such file or directory
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:37:25: error: openssl/err.h: No such file or directory
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:95: error: expected constructor, destructor, or type conversion before '*' token
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp: In function 'void otserv(StringVec, ServiceManager*)':
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:581: error: 'g_RSA' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:581: error: 'RSA_new' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:583: error: 'BN_dec2bn' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:590: error: 'RSA_check_key' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:595: error: 'BN_CTX' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:595: error: 'ctx' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:595: error: 'BN_CTX_new' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:596: error: 'BN_CTX_start' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:598: error: 'BIGNUM' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:598: error: 'r1' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:598: error: 'BN_CTX_get' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:598: error: 'r2' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:599: error: 'BN_mod' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:602: error: 'BN_mod_inverse' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:607: error: 'ERR_load_crypto_strings' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:610: error: 'ERR_get_error' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:610: error: 'ERR_error_string' was not declared in this scope
Nevermind, got this to work, now new error:
cannot find -llua5.1
I've used the tutorial made by Talaturen, everything seemed to work well, except...
\trunk.r5186\database.h:62:2: error: #error "You have to compile with at least one database driver!"
I don't know what this error is trying to tell me, can anyone explain?
Now that I fixed the previous error, I got this one:
Compiling: ..\otserv.cpp
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:35:25: error: openssl/rsa.h: No such file or directory
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:36:24: error: openssl/bn.h: No such file or directory
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:37:25: error: openssl/err.h: No such file or directory
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:95: error: expected constructor, destructor, or type conversion before '*' token
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp: In function 'void otserv(StringVec, ServiceManager*)':
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:581: error: 'g_RSA' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:581: error: 'RSA_new' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:583: error: 'BN_dec2bn' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:590: error: 'RSA_check_key' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:595: error: 'BN_CTX' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:595: error: 'ctx' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:595: error: 'BN_CTX_new' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:596: error: 'BN_CTX_start' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:598: error: 'BIGNUM' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:598: error: 'r1' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:598: error: 'BN_CTX_get' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:598: error: 'r2' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:599: error: 'BN_mod' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:602: error: 'BN_mod_inverse' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:607: error: 'ERR_load_crypto_strings' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:610: error: 'ERR_get_error' was not declared in this scope
C:\Users\Evan's Computer\Desktop\trunk.r5186\otserv.cpp:610: error: 'ERR_error_string' was not declared in this scope
Nevermind, got this to work, now new error:
cannot find -llua5.1
Last edited by a moderator: