Hello.
I'm compiling in debian 9 an ejecutable of otx (a custom version of tfs, open tibia, an open version of the 1997 mmorpg game called tibia). This OTX is similar than tibia but the custom content includes pokemon or dragon ball datapacks.
This is the official gib:
https://github.com/mattyx14/otxserver
And this is how to compile in linux:
https://github.com/mattyx14/otxserver/wiki/Compilling-on-Linux
I have installed all libs unless libmysqlclient-dev because I'm using debian 9 and it works with libmariadb.
Error compiling:
otserv.cpp:614:18: error: invalid use of incomplete type âRSA {aka struct rsa_st}â
BN_dec2bn(&g_RSA->q, g_config.getString(ConfigManager::RSA_PRIME2).c_str());
Lines from 613 to 617:
BN_dec2bn(&g_RSA->p, g_config.getString(ConfigManager::RSA_PRIME1).c_str());
BN_dec2bn(&g_RSA->q, g_config.getString(ConfigManager::RSA_PRIME2).c_str());
BN_dec2bn(&g_RSA->d, g_config.getString(ConfigManager::RSA_PRIVATE).c_str());
BN_dec2bn(&g_RSA->n, g_config.getString(ConfigManager::RSA_MODULUS).c_str());
BN_dec2bn(&g_RSA->e, g_config.getString(ConfigManager::RSA_PUBLIC).c_str());
Lines 627, 628 and 630:
BN_mod(g_RSA->dmp1, g_RSA->d, r1, ctx);
BN_mod(g_RSA->dmq1, g_RSA->d, r2, ctx);
BN_mod_inverse(g_RSA->iqmp, g_RSA->q, g_RSA->p, ctx);
I have openssl 1.1 installed. I say this because it said something about openssl too.
I have tried to open an issue there but they close it without paying much attention.