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

Compile OTC

Sooh

Active Member
Joined
Nov 20, 2016
Messages
64
Reaction score
25
Have any of you had such a problem? knows how to solve it, I did everything exactly as in the guide and I got stuck
 

Attachments

Have you already downloaded these libraries?
C++:
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
 
He has everything installed ,something with cache or environment variables is fucking everything
The compiler is not able to find libs but they are there also has a clang.exe error I had similar issue because o was wasting time , and things were solved
 
Post automatically merged:

the problem with microsoft visual studio was solved by someone from otland, thanks frida22
only left with android studio
Post automatically merged:

[CXX1405] error when building with cmake using C:\otclient\CMakeLists.txt: Build command failed.
Error while executing process C:\Users\rkrop\AppData\Local\Android\Sdk\cmake\3.22.1\bin\cmake.exe with arguments {-HC:\otclient -DCMAKE_SYSTEM_NAME=Android -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_SYSTEM_VERSION=21 -DANDROID_PLATFORM=android-21 -DANDROID_ABI=x86_64 -DCMAKE_ANDROID_ARCH_ABI=x86_64 -DANDROID_NDK=C:\Users\rkrop\AppData\Local\Android\Sdk\ndk\25.1.8937393 -DCMAKE_ANDROID_NDK=C:\Users\rkrop\AppData\Local\Android\Sdk\ndk\25.1.8937393 -DCMAKE_TOOLCHAIN_FILE=C:\Users\rkrop\AppData\Local\Android\Sdk\ndk\25.1.8937393\build\cmake\android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=C:\Users\rkrop\AppData\Local\Android\Sdk\cmake\3.22.1\bin\ninja.exe -DCMAKE_CXX_FLAGS=-std=c++20 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\otclient\android\app\build\intermediates\cxx\Debug\5n3u3s41\obj\x86_64 -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=C:\otclient\android\app\build\intermediates\cxx\Debug\5n3u3s41\obj\x86_64 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_FIND_ROOT_PATH=C:\otclient\android\app\.cxx\Debug\5n3u3s41\prefab\x86_64\prefab -BC:\otclient\android\app\.cxx\Debug\5n3u3s41\x86_64 -GNinja -DVCPKG_TARGET_ANDROID=ON}
-- Configuring incomplete, errors occurred!

CMake Error at cmake/vcpkg_android.cmake:26 (message):


Please set an environment variable ANDROID_NDK_HOME
For example:
export ANDROID_NDK_HOME=/home/your-account/Android/Sdk/ndk-bundle
Or:
export ANDROID_NDK_HOME=/home/your-account/Android/android-ndk-r21b

Call Stack (most recent call first):
CMakeLists.txt:23 (include)
 

Attachments

Last edited:
Back
Top