Follow the instructions at http://wiki.flightgear.org/Building_using_CMake_-_Windows. Build Simgear first, then Flightgear. It is important to have the same version of both simgear and flightgear.
Most folk on this list are probably building version 2.8.0 or 2.9. 0 at the moment. 2.8 is about to be released. 2.9 is in development. These are available on git. -----Original Message----- From: M. Carbax Sent: Tuesday, August 07, 2012 8:40 PM To: FlightGear developers discussions Subject: Re: [Flightgear-devel] Error building FG on Windows (linking) Hi Alan: Thanks for your help: Do you mean compile simgear with MSYS (for instance) and then flightgear with MSVC10? 2012/8/7 Alan Teeder <ajtee...@v-twin.org.uk>: > Try a cmake of simgear from outside of MSVC, followed by a clean + build > of > simgear. That fixed it for me last week. > > -----Original Message----- > From: M. Carbax > Sent: Tuesday, August 07, 2012 7:56 PM > To: flightgear-devel@lists.sourceforge.net > Subject: [Flightgear-devel] Error building FG on Windows (linking) > > Hello: > > Probably is already solved and documented but I couldn't find the > solution for a week, > > The problem is: > > > 27>sgenvironment.lib(precipitation.obj) : error LNK2019: unresolved > external symbol "__declspec(dllimport) public: void __thiscall > osgParticle::PrecipitationEffect::setCellSize(class osg::Vec3f const > &)" > (__imp_?setCellSize@PrecipitationEffect@osgParticle@@QAEXABVVec3f@osg@@@Z) > referenced in function "public: bool __thiscall > SGPrecipitation::update(void)" (?update@SGPrecipitation@@QAE_NXZ) > > 27>D:\fg2\projects\msvc100\FlightGear\src\Main\Release\fgfs.exe : > fatal error LNK1120: 1707 unresolved externals > > > > When I try to build under MSVC 10 Express OSG 3.0.1 and FG and SG 2.6.0 > > > > Someone could tell em where can I find how to solve it? > > > Many 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 > > > ------------------------------------------------------------------------------ > 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 ------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------ 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