Hi, Just to try it, took the suggested advice - in my build-fg folder... I found I had to click [ Configure ] twice... before I got a clear board... that is no RED lines... this is normal...
Looking down the list I can see a LOT of -NOTFOUND, but they are ALL like OSGXX_LIBRARY_DEBUG-NOTFOUND which is to be expected... There are no DEBUG parts to be found. You have to build from source to get those, although I am building up a set of these in - http://downloads.fgx.ch/WIN32 See say openscenegraph-msvc100-dbg-1.zip... and you need all the other '-dbg' items as well... later I will try to put these 'downloads' in better order, and group some of them into a single zips... But in the CMake GUI each of the OSGXX_INCLUDE_DIR and OSGXXX_LIBRARY are all correctly filled in with, in my case - like - C:/FG/16-q/install/msvc100/OpenSceneGraph/lib/osgXXX.lib Now pressing [ Generate ] and it says 'Generating done' Now I close the GUI, and load MSVC10 onto build-fg\flightgear.sln... Switching to 'Release' and loading the fgfs Properties, expanding Linker -> Input -> Additional Dependencies -> Edit I can scan down a big list of libraries ;=)) including all the simgear libraries and the osg libraries, and lots more... [ Cancel ] out of here... Pressing F7, and it all built and linked... without problem... of course, as usual lots, Lots and LOTS of 'warnings'... but ends with ======== Build: 16 succeeded, 0 failed, 0 up-to-date, 3 skipped ====== Still puzzled why the full command line approach FAILED in your case ;=(( But certainly hope you have more success in the CMake and then MSVC10 GUI approach ;=)) Advise if still problems... HTH, Regards, Geoff. -------- Forwarded Message -------- > From: Geoff McLane <ubu...@geoffair.info> > To: FlightGear developers discussions > <flightgear-devel@lists.sourceforge.net> > Subject: Re: [Flightgear-devel] Error building FG on Windows (linking) > Date: Sat, 11 Aug 2012 19:31:08 +0200 > > 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