• 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 "need at least one database driver"

tiddpd

PHP Scripter
Joined
Apr 16, 2008
Messages
331
Reaction score
0
The first time I tried to compile the latest sources based on this tutorial: http://otland.net/f137/tutorial-how-compile-forgotten-server-latest-sources-166/.

And I would get an error saying "You need at least one database driver". So i thought it was the editing I did in the code,

Then I tried it with all the default with not editing and I get the same error message. So I know its not my fault, so what is the problem?
 
copy paste from tutorial


Now press ALT + P.In the box which will appear again.Go to the "Parameters" tab and do the following:


Linkers:
PHP:
-O1
-lboost_system
-lgmp
-llua5.1
-lmysql
-lboost_regex
-lsqlite3
-lwsock32
-lxml2
-lmysql
-lws2_32
-s

C++ Compiler:
PHP:
-D__USE_MYSQL___
-D__USE_SQLITE___
-D__ENABLE_SERVER_DIAGNOSTIC___
 
I migrated the source code of the dev-cpp to visual studio 2013 and am having the same problem. Probably changing the compiler settings for "-D__USE_MYSQL__" will be possible to compile, but I have no idea how to change this setting ...
2mcbymw.png
 
Back
Top