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

Compiling Errors with OTclient 1.0

Joined
Feb 16, 2017
Messages
47
Solutions
2
Reaction score
6
Hey all, i have weird problem when compiling OTClient 1.0 in VS19
I tried VS 15/17 but this one needs v142 from VS 19...
I have followed edubart tutorial with vcpkg for VS 17 and vcpkg package is in A:/vcpkg included and registred with .bat files (in ss)
I can add that i can compile TFS engine without problems
Please help me am newbie with compiling <3

C++:
Build started...
1>------ Build started: Project: otclient, Configuration: Release x64 ------
1>animatedtext.cpp
1>client.cpp
1>container.cpp
1>creature.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\animatedtext.cpp)
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\creature.cpp)
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\client.cpp)
1>creatures.cpp
1>effect.cpp
1>game.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\container.cpp)
1>houses.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\game.cpp)
1>item.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\effect.cpp)
1>itemtype.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\houses.cpp)
1>lightview.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\creatures.cpp)
1>localplayer.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\item.cpp)
1>luafunctions.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\itemtype.cpp)
1>luavaluecasts.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\lightview.cpp)
1>map.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\localplayer.cpp)
1>mapio.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\luavaluecasts.cpp)
1>mapview.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\luafunctions.cpp)
1>minimap.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\map.cpp)
1>missile.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\mapio.cpp)
1>outfit.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\mapview.cpp)
1>player.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\minimap.cpp)
1>protocolgame.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\missile.cpp)
1>protocolgameparse.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\outfit.cpp)
1>protocolgamesend.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\player.cpp)
1>shadermanager.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\protocolgame.cpp)
1>spritemanager.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\protocolgameparse.cpp)
1>statictext.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\protocolgamesend.cpp)
1>thing.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\shadermanager.cpp)
1>thingtype.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\spritemanager.cpp)
1>thingtypemanager.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\statictext.cpp)
1>tile.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\thing.cpp)
1>uicreature.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\thingtype.cpp)
1>uiitem.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\tile.cpp)
1>uimap.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\thingtypemanager.cpp)
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\uicreature.cpp)
1>uimapanchorlayout.cpp
1>uiminimap.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\uiitem.cpp)
1>uiprogressrect.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\uimap.cpp)
1>uisprite.cpp
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\uiminimap.cpp)
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\uimapanchorlayout.cpp)
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\uiprogressrect.cpp)
1>A:\Pobrane\otclient-1.0-cache-for-all\src\framework\graphics\glutil.h(109,10): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory (compiling source file ..\src\client\uisprite.cpp)
1>Done building project "otclient.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
 

Attachments

Kuantikum

Member
Joined
Jul 3, 2015
Messages
201
Solutions
1
Reaction score
15
(BUMP) Hello,

I have a similar problem here:
 

ralke

(҂ ͠❛ ෴ ͡❛)ᕤ
Joined
Dec 17, 2011
Messages
932
Solutions
23
Reaction score
445
Location
Santiago - Chile
Check if you have changed compiler configuration to Release and x64
release_64x.png
Then apply this, if you're going to use C drive use C:
vcpkg_install.png
C++:
vcpkg 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 opengl:x64-windows
 
Top