From: Vivian M. <viv...@li...> - 2006-04-01 20:10:05
|
Fred > -----Original Message----- > From: fli...@li... [mailto:flightgear- > dev...@li...] On Behalf Of Frederic Bouvier > Sent: 01 April 2006 18:50 > To: fli...@li... > Subject: Re: [Flightgear-devel] compile with MSVC 2005 (the same as = msvc > 8?) >=20 > Frederic Bouvier a =E9crit : > > Vivian Meazza a =E9crit : > > > >> Olaf Flebbe > >> > >> > >> > >> > >>>> Cygwin last time, so I wonder if anyone has a quick and dirty = howto > for > >>>> compiling flightgear and its dependencies in MSVS 2005? I looked = at > the > >>>> wiki, but I think there are some main problems that I don't = really > >>>> > >>>> > >>> Have a look at http://www.oflebbe/oflebbe/FlightGear > >>> > >>> BTW: The patches for SimGear/FlightGear are in CVS now. > >>> > >>> Olaf > >>> > >>> > >>> > >> Looks like good work, unfortunately FG does not compile here atm = using > the > >> project files in cvs, and the above link is broken. SG seems to = compile > OK. > >> The errors I'm getting are: > >> > >> Error 1 error PRJ0019: A tool returned an error code from > "Creating > >> Config.h" FlightGearLib > >> Error 7 error C2381: 'exit' : redefinition; __declspec(noreturn) > >> differs c:\program files\microsoft visual studio 8\vc\include\stdlib.h > 406 > >> Error 8 error C3861: 'exit': identifier not found > >> c:\cygwin\flightgear-cvs\source\src\main\fg_os.cxx 159 > >> > >> > > > > Hi Vivian, > > > > try with this version of glut.h : > > ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32/MSVC/glut.h.zip That version of glut.h works > > > > BTW: doo you download the Platform SDK ? It is mandatory. > > >=20 Yes, otherwise Simgear, plib etc. wouldn't have compiled? =20 > For the first error, there is a typo in the Pre Build event of the > Flightgear project. There must be config.h-msvc8 and not = config.h.msvc8. > This is why the tool ( copy ) returns an error. > So, how do I get to that to change it - it doesn't seem to appear in PreBuildEvents so I guess I'm looking in the wrong place??? Thanks for the help so far Vivian |