Board index FlightGear Support Compiling

flight gear source code for windows

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

flight gear source code for windows

Postby csudharsan » Mon Jun 08, 2009 9:29 am

Hi all,

We were trying to compile the flightgear source code in windows platform. During the compilation, it shows large number of files were missing. even after placing some of the files, still it was showing error " cannot open the file ... etc."
if anybody had compiled the source code in windows, kindly provide me the directory structure and installation procedure on windows platform and also the location to download the source code for windows platform.

with thanks,
C.Sudharsan.
csudharsan
 
Posts: 10
Joined: Mon Jun 08, 2009 6:12 am

Re: flight gear source code for windows

Postby Hooray » Mon Jun 08, 2009 5:33 pm

What version of FlightGear are you trying to compile?
And what instructions did you follow so far?
Did you use the FlightGear wiki?

Have you looked at: http://wiki.flightgear.org/index.php/Bu ... _-_Windows

The most comprehensive instructions for building recent versions of FlightGear on windows, are available at http://geoffmclane.com/fg
Specificially, you'll want to check out http://geoffmclane.com/fg/fgfs-047.htm

Make sure to also satisfy all prerequisites, see: http://geoffmclane.com/fg/prereq.htm

You will not be able to compile FlightGear without also having all its dependencies satisfied, first.

In the section titled "Not Recommended!!!", you can also download the complete source code: http://geoffmclane.com/fg/zips/fgfs-full-03.zip
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: 11309
Joined: Tue Mar 25, 2008 8:40 am

Re: flight gear source code for windows

Postby csudharsan » Tue Jun 09, 2009 11:02 am

Dear Hooray,

Thanks for your kind reply..

Let me explain the steps followed and the results i got.

i don't know how to configure the CVS server. so i downloaded each module as a zip file format and tried to compile .

Downloaded Files are :

1. FlightGear-1.9.1.tar
2. FlightGear-data-1.9.0.tar
3. SimGear-1.9.1.tar.gz
4. plib-1.8.5.tar.gz
5. boost_1_38.rar
6. freeglut-2.2.0.tar.gz
7. freealut-1.1.0-bin.zip
8. OpenSceneGraph-2.8.1.zip

After downloading the files , i unzipped using 7zip and placed all the contents in c:\FlightGear.

9. Downloaded osg2.2.0_vs80_setup_2007-10-08.exe and installed in the path c:\Program Files\

My Folder Structure looked like this ..

C:\ FlightGear\
FlightGear
simgear
pthreads
PLIB
OpenSceneGraph
lpng1237
freeglut
freealut-1.1.0-bin

i tried to compile the code. but it gave the error as fatal error " C1083: Cannot open include file: 'plib/sg.h'"

Then i downloaded the complete code from the link http://geoffmclane.com/fg/zips/fgfs-full-03.zip provided by you and tried to compile . it also gave an error

as


1>c:\fgfs-full-03\flightgear\source\src\traffic\schedflight.cxx(41) : fatal error C1083: Cannot open include file: 'config.h': No such file or directory
1>Schedule.cxx
1>c:\fgfs-full-03\flightgear\source\src\traffic\schedule.cxx(25) : fatal error C1083: Cannot open include file: 'config.h': No such file or directory
1>TrafficMgr.cxx


i don't know how to proceed further.. waiting for your reply...
csudharsan
 
Posts: 10
Joined: Mon Jun 08, 2009 6:12 am

Re: flight gear source code for windows

Postby TYothers » Tue Mar 01, 2011 6:07 pm

I am unsure about your errors with "config.h", but when following the directions from the tutorial, it gives a directory for plib that the projects don't reference. My solution was to cut/paste the plib directory and put it into "3rdParty/include", but you can also edit the projects by adding a new input directory of "../../.."
TYothers
 
Posts: 21
Joined: Wed Feb 09, 2011 7:52 pm

Re: flight gear source code for windows

Postby HHS » Tue Mar 01, 2011 6:10 pm

by csudharsan on Tue Jun 09, 2009 12:02 pm


Nearly two years old..... :roll:
Up, up and away
User avatar
HHS
Retired
 
Posts: 3624
Joined: Thu Jul 19, 2007 8:09 am
Version: GIT

Re: flight gear source code for windows

Postby TYothers » Tue Mar 01, 2011 6:29 pm

Doh!

Here I was just tryin' to help. >.>
TYothers
 
Posts: 21
Joined: Wed Feb 09, 2011 7:52 pm

Re: flight gear source code for windows

Postby manosur » Wed Nov 16, 2011 11:48 am

Hi
I'm trying to compile FG on window XP with MSVC2008 but there are some error.
Anybody can help me?

best regards
manosur
 
Posts: 15
Joined: Wed Oct 05, 2011 3:22 pm


Return to Compiling

Who is online

Users browsing this forum: No registered users and 1 guest