Board index FlightGear Development

Help using CMake to create visual studio

FlightGear is opensource, so you can be the developer. In the need for help on anything? We are here to help you.
Forum rules
Core development is discussed on the official FlightGear-Devel development mailing list.

Bugs can be reported in the bug tracker.

Help using CMake to create visual studio

Postby ASB131 » Wed May 02, 2018 4:43 pm

hello, im having some issues when using cmake to create the visual studio project, i'm on windows and its just not working for me, i know there is a guide to follow but i'm not really sure what this part is referring to

Code: Select all
${MSVC_3RDPARTY_ROOT} /
      3rdParty /                 ( includes plib, fltk, zlib, libpng,
                                   libjpeg, libtiff, freetype, libsvn,
                                   gdal, ... )
         bin /
         include /
         lib /
      3rdParty.x64 /             ( 64 bit version )
         ...
      boost_1_44_0 /
         boost /
      install /
         msvc100 /               ( for VS2010 32 bits, or msvc90,
                                   msvc90-64 or msvc100-64 for VS2008 32,
                                   VS2008 64 and VS2010 64 )
            OpenSceneGraph /     ( OSG CMake install )
               bin /
               include /
               lib /
            SimGear /
               include /
               lib /


if someone could help me it would be very much appreciated

Thanks in advanced Alex S
ASB131
 
Posts: 4
Joined: Wed May 02, 2018 4:25 pm

Re: Help using CMake to create visual studio

Postby ASB131 » Fri May 04, 2018 12:49 pm

is it possible someone could use cmake to build the visual studio project file and then send it my way? sorry for the inconvenience
ASB131
 
Posts: 4
Joined: Wed May 02, 2018 4:25 pm

Re: Help using CMake to create visual studio

Postby Gijs » Sun May 06, 2018 11:36 am

Hi Alex,

Are you following the instructions at http://wiki.flightgear.org/Building_usi ... _-_Windows? Your list seems to be slightly different... Please post a link to your guide if it's some other than the one I linked.

The part you quoted is showing you the directory structure that you need to set up. MSVC_3RDPARTY_ROOT is a placeholder for the "main" directory in which you'll put all other directories. You can create this folder in a location of your choice. The FlightGear and SimGear subdirectories are containing the sources of both (I take it you know how to use Git?). The other directories may require some downloading and/or installation. Just follow the links for them and unzip the packages to that directory or install the software.

You'd really have to run cmake yourself as it needs to find lots of dependencies on your machine and they may be in different locations/versions than on someone else's. But don't worry, we can guide you through it. It'd help if you could post specific questions about steps you don't get ;-)

Cheers,
Gijs
Airports: EHAM, EHLE, KSFO
Aircraft: 747-400
User avatar
Gijs
Moderator
 
Posts: 9544
Joined: Tue Jul 03, 2007 3:55 pm
Location: Delft, the Netherlands
Callsign: PH-GYS
Version: Git
OS: Windows 10


Return to Development

Who is online

Users browsing this forum: No registered users and 13 guests