Problem with cmake...

NoOp glgxg at mfire.com
Sun Mar 25 23:40:19 UTC 2007


On 03/25/2007 01:26 AM, Patrick Gelin wrote:
> Hi,
> 
> this is my problem:
> 
> gelinp at gelinux:~/Desktop/lilidab$ cmake .
> -- Check for working CXX compiler: CMAKE_CXX_COMPILER_FULLPATH-NOTFOUND
> CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER_FULLPATH-NOTFOUND" was
> not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or
> name.
> CMake Error: Internal CMake error, TryCompile configure of cmake failed
> -- Check for working CXX compiler: CMAKE_CXX_COMPILER_FULLPATH-NOTFOUND --
> broken
> CMake Error: Error in cmake code at
> /usr/share/CMake/Modules/CMakeTestCXXCompiler.cmake:25:
> MESSAGE The C++ compiler "CMAKE_CXX_COMPILER_FULLPATH-NOTFOUND" is not able
> to compile a simple test program.
> It fails with the following output:
>  
> 
> CMake will not be able to correctly generate this project.
> Current CMake
> stack: /home/gelinp/Desktop/lilidab/CMakeLists.txt;/usr/share/CMake/Modules/CMakeCInformation.cmake;/usr/share/CMake/Modules/CMakeCXXInformation.cmake;/usr/share/CMake/Modules/CMakeTestCXXCompiler.cmake
> CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER_FULLPATH-NOTFOUND" was
> not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or
> name.
> -- Configuring done
> 
> I installed g++ and gcc packages then I tried to fix CMAKE_CXX_COMPILER with
> g++ or gcc path but it didn't work.
> 
> What can I do?
> 
> Thank you for your help.
> 
> Patrick
> 
> 

Perhaps installing build-essential will help:

sudo apt-get install build-essential

that contains most packages necessary for compiling.






More information about the ubuntu-users mailing list