• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved cannot find -lua51

Delete all linkers and add these instead:
Code:
-O1
-lboost_system
-lgmp
-llua5.1
-lmysql
-lboost_regex
-lsqlite3
-lwsock32
-lxml2
-lmysql
-lws2_32
-s
-lboost_filesystem
-lboost_thread
 
Then add -D__CONSOLE__ to C++ compiler and make sure that in Project Options > General you have chosen "Win32 Console".

If there will be another error then just remove all C++ compiler and add these instead:
Code:
-D__USE_MYSQL__
-D__USE_SQLITE__
-D__ENABLE_SERVER_DIAGNOSTIC__
-D__CONSOLE__
 
Last edited:
Lets try other way:
C++ compiler:
Code:
-D__USE_MYSQL__
-D__USE_SQLITE__
-D__ENABLE_SERVER_DIAGNOSTIC__
-O2
Linkers:
Code:
-O1
-lboost_system
-lgmp
-llua5.1
-lmysql
-lboost_regex
-lsqlite3
-lwsock32
-lxml2
-lmysql
-lws2_32
-s
-lboost_filesystem
-lboost_thread
Go to Project Options > General select Win32 GUI then select Support Windows XP Themes.
 
Lets try other way:
C++ compiler:
Code:
-D__USE_MYSQL__
-D__USE_SQLITE__
-D__ENABLE_SERVER_DIAGNOSTIC__
-O2
Linkers:
Code:
-O1
-lboost_system
-lgmp
-llua5.1
-lmysql
-lboost_regex
-lsqlite3
-lwsock32
-lxml2
-lmysql
-lws2_32
-s
-lboost_filesystem
-lboost_thread
Go to Project Options > General select Win32 GUI then select Support Windows XP Themes.
Oh, that actually worked! Thanks Nenth :D
Strange that I had to make it GUI tho
 
Back
Top