Vivian,
Thanks! You are right, I did find the parent directories for FGGyro and
AIGroundVehicle and now their errors went away. But I could not find
one for SGText which is in the directory SimGear\simgear\scene\model,
so I put it in the project SimGear Lib_sgmodel, mainly because it had
SGReaderWriterXML.cpp which appeared in the link error message.
Now it compiles a lot more code but I get a 33 link error messages
relating to "simgear_d.lib(SGText.obj) when building fgviewer:
9>------ Build started: Project: fgviewer, Configuration: Debug Win32 ------
9>Linking...
9>LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other
libs; use /NODEFAULTLIB:library
9>simgear_d.lib(SGText.obj) : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall osgText::TextBase::update(void)"
(__imp_?upd...@textbase@osgText@@QAEXXZ) referenced in function "private:
virtual void __thiscall SGText::UpdateCallback::operator()(class osg::Node
*,class osg::NodeVisitor *)"
(??rupdatecallb...@sgtext@@eaexpavn...@osg@@pavnodevisi...@3@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall osgText::TextBase::setText(class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char>
> const &)"
(__imp_?sett...@textbase@osgText@@qaexabv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@@Z)
referenced in function "private: virtual void __thiscall
SGText::UpdateCallback::operator()(class osg::Node *,class osg::NodeVisitor *)"
(??rupdatecallb...@sgtext@@eaexpavn...@osg@@pavnodevisi...@3@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > __thiscall
osgText::String::createUTF8EncodedString(void)const "
(__imp_?createutf8encodedstr...@string@osgText@@qbe?av?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@XZ)
referenced in function "private: virtual void __thiscall
SGText::UpdateCallback::operator()(class osg::Node *,class osg::NodeVisitor *)"
(??rupdatecallb...@sgtext@@eaexpavn...@osg@@pavnodevisi...@3@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: class osgText::String & __thiscall
osgText::TextBase::getText(void)"
(__imp_?gett...@textbase@osgText@@qaeaavstr...@2@XZ) referenced in function
"private: virtual void __thiscall SGText::UpdateCallback::operator()(class
osg::Node *,class osg::NodeVisitor *)"
(??rupdatecallb...@sgtext@@eaexpavn...@osg@@pavnodevisi...@3@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgText::TextBase::setMaximumHeight(float)"
(__imp_?setmaximumhei...@textbase@osgText@@qa...@z) referenced in function
"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@readerwri...@osgdb@@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgText::TextBase::setMaximumWidth(float)"
(__imp_?setmaximumwi...@textbase@osgText@@qa...@z) referenced in function
"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@readerwri...@osgdb@@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgText::TextBase::setLayout(enum osgText::TextBase::Layout)"
(__imp_?setlay...@textbase@osgText@@qaexw4lay...@12@@Z) referenced in function
"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@readerwri...@osgdb@@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgText::TextBase::setAlignment(enum osgText::TextBase::AlignmentType)"
(__imp_?setalignm...@textbase@osgText@@qaexw4alignmentt...@12@@Z) referenced in
function "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@readerwri...@osgdb@@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgText::TextBase::setDrawMode(unsigned int)"
(__imp_?setdrawm...@textbase@osgText@@qa...@z) referenced in function "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@readerwri...@osgdb@@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgText::TextBase::setAxisAlignment(enum osgText::TextBase::AxisAlignment)"
(__imp_?setaxisalignm...@textbase@osgText@@qaexw4axisalignm...@12@@Z)
referenced in function "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@readerwri...@osgdb@@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgText::TextBase::setKerningType(enum osgText::KerningType)"
(__imp_?setkerningt...@textbase@osgText@@qaexw4kerningt...@2@@Z) referenced in
function "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@readerwri...@osgdb@@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgText::TextBase::setFontResolution(unsigned int,unsigned int)"
(__imp_?setfontresolut...@textbase@osgText@@qae...@z) referenced in function
"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@readerwri...@osgdb@@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgText::TextBase::setCharacterSize(float,float)"
(__imp_?setcharacters...@textbase@osgText@@qae...@z) referenced in function
"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@readerwri...@osgdb@@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall osgText::Text::setFont(class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char>
> const &)"
(__imp_?setf...@text@osgText@@qaexabv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@@Z)
referenced in function "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@readerwri...@osgdb@@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall osgText::Text::Text(void)"
(__imp_??0t...@osgtext@@q...@xz) referenced in function "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@readerwri...@osgdb@@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2001: unresolved external symbol
"public: virtual void __thiscall osgText::Text::setThreadSafeRefUnref(bool)"
(?setthreadsaferefun...@text@osgText@@uae...@z)
9>simgear_d.lib(SGText.obj) : error LNK2001: unresolved external symbol
"public: virtual class osg::Object * __thiscall
osgText::Text::cloneType(void)const "
(?clonet...@text@osgText@@ubepavobj...@osg@@XZ)
9>simgear_d.lib(SGText.obj) : error LNK2001: unresolved external symbol
"public: virtual class osg::Object * __thiscall osgText::Text::clone(class
osg::CopyOp const &)const "
(?cl...@text@osgText@@ubepavobj...@osg@@abvcop...@4@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2001: unresolved external symbol
"public: virtual bool __thiscall osgText::Text::isSameKindAs(class osg::Object
const *)const " (?issamekin...@text@osgText@@ube_npbvobj...@osg@@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2001: unresolved external symbol
"public: virtual char const * __thiscall osgText::Text::libraryName(void)const
" (?libraryn...@text@osgText@@UBEPBDXZ)
9>simgear_d.lib(SGText.obj) : error LNK2001: unresolved external symbol
"public: virtual char const * __thiscall osgText::Text::className(void)const "
(?classn...@text@osgText@@UBEPBDXZ)
9>simgear_d.lib(SGText.obj) : error LNK2001: unresolved external symbol
"public: virtual void __thiscall osgText::Text::resizeGLObjectBuffers(unsigned
int)" (?resizeglobjectbuff...@text@osgText@@ua...@z)
9>simgear_d.lib(SGText.obj) : error LNK2001: unresolved external symbol
"public: virtual void __thiscall osgText::Text::releaseGLObjects(class
osg::State *)const " (?releaseglobje...@text@osgText@@ubexpavst...@osg@@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2001: unresolved external symbol
"public: virtual class osg::BoundingBoxImpl<class osg::Vec3f> __thiscall
osgText::TextBase::computeBound(void)const "
(?computebo...@textbase@osgText@@ube?av?$boundingboxi...@vvec3f@osg@@@osg@@XZ)
9>simgear_d.lib(SGText.obj) : error LNK2001: unresolved external symbol
"public: virtual void __thiscall osgText::Text::drawImplementation(class
osg::RenderInfo &)const "
(?drawimplementat...@text@osgText@@ubexaavrenderi...@osg@@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2001: unresolved external symbol
"public: virtual bool __thiscall osgText::Text::supports(class
osg::PrimitiveFunctor const &)const "
(?suppo...@text@osgText@@ube_nabvprimitivefunc...@osg@@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2001: unresolved external symbol
"public: virtual bool __thiscall osgText::Text::supports(class
osg::Drawable::ConstAttributeFunctor const &)const "
(?suppo...@text@osgText@@ube_nabvconstattributefunc...@drawable@osg@@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2001: unresolved external symbol
"public: virtual bool __thiscall osgText::Text::supports(class
osg::Drawable::AttributeFunctor const &)const "
(?suppo...@text@osgText@@ube_nabvattributefunc...@drawable@osg@@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2001: unresolved external symbol
"public: virtual void __thiscall osgText::Text::accept(class
osg::PrimitiveFunctor &)const "
(?acc...@text@osgText@@ubexaavprimitivefunc...@osg@@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2001: unresolved external symbol
"public: virtual void __thiscall osgText::Text::accept(class
osg::Drawable::ConstAttributeFunctor &)const "
(?acc...@text@osgText@@ubexaavconstattributefunc...@drawable@osg@@@Z)
9>simgear_d.lib(SGText.obj) : error LNK2001: unresolved external symbol
"protected: virtual void __thiscall osgText::Text::computePositions(unsigned
int)const " (?computepositi...@text@osgText@@mb...@z)
9>simgear_d.lib(SGText.obj) : error LNK2001: unresolved external symbol
"protected: virtual void __thiscall
osgText::Text::computeGlyphRepresentation(void)"
(?computeglyphrepresentat...@text@osgText@@MAEXXZ)
9>simgear_d.lib(SGText.obj) : error LNK2019: unresolved external symbol
"__declspec(dllimport) protected: virtual __thiscall
osgText::Text::~Text(void)" (__imp_??1t...@osgtext@@m...@xz) referenced in
function "protected: virtual void * __thiscall osgText::Text::`scalar deleting
destructor'(unsigned int)" (??_gt...@osgtext@@maep...@z)
9>C:\FG2\FlightGear\projects\VC90\Win32\Debug\fgviewer.exe : fatal error
LNK1120: 33 unresolved externals
9>Build log was saved at
"file://c:\FG2\FlightGear\projects\VC90\fgviewer\Win32\Debug\BuildLog.htm"
9>fgviewer - 34 error(s), 1 warning(
------------------------------------------------------------------------------
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