The CXX compiler identification is unknown
Bonjour,
quand je lance cmake comme suit, j'obtient une erreur :
Code:
moi@moi-blablabla~/work/build/miniini$ sudo cmake ../../miniini -DCMAKE_INSTALL_PREFIX=~/work
L'erreur
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| .-- The C compiler identification is GNU
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
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 Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.8)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred! |
Merci d'avance pour votre aide