[Flightgear-devel] Linking problems on Visual C++ 2005 Express Edition
Hi Guys, I've somehow managed to break my VC8 build of FG. I followed the instructions linked from the wiki using the 3rdparty-2006-11-25.zip and osg_ot_md.zip. This was working nicely a couple of weeks ago, so I _think_ my build system is OK. SimGear compiles quite happily, however building the FlightGear solution produces the error below. -- Build started: Project: FlightGear, Configuration: Release Win32 -- Linking... LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification Simgear.lib(animation.obj) : error LNK2019: unresolved external symbol public: __thiscall SGMaterialAnimation::SGMaterialAnimation(class SGPropertyNode const *,class SGPropertyNode *) (??0SGMaterialAnimation@@[EMAIL PROTECTED]@@PAV1@@Z) referenced in function public: static bool __cdecl SGAnimation::animate(class osg::Node *,class SGPropertyNode const *,class SGPropertyNode *) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@PBVSGPropertyNode@@PAV4@@Z) Release\FlightGear.exe : fatal error LNK1120: 1 unresolved externals Build log was saved at file://c:\Games\FlightGearOSG\FlightGear\projects\VC8\Release\BuildLog.htm FlightGear - 2 error(s), 1 warning(s) == Build: 0 succeeded, 1 failed, 3 up-to-date, 0 skipped == A couple of questions: - Is it still the case that the patched OSG that Mathias' produced around 11 November is still usable, or do I have to go to OSG CVS head ? - Am I just being thick and failing to put my SimGear libraries in the correct place after building them ? - Has anyone else seen a similar error ? Thanks -Stuart Send instant messages to your online friends http://uk.messenger.yahoo.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Linking problems on Visual C++ 2005 Express Edition
Hi Stuart, add simgear\scene\model\SGMaterialAnimation.cxx to your simgear project file. If you get an error message like your reported one, search for a *.c?? file with the required function and add it to the project file. Or: if you update via cvs look for new *.c?? files and add them. Hint: (probably you don't know this): you can add simgear, flightgear, flightgear-lib all together into one project-folder (don't know the english MS-name for this, in german it is Projektmappe), tell mscv the dependencies of these projects and build all the projects by one click. Maik Stuart Buchanan schrieb am 28.12.2006 20:56: Hi Guys, I've somehow managed to break my VC8 build of FG. I followed the instructions linked from the wiki using the 3rdparty-2006-11-25.zip and osg_ot_md.zip. This was working nicely a couple of weeks ago, so I _think_ my build system is OK. SimGear compiles quite happily, however building the FlightGear solution produces the error below. -- Build started: Project: FlightGear, Configuration: Release Win32 -- Linking... LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification Simgear.lib(animation.obj) : error LNK2019: unresolved external symbol public: __thiscall SGMaterialAnimation::SGMaterialAnimation(class SGPropertyNode const *,class SGPropertyNode *) (??0SGMaterialAnimation@@[EMAIL PROTECTED]@@PAV1@@Z) referenced in function public: static bool __cdecl SGAnimation::animate(class osg::Node *,class SGPropertyNode const *,class SGPropertyNode *) ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@PBVSGPropertyNode@@PAV4@@Z) Release\FlightGear.exe : fatal error LNK1120: 1 unresolved externals Build log was saved at file://c:\Games\FlightGearOSG\FlightGear\projects\VC8\Release\BuildLog.htm FlightGear - 2 error(s), 1 warning(s) == Build: 0 succeeded, 1 failed, 3 up-to-date, 0 skipped == A couple of questions: - Is it still the case that the patched OSG that Mathias' produced around 11 November is still usable, or do I have to go to OSG CVS head ? - Am I just being thick and failing to put my SimGear libraries in the correct place after building them ? - Has anyone else seen a similar error ? Thanks -Stuart Send instant messages to your online friends http://uk.messenger.yahoo.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Linking problems on Visual C++ 2005 Express Edition
--- Maik Justus wrote: Hi Stuart, add simgear\scene\model\SGMaterialAnimation.cxx to your simgear project file. If you get an error message like your reported one, search for a *.c?? file with the required function and add it to the project file. Or: if you update via cvs look for new *.c?? files and add them. That did the trick. Thanks -Stuart Send instant messages to your online friends http://uk.messenger.yahoo.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel