• 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
182
Reaction score
13
Hello someone help me with this error when compiling please

C++:
[email protected]:~/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!
[email protected]:~/otservbr-global/build#
ERROR COMPILE.png

Use Debian 9 and i am following this tutorial

[Linux - Ubuntu/Debian]OTServBR-Global + Apache + MySQL + OpenTibiaBR GesiorAAC
 

kamilcioo

Veteran OT User
Joined
Jul 25, 2008
Messages
952
Solutions
1
Reaction score
278
Try with full path instead of "~/vcpkg/scripts/buildsystems/vcpkg.cmake". For example "/home/debian/vcpkg/scripts/buildsystems/vcpkg.cmake
 
Top