You need to include some recently added files to your projects.
FGGyro.cxx/hxx, AIGroundVehicle.cxx/hxx, SGText.cxx/hxx. The clue is in the
errors! That might make at least some of the problems go away.

 

HTH

 

Vivian

 

-----Original Message-----
From: Randall Green [mailto:randall.gr...@wright.edu] 
Sent: 10 September 2009 20:51
To: dFlightGear developers discussions
Subject: [Flightgear-devel] Compiling newest CVS FlightGear/SimGear
andgetting link errors

 

Hi all,

I'm compiling the newest CVS versions of FlightGear/SimGear and I'm

getting the following link errors:

 

Linking fgviewer, after this warning: 

LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other
libs; use /NODEFAULTLIB:library

4>simgear_d.lib(SGReaderWriterXML.obj) : error LNK2019: unresolved external
symbol "public: static class osg::Node * __cdecl SGText::appendText(class
SGPropertyNode const *,class SGPropertyNode *,class
osgDB::ReaderWriter::Options const *)"
(?appendt...@sgtext@@sapavn...@osg@@PBVSGPropertyNode@@p...@pbvoptions@Reade
rwri...@osgdb@@@Z) referenced in function
__catch$?sgLoad3DModel_internal@@yapavn...@osg@@abv?$basic_str...@du?$char_t
ra...@d@std@@v?$alloca...@d@2@@std@@pbvopti...@readerwriter@osgDB@@PAVSGProp
ertyNode@@@Z$0

And these 3 linking fgfs:

FGFCS.obj : error LNK2019: unresolved external symbol "public: __thiscall
JSBSim::FGGyro::FGGyro(class JSBSim::FGFCS *,class JSBSim::Element *)"
(??0fgg...@jsbsim@@q...@pavfgfcs@1...@pavelement@1@@Z) referenced in function
"public: bool __thiscall JSBSim::FGFCS::Load(class JSBSim::Element *,enum
JSBSim::FGFCS::SystemType)"
(?l...@fgfcs@JSBSim@@qae_npavelem...@2@w4systemt...@12@@Z)

I am using
<http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-2.8.
1/binaries/Windows/VisualStudio9/openscenegraph-all-2.8.1-win32-x86-vc90sp1-
Debug.zip> openscenegraph-all-2.8.1-win32-x86-vc90sp1-Debug.zip

3>AIManager.obj : error LNK2019: unresolved external symbol "public:
__thiscall FGAIGroundVehicle::FGAIGroundVehicle(void)"
(??0FGAIGroundVehicle@@q...@xz) referenced in function "public: void
__thiscall FGAIManager::processScenario(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(?processscena...@fgaimanager@@qaexabv?$basic_str...@du?$char_traits@d...@std@@
v?$alloca...@d@2@@std@@@Z)

3>simgear_d.lib(SGReaderWriterXML.obj) : error LNK2019: unresolved external
symbol "public: static class osg::Node * __cdecl SGText::appendText(class
SGPropertyNode const *,class SGPropertyNode *,class
osgDB::ReaderWriter::Options const *)"
(?appendt...@sgtext@@sapavn...@osg@@PBVSGPropertyNode@@p...@pbvoptions@Reade
rwri...@osgdb@@@Z) referenced in function
__catch$?sgLoad3DModel_internal@@yapavn...@osg@@abv?$basic_str...@du?$char_t
ra...@d@std@@v?$alloca...@d@2@@std@@pbvopti...@readerwriter@osgDB@@PAVSGProp
ertyNode@@@Z$0

3>C:\FG2\FlightGear\projects\VC90\Win32\Debug\fgfs.exe : fatal error
LNK1120: 3 unresolved externals

Any help will be apreciated.

Randy Green

 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to