• 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 Trying to compile OTCV8

Tbol

Well-Known Member
Joined
Apr 7, 2019
Messages
529
Reaction score
56
Hello trying to learn how to compile otcv8 src which im getting issues so firsly had this issue but found comit for it
after did that i got those
1702636243967.png

Used those libraries that recommened on otcv8 github
Code:
vcpkg install boost-iostreams:x86-windows-static boost-asio:x86-windows-static boost-beast:x86-windows-static boost-system:x86-windows-static boost-variant:x86-windows-static boost-lockfree:x86-windows-static boost-process:x86-windows-static boost-program-options:x86-windows-static luajit:x86-windows-static glew:x86-windows-static boost-filesystem:x86-windows-static boost-uuid:x86-windows-static physfs:x86-windows-static openal-soft:x86-windows-static libogg:x86-windows-static libvorbis:x86-windows-static zlib:x86-windows-static libzip:x86-windows-static openssl:x86-windows-static
Which im a bit confused is OTCV8 .exe files is 32bits? I though all this time its 64. Anyway what im doing wrong?
Post automatically merged:

Fixed it by adding to a Properties/Linker/Input/Aditional Dependencies/
Lua:
$(OTCLIENT_LIBDEPS)
$(ProjectDir)angle\lib\libGLESv2.dll.lib
$(ProjectDir)angle\lib\libEGL.dll.lib
glew32.lib
zlib1.lib
libeay32MD.lib
physfs.lib
openal32.lib
luajit.lib
libogg_static.lib
libvorbisfile_static.lib
libvorbis_static.lib
opengl32.lib
dbghelp.lib
libGLESv2.lib
libEGL.lib
But still getting this
1702637008566.png
 
Last edited:
Are you sure you installed the vcpkg without any errors?
Try vcpkg install zlib:x86-windows
 
Are you sure you installed the vcpkg without any errors?
Try vcpkg install zlib:x86-windows
Didnt helped, says the same
Are you using these?
Yea i did used
Code:
vcpkg install boost-iostreams:x86-windows-static boost-asio:x86-windows-static boost-beast:x86-windows-static boost-system:x86-windows-static boost-variant:x86-windows-static boost-lockfree:x86-windows-static boost-process:x86-windows-static boost-program-options:x86-windows-static luajit:x86-windows-static glew:x86-windows-static boost-filesystem:x86-windows-static boost-uuid:x86-windows-static physfs:x86-windows-static openal-soft:x86-windows-static libogg:x86-windows-static libvorbis:x86-windows-static zlib:x86-windows-static libzip:x86-windows-static openssl:x86-windows-static
And it looked like it installed fine. Maybe i need to link something or idk?
 
Why dont you use Visual 2022 btw?

Try this:
  • Go to folder of vckpg
  • Open a PowerShell window inside that folder; CTRL + SHIFT + RIGHT CLICK in folder
  • Enter the following command:
.\vcpkg.exe install boost-iostreams:x86-windows-static boost-asio:x86-windows-static boost-beast:x86-windows-static boost-system:x86-windows-static boost-variant:x86-windows-static boost-lockfree:x86-windows-static boost-process:x86-windows-static boost-program-options:x86-windows-static luajit:x86-windows-static glew:x86-windows-static boost-filesystem:x86-windows-static boost-uuid:x86-windows-static physfs:x86-windows-static openal-soft:x86-windows-static libogg:x86-windows-static libvorbis:x86-windows-static zlib:x86-windows-static libzip:x86-windows-static openssl:x86-windows-static
 
Why dont you use Visual 2022 btw?

Try this:
  • Go to folder of vckpg
  • Open a PowerShell window inside that folder; CTRL + SHIFT + RIGHT CLICK in folder
  • Enter the following command:
.\vcpkg.exe install boost-iostreams:x86-windows-static boost-asio:x86-windows-static boost-beast:x86-windows-static boost-system:x86-windows-static boost-variant:x86-windows-static boost-lockfree:x86-windows-static boost-process:x86-windows-static boost-program-options:x86-windows-static luajit:x86-windows-static glew:x86-windows-static boost-filesystem:x86-windows-static boost-uuid:x86-windows-static physfs:x86-windows-static openal-soft:x86-windows-static libogg:x86-windows-static libvorbis:x86-windows-static zlib:x86-windows-static libzip:x86-windows-static openssl:x86-windows-static
Because on otcv8 it recommends 2019. And i already installed .\vcpkg.exe install boost-iostreams:x86-windows-static boost-asio:x86-windows-static boost-beast:x86-windows-static boost-system:x86-windows-static boost-variant:x86-windows-static boost-lockfree:x86-windows-static boost-process:x86-windows-static boost-program-options:x86-windows-static luajit:x86-windows-static glew:x86-windows-static boost-filesystem:x86-windows-static boost-uuid:x86-windows-static physfs:x86-windows-static openal-soft:x86-windows-static libogg:x86-windows-static libvorbis:x86-windows-static zlib:x86-windows-static libzip:x86-windows-static openssl:x86-windows-static
 
it worked now ? i had same problem i downlaoded the vcpkg folder changed it(just to compile this otcv8) and downloaded msvc2019 and everything begins to work
also use the otcv8 with this commit Removed CI-CD workflow · OTAcademy/otclientv8@5b9e6df (https://github.com/OTAcademy/otclientv8/commit/5b9e6dfd028b91bcc8c82478101b8bbd16a9eef6)
here's the thread with solution
 
Does location of vcpkg matter? or name of the folder? Got error when redownloading libarries

Error: Building package bzip2:x86-windows-static failed with: BUILD_FAILED
when executing
Lua:
.\vcpkg install boost-iostreams:x86-windows-static boost-asio:x86-windows-static boost-beast:x86-windows-static boost-system:x86-windows-static boost-variant:x86-windows-static boost-lockfree:x86-windows-static boost-process:x86-windows-static boost-program-options:x86-windows-static luajit:x86-windows-static glew:x86-windows-static boost-filesystem:x86-windows-static boost-uuid:x86-windows-static physfs:x86-windows-static openal-soft:x86-windows-static libogg:x86-windows-static libvorbis:x86-windows-static zlib:x86-windows-static libzip:x86-windows-static openssl:x86-windows-static
 
Last edited:

Similar threads

Back
Top