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

Jump to navigation Jump to search
(→‎Required software: More details on getting QT.)
(One intermediate revision by the same user not shown)
Line 23: Line 23:
{{code|git clone https://git.code.sf.net/p/flightgear/fgdata data}}
{{code|git clone https://git.code.sf.net/p/flightgear/fgdata data}}


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. There is no advantage to doing that -- it only takes longer.
{{code|git clone https://git.code.sf.net/p/flightgear/windows-3rd-party windows-3rd-party}}
 
[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)]


OSG is so unreliable at building and linking properly that I would very strongly recommend you to use the pre-built version: download this folder, and copy the <tt>archive/install/msvc140-64/OpenSceneGraph</tt> folder into the directory structure shown below.
OSG is so unreliable at building and linking properly that I would very strongly recommend you to use the pre-built version: download this folder, and copy the <tt>archive/install/msvc140-64/OpenSceneGraph</tt> folder into the directory structure shown below.
Line 34: Line 30:


After downloading these, I would suggest assembling a folder structure as below:
After downloading these, I would suggest assembling a folder structure as below:
== FGMeta Style Directory Tree ==
On Windows, assumptions on the directory structure are made to automate the discovery of dependencies. This recommended directory structure is described below. Clicking the links allows you to download pre-built parts. If you do not use the recommended structure you will need to enter paths by hand and some parts may not input correctly.
<tt>
: FlightGearBuild / </tt> (Main root directory) <tt>
:: windows-3rd-party-deps /
:: flightgear-git / </tt> (FlightGear sources) <tt>
:: simgear-git / </tt> (SimGear sources) <tt>
:: flightgear-build / </tt> (Create this empty for now, will be used by cmake) <tt>
:: simgear-built / </tt> (Create this empty for now, will be used by cmake) <tt>
:: install / </tt> (Directory where you will install the built binaries to)
::: FlightGear /
:::: data / </tt> (FGDATA only. Bin / lib folder will be created by the build process) <tt>
::: msvc-140 /
:::: OpenSceneGraph / </tt>(Pre-built OSG) <tt>
::: SimGear / </tt> (create this empty for now, subfolders will be created by build process)


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

edits

Navigation menu