SV: [CMake] Check for working CXX compiler in linux

Peter Vanroose peter_vanroose at yahoo.co.uk
Tue Sep 6 02:18:06 EDT 2005


> Check for working CXX compiler: CMAKE_CXX_COMPILER_FULLPATH-NOTFOUND
> CMake Error: your CXX compiler: CMAKE_CXX_COMPILER_FULLPATH-NOTFOUND
> was not found in your path.   For CMake to correctly use try compile
> commands, the compiler must be in your path.   Please add the
> compiler to your PATH environment, and re-run CMake. 
> 
> gcc/g++ is installed. what package(s) I need more?

Find out where gcc is installed; let's say it is in /opt/gcc/bin
Then change the PATH variable as follows:

PATH=/opt/gcc/bin:$PATH
export PATH

Next run CMake.

--	Peter.


More information about the CMake mailing list