Page 1 of 6
Building terragear
Posted: Wed May 11, 2016 8:48 am
by swamp
I am hitting a brick wall at cmake. Maybe the instructions in the FG wiki page are not clear enough for me.
Re: Building terragear
Posted: Wed May 11, 2016 9:08 am
by swamp
The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:14 (project):
No CMAKE_CXX_COMPILER could be found.
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!
See also "/home/steve/flightgear-terragear/build/CMakeFiles/CMakeOutput.log".
See also "/home/steve/flightgear-terragear/build/CMakeFiles/CMakeError.log".
Re: Building terragear
Posted: Wed May 11, 2016 12:13 pm
by IAHM-COL
1. What is your OS?
swamp wrote:The CXX compiler identification is unknown
No CMAKE_CXX_COMPILER could be found.
2. Do you have CMAKE installed?
https://cmake.org/
Re: Building terragear
Posted: Wed May 11, 2016 1:11 pm
by swamp
Yes, I have it installed. I will admit I am no pro at it though. It even opens cmake gui when I click to see the cmakecache.txt
Re: Building terragear
Posted: Wed May 11, 2016 1:15 pm
by SHM
Do it for him via SSH
Re: Building terragear
Posted: Wed May 11, 2016 1:48 pm
by IAHM-COL
what is your OS?
Re: Building terragear
Posted: Wed May 11, 2016 2:09 pm
by SHM
swamp has linux mint
Re: Building terragear
Posted: Wed May 11, 2016 2:19 pm
by IAHM-COL
swamp.. if you want to give me ssh access (and sudo power) [FEAR!!]... then I will be happy to take a look (as ^ SHM said).
The error output right there suggests NO CMAKE installed. so that's weird.
But option #2 is:
Is cmake in your executable path?
my output is
Re: Building terragear
Posted: Wed May 11, 2016 8:56 pm
by swamp
/usr/bin/cmake
Re: Building terragear
Posted: Wed May 11, 2016 9:00 pm
by IAHM-COL
Then that's good :S
the answer of your compiler comes to a surprise to me so far.
but try this
change
for
And see if the response is the same