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

Jump to navigation Jump to search
Line 94: Line 94:
# '''Building FlightGear'''
# '''Building FlightGear'''
#: Repeat the steps under Building Simgear, but change the <tt>SimGear</tt> paths to <tt>FlightGear</tt>.
#: Repeat the steps under Building Simgear, but change the <tt>SimGear</tt> paths to <tt>FlightGear</tt>.
## Notably, you will have to add <tt>\Dependencies\install\msvc140-64\Simgear</tt> to CMAKE_PREFIX_PATH. The two values are spaced by a semi-colon; for instance <tt>C:\Users\redpa\Documents\FlightGear\fg-from-scratch\fresh-build\Dependencies\install\msvc140-64\Simgear;C:/Users/redpa/Documents/FlightGear/fg-from-scratch/fresh-build/Dependencies/install/msvc140-64/OpenSceneGraph</tt>
## Notably, you will have to link Simgear and QT5 to CMAKE_PREFIX_PATH ''in addition to'' OSG (as with Simgear). To do this, insert the directory values with a semi-colon to separate them. for instance <tt>SGPATH;QT5PATH;OSGPATH</tt>.
### Simgear: <tt>\Dependencies\install\msvc140-64\Simgear</tt>
### QT5: <tt>C:/Qt/5.15.0/msvc2019_64</tt> (adjust to match your QT installation).
### My personal final path was: <tt>C:\Users\redpa\Documents\FlightGear\fg-from-scratch\fresh-build\Dependencies\install\msvc140-64\Simgear;C:/Users/redpa/Documents/FlightGear/fg-from-scratch/fresh-build/Dependencies/install/msvc140-64/OpenSceneGraph;C:/Qt/5.15.0/msvc2019_64</tt>
# Enjoy!
# Enjoy!


842

edits

Navigation menu