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

C++ Error Compile Debian 9

adrenyslopez

Member
Joined
Dec 22, 2015
Messages
201
Reaction score
15
Hello someone help me with this error when compiling please

C++:
root@vmi531551:~/otservbr-global/build# cmake -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scr     ipts/buildsystems/vcpkg.cmake ..
CMake Error at /usr/local/share/cmake-3.16/Modules/CMakeDetermineSystem.cmake:99      (message):
  Could not find toolchain file: ~/vcpkg/scripts/buildsystems/vcpkg.cmake
Call Stack (most recent call first):
  CMakeLists.txt:26 (project)


CMake Error: CMake was unable to find a build program corresponding to "Unix Mak     efiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a differen     t build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
root@vmi531551:~/otservbr-global/build#
ERROR COMPILE.png

Use Debian 9 and i am following this tutorial

[Linux - Ubuntu/Debian]OTServBR-Global + Apache + MySQL + OpenTibiaBR GesiorAAC
 
Try with full path instead of "~/vcpkg/scripts/buildsystems/vcpkg.cmake". For example "/home/debian/vcpkg/scripts/buildsystems/vcpkg.cmake
 
Back
Top