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

Error when compiling

Noupz

New Member
Joined
Jul 13, 2010
Messages
126
Reaction score
1
i followed this tutorial Compiling on Windows · edubart/otclient Wiki · GitHub
and i've got this error

Build Log:
-------------- Build: all in otclient (compiler: GNU GCC Compiler)---------------

Checking if target is up-to-date: mingw32-make.exe -q -f Makefile all
Running command: C:/MinGW/bin/mingw32-make.exe -f "C:/Users/Henrique/Desktop/otclient/Makefile" VERBOSE=1 all
"C:\Program Files\CMake\bin\cmake.exe" -HC:\otclient-master -BC:\Users\Henrique\Desktop\otclient --check-build-system CMakeFiles\Makefile.cmake 0
"C:\Program Files\CMake\bin\cmake.exe" -E cmake_progress_start C:\Users\Henrique\Desktop\otclient\CMakeFiles C:\Users\Henrique\Desktop\otclient\CMakeFiles\progress.marks
C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\Makefile2 all
mingw32-make.exe[1]: Entering directory 'C:/Users/Henrique/Desktop/otclient'
C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\otclient.dir\build.make CMakeFiles/otclient.dir/depend
mingw32-make.exe[2]: Entering directory 'C:/Users/Henrique/Desktop/otclient'
"C:\Program Files\CMake\bin\cmake.exe" -E cmake_depends "MinGW Makefiles" C:\otclient-master C:\otclient-master C:\Users\Henrique\Desktop\otclient C:\Users\Henrique\Desktop\otclient C:\Users\Henrique\Desktop\otclient\CMakeFiles\otclient.dir\DependInfo.cmake --color=
mingw32-make.exe[2]: Leaving directory 'C:/Users/Henrique/Desktop/otclient'
C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\otclient.dir\build.make CMakeFiles/otclient.dir/build
mingw32-make.exe[2]: Entering directory 'C:/Users/Henrique/Desktop/otclient'
[ 1%] Building CXX object CMakeFiles/otclient.dir/src/framework/stdext/time.cpp.obj
C:\MinGW\bin\g++.exe -DBOOST_THREAD_USE_LIB -DBOT_PROTECTION -DCLIENT -DCRASH_HANDLER -DFW_GRAPHICS -DFW_NET -DFW_SOUND -DFW_XML -DOPENGL_ES=2 -D_WIN32_WINNT=0x0501 @CMakeFiles/otclient.dir/includes_CXX.rsp -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-unused-variable -Wno-unused-result -pipe -mthreads -O1 -g -fno-omit-frame-pointer -D"BUILD_TYPE=\"RelWithDebInfo\"" -D"BUILD_COMMIT=\"devel\"" -D"BUILD_REVISION=\"0\"" -D"VERSION=\"0.6.6\"" -o CMakeFiles\otclient.dir\src\framework\stdext\time.cpp.obj -c C:\otclient-master\src\framework\stdext\time.cpp
C:\otclient-master\src\framework\stdext\time.cpp: In function 'void stdext::millisleep(std::size_t)':
C:\otclient-master\src\framework\stdext\time.cpp:52:21: error: 'usleep' was not declared in this scope
usleep(ms * 1000);
^
C:\otclient-master\src\framework\stdext\time.cpp: In function 'void stdext::microsleep(std::size_t)':
C:\otclient-master\src\framework\stdext\time.cpp:61:14: error: 'usleep' was not declared in this scope
usleep(us);
^
mingw32-make.exe[2]: *** [CMakeFiles/otclient.dir/src/framework/stdext/time.cpp.obj] Error 1
mingw32-make.exe[1]: *** [CMakeFiles/otclient.dir/all] Error 2
mingw32-make.exe: *** [all] Error 2
CMakeFiles\otclient.dir\build.make:241: recipe for target 'CMakeFiles/otclient.dir/src/framework/stdext/time.cpp.obj' failed
mingw32-make.exe[2]: Leaving directory 'C:/Users/Henrique/Desktop/otclient'
CMakeFiles\Makefile2:66: recipe for target 'CMakeFiles/otclient.dir/all' failed
mingw32-make.exe[1]: Leaving directory 'C:/Users/Henrique/Desktop/otclient'
C:/Users/Henrique/Desktop/otclient/Makefile:126: recipe for target 'all' failed
Process terminated with status 2 (0 minute(s), 30 second(s))
5 error(s), 0 warning(s) (0 minute(s), 30 second(s))

Build Messages:
||=== Build: all in otclient (compiler: GNU GCC Compiler) ===|
C:\otclient-master\src\framework\stdext\time.cpp||In function 'void stdext::millisleep(std::size_t)':|
C:\otclient-master\src\framework\stdext\time.cpp|52|error: 'usleep' was not declared in this scope|
C:\otclient-master\src\framework\stdext\time.cpp||In function 'void stdext::microsleep(std::size_t)':|
C:\otclient-master\src\framework\stdext\time.cpp|61|error: 'usleep' was not declared in this scope|
CMakeFiles\otclient.dir\build.make|241|recipe for target 'CMakeFiles/otclient.dir/src/framework/stdext/time.cpp.obj' failed|
CMakeFiles\Makefile2|66|recipe for target 'CMakeFiles/otclient.dir/all' failed|
C:\Users\Henrique\Desktop\otclient\Makefile|126|recipe for target 'all' failed|
||=== Build failed: 5 error(s), 0 warning(s) (0 minute(s), 30 second(s)) ===|
 
It's possible to compile with tutorial for MS Visual Studio, but there is no information in tutorial that you need to read warnings in MSVS and accept to install anything it requires.
 
It's possible to compile with tutorial for MS Visual Studio, but there is no information in tutorial that you need to read warnings in MSVS and accept to install anything it requires.
im compiling with msvc 2015 but is does not support direxct9 or opengl
 
im having similar issue with codeblock but i read at the github page later
Compiling
A package with all required libraries for compiling OTClient on Windows can be found here:

In short, if you need to compile OTClient, follow these tutorials:

g
i've tried it before and i got others errors, if i try again and have the same problems u could help me?
 
i've tried it before and i got others errors, if i try again and have the same problems u could help me?
To make it work I installed it on clean Windows 10 on virtual machine (VMWare Player).
 
i tried on vs2015 win7ultimate and i've got it

Severity Code Description Project File Line Suppression State
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\animatedtext.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\animator.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\client.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\creature.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\container.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\creatures.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\game.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\effect.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\houses.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\item.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\itemtype.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\lightview.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\localplayer.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\luafunctions.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\luavaluecasts.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\map.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\mapio.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\mapview.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\minimap.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\missile.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\outfit.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\player.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\protocolcodes.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\protocolgame.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\protocolgameparse.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\shadermanager.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\protocolgamesend.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\spritemanager.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\statictext.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\thing.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\thingtype.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\thingtypemanager.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\tile.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\towns.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\uicreature.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\uiitem.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\uimapanchorlayout.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\uimap.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\uiminimap.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\uiprogressrect.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
Error C1083 Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\uisprite.cpp) otclient C:\Users\Henrique\Downloads\otclient-master\src\framework\stdext\thread.h 26
 
or maybe we can study how to do the steps to do it in msvc i know that there is people that knows how to compile otclient with msvc 2015 opengl and directx9
but im bussy now
 
Back
Top