Building terragear

Need help getting your computer to behave? Need help installing or running FG? Need help compiling? This is your first place to start!
User avatar
swamp
Posts: 192
Joined: Sun Jan 10, 2016 1:55 am

Building terragear

Postby swamp » Wed May 11, 2016 8:48 am

I am hitting a brick wall at cmake. Maybe the instructions in the FG wiki page are not clear enough for me.

User avatar
swamp
Posts: 192
Joined: Sun Jan 10, 2016 1:55 am

Re: Building terragear

Postby swamp » Wed May 11, 2016 9:08 am

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".

User avatar
IAHM-COL
Posts: 6409
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: Building terragear

Postby IAHM-COL » Wed May 11, 2016 12:13 pm

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/
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?

User avatar
swamp
Posts: 192
Joined: Sun Jan 10, 2016 1:55 am

Re: Building terragear

Postby swamp » Wed May 11, 2016 1:11 pm

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

User avatar
SHM
Posts: 1960
Joined: Mon Sep 14, 2015 3:32 pm
Location: India

Re: Building terragear

Postby SHM » Wed May 11, 2016 1:15 pm

Do it for him via SSH ;)
FG Pilot (2011-2018)
Prepar3d (2015 - 2023)
MSFS2020 (2020 - )
Image

User avatar
IAHM-COL
Posts: 6409
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: Building terragear

Postby IAHM-COL » Wed May 11, 2016 1:48 pm

what is your OS?
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?

User avatar
SHM
Posts: 1960
Joined: Mon Sep 14, 2015 3:32 pm
Location: India

Re: Building terragear

Postby SHM » Wed May 11, 2016 2:09 pm

swamp has linux mint :)
FG Pilot (2011-2018)
Prepar3d (2015 - 2023)
MSFS2020 (2020 - )
Image

User avatar
IAHM-COL
Posts: 6409
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: Building terragear

Postby IAHM-COL » Wed May 11, 2016 2:19 pm

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?

Code: Select all

which cmake


my output is

Code: Select all

/usr/bin/cmake
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?

User avatar
swamp
Posts: 192
Joined: Sun Jan 10, 2016 1:55 am

Re: Building terragear

Postby swamp » Wed May 11, 2016 8:56 pm

/usr/bin/cmake

User avatar
IAHM-COL
Posts: 6409
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: Building terragear

Postby IAHM-COL » Wed May 11, 2016 9:00 pm

Then that's good :S

the answer of your compiler comes to a surprise to me so far.
but try this

change

Code: Select all

cmake [parameters...]


for

Code: Select all

/usr/bin/cmake [parameters..]


And see if the response is the same
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 6 guests