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

Kuantikum

Member
Joined
Jul 3, 2015
Messages
201
Solutions
1
Reaction score
14
Hello guys,

Im trying to compiling OTCLIENT "edubart/otclient" and i get this erros.

What I've done ?
I followed the guide edubart/otclient (https://github.com/edubart/otclient/wiki/Compiling-on-Windows)

Additional directores i have linked:

1624211494219.png

and

1624211530324.png

Log errors:
Lua:
Rebuild started...
1>------ Rebuild All started: Project: otclient, Configuration: Release x64 ------
1>animatedtext.cpp
1>animator.cpp
1>client.cpp
1>container.cpp
1>creature.cpp
1>creatures.cpp
1>effect.cpp
1>game.cpp
1>houses.cpp
1>item.cpp
1>itemtype.cpp
1>lightview.cpp
1>localplayer.cpp
1>luafunctions.cpp
1>luavaluecasts.cpp
1>map.cpp
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\map.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\effect.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\client.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\creatures.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\luavaluecasts.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\localplayer.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\luafunctions.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\game.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\animatedtext.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\houses.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\lightview.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\container.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\animator.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\itemtype.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\item.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\creature.cpp)
1>mapio.cpp
1>mapview.cpp
1>minimap.cpp
1>missile.cpp
1>outfit.cpp
1>player.cpp
1>protocolcodes.cpp
1>protocolgame.cpp
1>protocolgameparse.cpp
1>protocolgamesend.cpp
1>shadermanager.cpp
1>spritemanager.cpp
1>statictext.cpp
1>thing.cpp
1>thingtype.cpp
1>thingtypemanager.cpp
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\thingtypemanager.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\minimap.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\protocolgame.cpp)
1>tile.cpp
1>towns.cpp
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\player.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\missile.cpp)
1>uicreature.cpp
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\mapview.cpp)
1>uiitem.cpp
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\protocolgameparse.cpp)
1>uimap.cpp
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\outfit.cpp)
1>uimapanchorlayout.cpp
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\protocolcodes.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\mapio.cpp)
1>uiminimap.cpp
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\thingtype.cpp)
1>uiprogressrect.cpp
1>uisprite.cpp
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\shadermanager.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\statictext.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\protocolgamesend.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\spritemanager.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\thing.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\uicreature.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\uiitem.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\tile.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\towns.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\uimapanchorlayout.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\uimap.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\uiprogressrect.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\uiminimap.cpp)
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\uisprite.cpp)
1>Done building project "otclient.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Can you help me, please ?
Thanks very much!

Post automatically merged:

and

Lua:
Severity    Code    Description    Project    File    Line    Suppression State
Error (active)    E0952    a nontype template parameter may not have class type    otclient    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include\functional    1138   
Error (active)    E0952    a nontype template parameter may not have class type    otclient    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include\functional    1159   
Error    C1083    Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\animatedtext.cpp)    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\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:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h    26    Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include\functional    1193
Post automatically merged:

Lua:
Error (active)    E0020    identifier "GL_DYNAMIC_DRAW" is undefined    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\graphics\hardwarebuffer.h    40   

Error (active)    E0020    identifier "GL_ELEMENT_ARRAY_BUFFER" is undefined    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\graphics\hardwarebuffer.h    34   

Error (active)    E0020    identifier "GL_STATIC_DRAW" is undefined    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\graphics\hardwarebuffer.h    39   

Error (active)    E0020    identifier "GL_STREAM_DRAW" is undefined    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\graphics\hardwarebuffer.h    38   

Error (active)    E0276    name followed by '::' must be a class or namespace name    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\client\game.h    74   

Error (active)    E0276    name followed by '::' must be a class or namespace name    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\client\protocolgame.h    129   

Error (active)    E0276    name followed by '::' must be a class or namespace name    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\net\connection.h    33   

Error (active)    E0276    name followed by '::' must be a class or namespace name    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\net\connection.h    61   

Error (active)    E0276    name followed by '::' must be a class or namespace name    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\net\connection.h    69   

Error (active)    E0276    name followed by '::' must be a class or namespace name    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\net\connection.h    71   

Error (active)    E0276    name followed by '::' must be a class or namespace name    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\net\connection.h    71   

Error (active)    E0276    name followed by '::' must be a class or namespace name    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\net\connection.h    72    

Error (active)    E0077    this declaration has no storage class or type specifier    otclient    C:\Program Files (x86)\Microsoft Visual
Post automatically merged:

Lua:
Error (active)    E0276    name followed by '::' must be a class or namespace name    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\net\connection.h    87
Error (active)    E0276    name followed by '::' must be a class or namespace name    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\net\connection.h    89
Error (active)    E0276    name followed by '::' must be a class or namespace name    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\net\connection.h    90
Error (active)    E0276    name followed by '::' must be a class or namespace name    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\net\connection.h    91
Error (active)    E0276    name followed by '::' must be a class or namespace name    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\net\connection.h    94
Post automatically merged:

1624228758954.png

1624228801849.png
 
Last edited:
Solution
Is it a problem with linking boost maybe ?
Post automatically merged:

SOLVED.

Code:
1>Finished generating code
1>otclient.vcxproj -> C:\Users\yourUSER\vcpkg\otclient\otclient.exe
1>Done building project "otclient.vcxproj".
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

What i do?
This time i used Git Bash paying attention at:
Code:
.\ -> .\\ in Git Bash
and using:
Code:
vcpkg.exe




2. Set up vcpkg​

Code:
git clone https://github.com/Microsoft/vcpkg
cd vcpkg
.\\bootstrap-vcpkg.bat
.\\vcpkg.exe integrate install

3. Download the source code​

Code:
git clone --recursive...
OP
Kuantikum

Kuantikum

Member
Joined
Jul 3, 2015
Messages
201
Solutions
1
Reaction score
14
BUMP, Can you help me please ?

Maybe failed to link something ?

Lua:
1>C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h(26,10): fatal error C1083: Cannot open include file: 'boost/thread/future.hpp': No such file or directory (compiling source file ..\src\client\map.cpp)

Lua:
Severity    Code    Description    Project    File    Line    Suppression State
Error (active)    E1696    cannot open source file "boost/asio.hpp"    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\net\declarations.h    27   
Error (active)    E1696    cannot open source file "boost/system/error_code.hpp"    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\net\declarations.h    28   
Error (active)    E1696    cannot open source file "boost/thread/future.hpp"    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\stdext\thread.h    26   
Error (active)    E1696    cannot open source file "GL/glew.h"    otclient    C:\AURORA PROJETO\SERVERS\CLIENTS\otclient-cache-for-all\src\framework\graphics\glutil.h    109
 

EvulMastah

๏̯͡๏﴿
Premium User
Joined
Aug 19, 2007
Messages
4,863
Reaction score
269
here bro, ill filter the message for you:
"Cannot open include file: 'boost/thread/future.hpp': No such file or directory"

no problem
 
OP
Kuantikum

Kuantikum

Member
Joined
Jul 3, 2015
Messages
201
Solutions
1
Reaction score
14
Is it a problem with linking boost maybe ?
Post automatically merged:

SOLVED.

Code:
1>Finished generating code
1>otclient.vcxproj -> C:\Users\yourUSER\vcpkg\otclient\otclient.exe
1>Done building project "otclient.vcxproj".
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

What i do?
This time i used Git Bash paying attention at:
Code:
.\ -> .\\ in Git Bash
and using:
Code:
vcpkg.exe




2. Set up vcpkg​

Code:
git clone https://github.com/Microsoft/vcpkg
cd vcpkg
.\\bootstrap-vcpkg.bat
.\\vcpkg.exe integrate install

3. Download the source code​

Code:
git clone --recursive https://github.com/edubart/otclient.git

4. Install libraries​

Code:
.\\vcpkg.exe install boost-iostreams:x64-windows boost-asio:x64-windows boost-system:x64-windows boost-variant:x64-windows boost-lockfree:x64-windows luajit:x64-windows glew:x64-windows boost-filesystem:x64-windows boost-uuid:x64-windows physfs:x64-windows openal-soft:x64-windows libogg:x64-windows libvorbis:x64-windows zlib:x64-windows

5. Build (C:\Users\yourUSER\vcpkg)​

1624375380918.png
  1. Open vc14/otclient.vcxproj. This should launch Visual Studio.
  2. Choose build configuration from the drop downs (Debug or Release and Win32 or x64). For best performance choose Release & x64.
  3. To start compiling press F7.
 
Last edited:
Solution
Top