• 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!

[OTX 2] Compiling Error Trying to compile at Console

Maloqueiro

New Member
Joined
Jul 2, 2016
Messages
6
Reaction score
0
Hello guys, When I try to build my OTX2 comfort in any C ++ THAT the error:
Code:
[Linker error] undefined reference to `CreateFontIndirectA@4'
[Linker error] undefined reference to `CreateFontIndirectA@4'
[Linker error] undefined reference to `DeleteObject@4'
ld returned 1 exit status
*** ["OTX] Error 1

C++
Code:
-D__ENABLE_SERVER_DIAGNOSTIC__
-D__ROOT_PERMISSION__
-D__GROUND_CACHE__
-D__USE_SQLITE__
-D__USE_MYSQL__
-D__WAR_SYSTEM__

Linkers
Code:
-lboost_filesystem
-lboost_thread
-lboost_system
-lboost_regex
-lsqlite3
-lwsock32
-llua5.1
-lws2_32
-leay32
-lmysql
-lxml2
-lgmp
-lz
-s

GUI I can compile without error
 
Back
Top