Hi Alan, 

What I passed was a full command line build... 
no GUI...

Carbax, what Alan is suggesting here is good... 

In the build-fg folder do -

build-fg> cmake-gui . (note this dot, '.')

and the CMake GUI should load... 

Or you can load the cmake GUI from the ICON, and 
point it to the source - D:\FG2\flightgear, and 
the build - D:\FG2\build-fg...

This GUI will allow you to click [ Configure ], and 
then you can check what it finds regarding the OSG 
libraries..

You can make sure it finds the OSG libraries BEFORE 
doing the [ Generate ] step...

If [ Generate ] is successful... if not or still 
some other problem, advise...

Now you can load flightgear.sln into MSVC10, switch 
to the Release build, and as Alan points out, open the 
properties of the fgfs project, and MAKE SURE there are 
a big bunch of osg libraries in the Link properties...

If there are then you can press F7 to build it within 
the MSVC10 GUI... and fgfs should build, and link ;=))

Make sure you switch to Release... Do not try to build 
the Debug since you do not have the Debug components...

This does NOT answer why the command line usage FAILED, 
but should get you to a successful build in the MSVC10 
IDE ;=))

Regards,
Geoff.

On Sat, 2012-08-11 at 18:00 +0100, Alan Teeder wrote:
> Run Cmake again for the flightgear project.
> 
> You should see correct (e.g. d:\fg2\install\msvc100\OpenSceneGraph\include) 
> for all of the  OSGxx_INCLUDE_DIR entries, and (e.g. 
> d:\fg2\install\msvc100\OpenSceneGraph\lib\osgxx.lib) for each of the 
> OSGxx_LIBRARY_DIR entries.
> 
> Then do CMAKE Configure and Generate, followed by MSVC  build project.
> 
> As a check make sure that the OSG libraries are included in the fgfs linker 
> project command line. (see fgfs properties)
> 
> -----Original Message----- 
> From: M. Carbax
> Sent: Saturday, August 11, 2012 5:41 PM
> To: FlightGear developers discussions
> Subject: Re: [Flightgear-devel] Error building FG on Windows (linking)
> 
> Hi Fred:
> 
> I have the recommended directory structure so is
> d:\fg2\install\msvc100\OpenSceneGraph, and there the three
> subdirectories bin, include and lib.
> 
> 
> Thanks,



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to