Board index FlightGear Support Compiling

Compiling for the complete novice

Building FlightGear from source, and in the need for help?

Compiling for the complete novice

Postby MIG29pilot » Fri Oct 16, 2015 5:16 pm

Hi!
As the name of this topic, my past posts, and the next few words suggest, I am a complete amateur as far as all this compiling and git business is concerned. To begin compiling FlightGear (as a hopeless novice) what should I do first? I have started to read the wiki articles about it, but I am unsure which one to read first, and it would be nice to have some tips from some more experienced and knowledgeable chaps.
Thanks!

edit: Are there any special abilities or skill I need to have before I start compiling?
User avatar
MIG29pilot
 
Posts: 1465
Joined: Tue May 19, 2015 5:03 pm
Location: 6 feet under Snow
Callsign: MIG29pilot
Version: 2020.1.3
OS: Windows 10

Re: Compiling for the complete novice

Postby Hooray » Fri Oct 16, 2015 5:35 pm

what to read/do, depends mainly on your operating system (OS) and your background - in general, Windows-based users will probably want to try the Superbuild first:

http://wiki.flightgear.org/Superbuild_on_Windows
http://wiki.flightgear.org/Superbuild
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Compiling for the complete novice

Postby MIG29pilot » Wed Oct 28, 2015 5:21 pm

Just attempted to compile with CMake, setting the source code location as C:/Users/MEMEME/Documents/Flightgear stuff/simgear10-28-2015/flightgear-simgear-1a752d28a4815ef40670f04a7b967dcaf485a3fd/3rdparty, where CMakelists.txt is. I got back,
Code: Select all
The C compiler identification is unknown
The CXX compiler identification is unknown
CMake Error in CMakeLists.txt:
  No CMAKE_C_COMPILER could be found.



CMake Error in CMakeLists.txt:
  No CMAKE_CXX_COMPILER could be found.



CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.4)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

Configuring incomplete, errors occurred!
See also "C:/Users/MEMEME/Documents/FlightGear 3.7.0/CMakeFiles/CMakeFiles/CMakeOutput.log".
See also "C:/Users/MEMEME/Documents/FlightGear 3.7.0/CMakeFiles/CMakeFiles/CMakeError.log".

What did I do wrong?
User avatar
MIG29pilot
 
Posts: 1465
Joined: Tue May 19, 2015 5:03 pm
Location: 6 feet under Snow
Callsign: MIG29pilot
Version: 2020.1.3
OS: Windows 10

Re: Compiling for the complete novice

Postby Hooray » Wed Oct 28, 2015 7:12 pm

you need a C++ compiler
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Compiling for the complete novice

Postby MIG29pilot » Wed Oct 28, 2015 7:35 pm

Oh. Thanks
User avatar
MIG29pilot
 
Posts: 1465
Joined: Tue May 19, 2015 5:03 pm
Location: 6 feet under Snow
Callsign: MIG29pilot
Version: 2020.1.3
OS: Windows 10


Return to Compiling

Who is online

Users browsing this forum: No registered users and 1 guest