[CMake] Problem compiling commander-genius (cross compiling)

AmigaBlitter amiblit at gmail.com
Sat Feb 10 12:53:22 EST 2018


Thank you for the reply.

I tried using CMAKE_SYSROOT but i get this:

amidev at AMIGAONE:~/Software/Development/Commander-Genius$ cmake
-DCMAKE_TOOLCHAIN_FILE=amiga-toolchain.cmake -DUSE_SDL2=yes
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:6 (Project):
  The CMAKE_C_COMPILER:

    /usr/local/amiga/bin/ppc-amigaos-gcc.exe

  is not a full path to an existing compiler tool.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path
to
  the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:6 (Project):
  The CMAKE_CXX_COMPILER:

    /usr/local/amiga/bin/ppc-amigaos-g++.exe

  is not a full path to an existing compiler tool.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full
path
  to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!

Moreover, don't know what's happened, but i'm sure that i haven't changed
anything since yesterday and, if previously compilation started till 90%,
now doesn't start at all.

Kind regards
Davide



--
Sent from: http://cmake.3232098.n2.nabble.com/


More information about the CMake mailing list