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

OTClient Code Blocks Compile error!

ruggerii

New Member
Joined
Jan 26, 2013
Messages
1
Reaction score
0
Hi guys, i've this problem(errors) when a try to compile OTClient with code blocks
235a82d4549c4e5186e298b2d6101c8b.png

anyone know a way to solve this problem?
 
Credits to feli123:


First
: You go to "C:\MinGW\lib\gcc\mingw32\4.9.3\include\c++" and edit cstdio file. Before these two lines:
  • #include <bits/c++config.h>
  • #include <stdio.h>
Put this line:
  • #undef __STRICT_ANSI__
Second: You go to "C:\otclient-master" it is your otclient folder. Then, edit CMakeLists.txt (I recommend to edit using Notepad++ or your Codeblocks). Add this line:
  • set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
 
Last edited:
Back
Top