Problemas com a instalação do jogo “As Crônicas Secretas do Dr. M” com cmake

0

Quando eu executo o comando cmake -DCMAKE_INSTALL_PREFIX=/opt/tsc para instalar o jogo da fonte, o terminal dá:

cmake -DCMAKE_INSTALL_PREFIX=/opt/tsc
CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:90 (file):
  file Internal CMake error when trying to open file:
  /home//TSC/tsc/CMakeFiles/2.8.12.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
  for writing.
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:100 (CMAKE_DETERMINE_COMPILER_ID_WRITE)
  /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:39 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
  /usr/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:127 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:16 (enable_language)


CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:90 (file):
  file Internal CMake error when trying to open file:
  /home//TSC/tsc/CMakeFiles/2.8.12.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
  for writing.
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:100 (CMAKE_DETERMINE_COMPILER_ID_WRITE)
  /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:39 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
  /usr/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:127 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:16 (enable_language)


-- The CXX compiler identification is unknown
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.

O que é o rong? Alguém pode ajudar a consertar isso? Estou executando o Ubuntu 14.04 x64.

    
por crystalshadow 01.02.2016 / 19:44

1 resposta

0

Instale os compiladores e bibliotecas de compilação necessários:

sudo apt-get update && sudo apt-get install build-essential

    
por SteveLacy 01.02.2016 / 19:55