User:Legoboyvdlp/Building using CMake - Windows: Difference between revisions

Jump to navigation Jump to search
(→‎Required software: Update required software to 2020)
Line 9: Line 9:
== Obtaining source ==
== Obtaining source ==
{{Main article|FlightGear and Git}}
{{Main article|FlightGear and Git}}
Throughout this article it is assumed that you've already set up git clones of the various source repositories (FlightGear, SimGear, data...).
Throughout this article it is assumed that you have set up git clones of the various source repositories (FlightGear, SimGear, data...).
Using an organized directory (see below) will help significantly.
 
The commands to run are:
 
{{code|git clone https://git.code.sf.net/p/flightgear/simgear simgear-git}}
 
{{code|git clone https://git.code.sf.net/p/flightgear/flightgear flightgear-git}}
 
{{code|git clone https://git.code.sf.net/p/flightgear/fgdata data}}
 
The FGMETA scripts are optional but will help.
 
I would encourage people to access third party dependencies and OSG from Jenkins: you can build them if you wish, but it really is not needed.
 
[http://build.flightgear.org:8080/job/3rdParty-Win/lastSuccessfulBuild/artifact/3rdParty.x64/*zip*/3rdParty.x64.zip prebuilt dependencies for 64 bit Windows (.zip)]
 
[http://build.flightgear.org:8080/job/3rdParty-Win/lastSuccessfulBuild/artifact/boost/*zip*/boost.zip prebuilt Boost library (.zip)]
 
Building OSG is so unreliable at building and linking properly that I would very strongly recommend you to use the pre-built version:
 
[http://build.flightgear.org:8080/job/OSG-Win/lastSuccessfulBuild/artifact/*zip*/archive.zip prebuilt OSG for Windows x64]
 
After downloading these, I would suggest assembling a folder structure as below:


== Directory tree ==
== Directory tree ==
842

edits

Navigation menu