Compiling CC on Lubuntu, issue with cmake
Posted: Wed Sep 25, 2013 1:50 pm
I am trying to compile CloudCompare on a Lubuntu machine. I like this very light version of Ubuntu and would be glad to see it working with my favourite tools :)
I am pretty much a newbie in Linux systems, though i've used Ubuntu for about a year, and my experience on Lubuntu can be summed up by something like "Yay, that looks nice and fast". So i won't be able to get on the details.
I have downloaded the source, installed cmake & cmake-qt-gui.
I then opened cmake-gui, indicated the place where the sources are, and where to build the code.
When i press the configure button and chose any compiler, then an error window opens, telling me that i made an "Error in configuration process, project files may be invalid",
and the following poem shows up in the message box :
The C compiler identification is unknown
The CXX compiler identification is unknown
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found. Please set CMAKE_C_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.
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found. Please set CMAKE_C_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.
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found. Please set CMAKE_C_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.
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (message):
Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE
QT_RCC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_INCLUDE_DIR
QT_QTCORE_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindQt4.cmake:1223 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CC/CMakeLists.txt:10 (find_package)
Configuring incomplete, errors occurred!
Does this mean i should look further on how to configure cmake ?
Has anyone been able to set up CC on Lubuntu ?
I am pretty much a newbie in Linux systems, though i've used Ubuntu for about a year, and my experience on Lubuntu can be summed up by something like "Yay, that looks nice and fast". So i won't be able to get on the details.
I have downloaded the source, installed cmake & cmake-qt-gui.
I then opened cmake-gui, indicated the place where the sources are, and where to build the code.
When i press the configure button and chose any compiler, then an error window opens, telling me that i made an "Error in configuration process, project files may be invalid",
and the following poem shows up in the message box :
The C compiler identification is unknown
The CXX compiler identification is unknown
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found. Please set CMAKE_C_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.
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found. Please set CMAKE_C_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.
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found. Please set CMAKE_C_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.
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (message):
Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE
QT_RCC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_INCLUDE_DIR
QT_QTCORE_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindQt4.cmake:1223 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CC/CMakeLists.txt:10 (find_package)
Configuring incomplete, errors occurred!
Does this mean i should look further on how to configure cmake ?
Has anyone been able to set up CC on Lubuntu ?