Board index FlightGear Support Compiling

compiling Flightgear under windows using cmake  Topic is solved

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

Re: compiling Flightgear under windows using cmake

Postby Hooray » Wed Jul 02, 2014 2:18 pm

chandraharika wrote in Wed Jul 02, 2014 1:28 pm:Thanku very much I got the GUI by running fgrun.exe I put all required dll's in fgrun folder.

those DLLs shouldn't have to be put into the fgrun directory, but into the binaries directory of fgfs, i.e. where you can find fgfs.exe
chandraharika wrote in Wed Jul 02, 2014 1:28 pm:My aim is to understand the flightgear module completely and I should be able to integrate any flight model with flightgear and integrate osgearth

Regarding custom FDMs, see:
http://wiki.flightgear.org/Property_Tre ... ernal_FDMs
http://wiki.flightgear.org/Property_Tre ... _FGNetCtrl
osgEarth is a different matter, and either requires installing the patch set provided by poweroftwo or alternatively to build osgEarth from source, according to the instructions in the osgEarth thread.

fgrun isn't stricly needed to build/run FG though.
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 Flightgear under windows using cmake

Postby Saga » Mon Aug 11, 2014 3:48 pm

It's done, I just published a more detailled wiki page about superbuild on windows.
I hope I didn't make too much mistakes.
Host and maintainer of fgcom.flightgear.org.
Saga
 
Posts: 69
Joined: Tue Mar 04, 2014 3:52 pm
Location: Loire-Atlantique, France
Callsign: F-G0z
Version: Git next
OS: Win7, ArchLinux x64

Re: compiling Flightgear under windows using cmake

Postby salma abtin » Sat Sep 13, 2014 5:25 pm

Hi
I am trying to build flightgear-3.0.0 on windows with visual studio
I built successfully simgear-3.0.0 http://wiki.flightgear.org/Building_using_CMake_-_Windows
but when i do that works for flightgear3-.0.0 cmake show me this error:


CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
SIMGEAR_SCENE_LIBRARY_RELEASE (ADVANCED)
linked by target "fgfs" in directory E:/build/flightgear-3.0.0/src/Main



what can i do now? :?
salma abtin
 
Posts: 16
Joined: Sun Jul 14, 2013 12:03 pm

Re: compiling Flightgear under windows using cmake

Postby Hooray » Sat Sep 13, 2014 5:38 pm

did you build a headless version of FG ?
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 Flightgear under windows using cmake

Postby salma abtin » Sat Sep 13, 2014 6:19 pm

i downloaded source codes from this page:
ftp://ftp.de.flightgear.org/pub/fgfs/Source/
salma abtin
 
Posts: 16
Joined: Sun Jul 14, 2013 12:03 pm

Re: compiling Flightgear under windows using cmake

Postby salma abtin » Sun Sep 14, 2014 12:04 pm

hey!
what can i do now?
this path flightgear-3.0.0/src/Main
has not fgfs.cxx and fgfs.hxx in some vergens.
I copy these files from vergen 0.8.0 and paste in this path but error remaind one more time!:(
salma abtin
 
Posts: 16
Joined: Sun Jul 14, 2013 12:03 pm

Re: compiling Flightgear under windows using cmake

Postby rreiter » Sun Sep 14, 2014 11:16 pm

@salma abtin: I know you are trying to compile 3.0.0 but you may want to follow Saga's excellent up-to-date instructions
for building a whole current development version windows superbuild instead:
http://wiki.flightgear.org/Superbuild_on_Windows

I'm not trying to misdirect you, just saying it might be your most direct route to build all the projects and obtain an executable.
Once you're comfortable with that and how to use cmake/git, then try building FlightGear in other ways or other versions.

edited: addressed to '@salma abtin' (missed in original post)
rreiter
 
Posts: 35
Joined: Thu Jan 16, 2014 5:33 am
Location: Newmarket, Ontario Canada
OS: Windows

Previous

Return to Compiling

Who is online

Users browsing this forum: No registered users and 6 guests