Re: linker error while building fgrun
Frederic Bouvier <[email protected]> Fri, 11 Nov 2011 08:58:32 +0100 (CET)
| Newsgroups | gmane.games.flightgear.general |
|---|---|
| Message-ID | <ddb607bf-48d6-473d-991a-88b4e6d6691e@zimbra59-e10.priv.proxad.net> |
What is the version of fgrun you are trying to compile ? ----- Mail original ----- > what i have to do now? > On Thu, Nov 10, 2011 at 7:37 PM, Frederic Bouvier < > [email protected] > wrote: > > It looks like that osgText.lib is missing from the link command > > line. > > > > I got if from 3rd party which was downloaded from git > > > > > > On Thu, Nov 10, 2011 at 4:51 PM, Frederic Bouvier < > > > [email protected] > wrote: > > > > > > > Hi, > > > > > > > > > > from where did you get OpenSceneGraph ? Did you compile it > > > > yourself > > > > or does it come from the 3rd party file ? > > > > > > > > > > It looks like that osgText.lib is missing from the link command > > > > line. > > > > > > > > > > -Fred > > > > > > > > > > > hi, > > > > > > > > > > > > > > > successfully i compiled the fgrun without error but now i > > > > > have > > > > > a > > > > > new > > > > > problem while linking, here these are the errors i got > > > > > > > > > > > > > > > 1>------ Build started: Project: fgrun, Configuration: > > > > > Release > > > > > Win32 > > > > > ------ > > > > > > > > > > > > > > > 1>Linking... > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2019: unresolved > > > > > external > > > > > symbol > > > > > "__declspec(dllimport) public: void __thiscall > > > > > osgText::TextBase::update(void)" > > > > > (__imp_?update@TextBase@osgText@@QAEXXZ) referenced in > > > > > function > > > > > "private: virtual void __thiscall > > > > > SGText::UpdateCallback::operator()(class osg::Node *,class > > > > > osg::NodeVisitor *)" > > > > > (??RUpdateCallback@SGText@@EAEXPAVNode@osg@@PAVNodeVisitor@3@@Z) > > > > > > > > > > > > > > > 1>SimGear.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_?setText@TextBase@osgText@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) > > > > > referenced in function "private: virtual void __thiscall > > > > > SGText::UpdateCallback::operator()(class osg::Node *,class > > > > > osg::NodeVisitor *)" > > > > > (??RUpdateCallback@SGText@@EAEXPAVNode@osg@@PAVNodeVisitor@3@@Z) > > > > > > > > > > > > > > > 1>SimGear.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_?createUTF8EncodedString@String@osgText@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) > > > > > referenced in function "private: virtual void __thiscall > > > > > SGText::UpdateCallback::operator()(class osg::Node *,class > > > > > osg::NodeVisitor *)" > > > > > (??RUpdateCallback@SGText@@EAEXPAVNode@osg@@PAVNodeVisitor@3@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2019: unresolved > > > > > external > > > > > symbol > > > > > "__declspec(dllimport) public: class osgText::String & > > > > > __thiscall > > > > > osgText::TextBase::getText(void)" > > > > > (__imp_?getText@TextBase@osgText@@QAEAAVString@2@XZ) > > > > > referenced > > > > > in > > > > > function "private: virtual void __thiscall > > > > > SGText::UpdateCallback::operator()(class osg::Node *,class > > > > > osg::NodeVisitor *)" > > > > > (??RUpdateCallback@SGText@@EAEXPAVNode@osg@@PAVNodeVisitor@3@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2019: unresolved > > > > > external > > > > > symbol > > > > > "__declspec(dllimport) public: void __thiscall > > > > > osgText::TextBase::setMaximumHeight(float)" > > > > > (__imp_?setMaximumHeight@TextBase@osgText@@QAEXM@Z) > > > > > referenced > > > > > in > > > > > function "public: static class osg::Node * __cdecl > > > > > SGText::appendText(class SGPropertyNode const *,class > > > > > SGPropertyNode > > > > > *,class osgDB::Options const *)" > > > > > (?appendText@SGText@@SAPAVNode@osg@@PBVSGPropertyNode@@PAV4@PBVOptions@osgDB@@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2019: unresolved > > > > > external > > > > > symbol > > > > > "__declspec(dllimport) public: void __thiscall > > > > > osgText::TextBase::setMaximumWidth(float)" > > > > > (__imp_?setMaximumWidth@TextBase@osgText@@QAEXM@Z) referenced > > > > > in > > > > > function "public: static class osg::Node * __cdecl > > > > > SGText::appendText(class SGPropertyNode const *,class > > > > > SGPropertyNode > > > > > *,class osgDB::Options const *)" > > > > > (?appendText@SGText@@SAPAVNode@osg@@PBVSGPropertyNode@@PAV4@PBVOptions@osgDB@@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2019: unresolved > > > > > external > > > > > symbol > > > > > "__declspec(dllimport) public: void __thiscall > > > > > osgText::TextBase::setLayout(enum osgText::TextBase::Layout)" > > > > > (__imp_?setLayout@TextBase@osgText@@QAEXW4Layout@12@@Z) > > > > > referenced > > > > > in function "public: static class osg::Node * __cdecl > > > > > SGText::appendText(class SGPropertyNode const *,class > > > > > SGPropertyNode > > > > > *,class osgDB::Options const *)" > > > > > (?appendText@SGText@@SAPAVNode@osg@@PBVSGPropertyNode@@PAV4@PBVOptions@osgDB@@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2019: unresolved > > > > > external > > > > > symbol > > > > > "__declspec(dllimport) public: void __thiscall > > > > > osgText::TextBase::setAlignment(enum > > > > > osgText::TextBase::AlignmentType)" > > > > > (__imp_?setAlignment@TextBase@osgText@@QAEXW4AlignmentType@12@@Z) > > > > > referenced in function "public: static class osg::Node * > > > > > __cdecl > > > > > SGText::appendText(class SGPropertyNode const *,class > > > > > SGPropertyNode > > > > > *,class osgDB::Options const *)" > > > > > (?appendText@SGText@@SAPAVNode@osg@@PBVSGPropertyNode@@PAV4@PBVOptions@osgDB@@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2019: unresolved > > > > > external > > > > > symbol > > > > > "__declspec(dllimport) public: void __thiscall > > > > > osgText::TextBase::setDrawMode(unsigned int)" > > > > > (__imp_?setDrawMode@TextBase@osgText@@QAEXI@Z) referenced in > > > > > function "public: static class osg::Node * __cdecl > > > > > SGText::appendText(class SGPropertyNode const *,class > > > > > SGPropertyNode > > > > > *,class osgDB::Options const *)" > > > > > (?appendText@SGText@@SAPAVNode@osg@@PBVSGPropertyNode@@PAV4@PBVOptions@osgDB@@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2019: unresolved > > > > > external > > > > > symbol > > > > > "__declspec(dllimport) public: void __thiscall > > > > > osgText::TextBase::setAxisAlignment(enum > > > > > osgText::TextBase::AxisAlignment)" > > > > > (__imp_?setAxisAlignment@TextBase@osgText@@QAEXW4AxisAlignment@12@@Z) > > > > > referenced in function "public: static class osg::Node * > > > > > __cdecl > > > > > SGText::appendText(class SGPropertyNode const *,class > > > > > SGPropertyNode > > > > > *,class osgDB::Options const *)" > > > > > (?appendText@SGText@@SAPAVNode@osg@@PBVSGPropertyNode@@PAV4@PBVOptions@osgDB@@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2019: unresolved > > > > > external > > > > > symbol > > > > > "__declspec(dllimport) public: void __thiscall > > > > > osgText::TextBase::setKerningType(enum osgText::KerningType)" > > > > > (__imp_?setKerningType@TextBase@osgText@@QAEXW4KerningType@2@@Z) > > > > > referenced in function "public: static class osg::Node * > > > > > __cdecl > > > > > SGText::appendText(class SGPropertyNode const *,class > > > > > SGPropertyNode > > > > > *,class osgDB::Options const *)" > > > > > (?appendText@SGText@@SAPAVNode@osg@@PBVSGPropertyNode@@PAV4@PBVOptions@osgDB@@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2019: unresolved > > > > > external > > > > > symbol > > > > > "__declspec(dllimport) public: void __thiscall > > > > > osgText::TextBase::setFontResolution(unsigned int,unsigned > > > > > int)" > > > > > (__imp_?setFontResolution@TextBase@osgText@@QAEXII@Z) > > > > > referenced > > > > > in > > > > > function "public: static class osg::Node * __cdecl > > > > > SGText::appendText(class SGPropertyNode const *,class > > > > > SGPropertyNode > > > > > *,class osgDB::Options const *)" > > > > > (?appendText@SGText@@SAPAVNode@osg@@PBVSGPropertyNode@@PAV4@PBVOptions@osgDB@@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2019: unresolved > > > > > external > > > > > symbol > > > > > "__declspec(dllimport) public: void __thiscall > > > > > osgText::TextBase::setCharacterSize(float,float)" > > > > > (__imp_?setCharacterSize@TextBase@osgText@@QAEXMM@Z) > > > > > referenced > > > > > in > > > > > function "public: static class osg::Node * __cdecl > > > > > SGText::appendText(class SGPropertyNode const *,class > > > > > SGPropertyNode > > > > > *,class osgDB::Options const *)" > > > > > (?appendText@SGText@@SAPAVNode@osg@@PBVSGPropertyNode@@PAV4@PBVOptions@osgDB@@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2019: unresolved > > > > > external > > > > > symbol > > > > > "__declspec(dllimport) public: __thiscall > > > > > osgText::Text::Text(void)" > > > > > (__imp_??0Text@osgText@@QAE@XZ) referenced in function > > > > > "public: > > > > > static class osg::Node * __cdecl SGText::appendText(class > > > > > SGPropertyNode const *,class SGPropertyNode *,class > > > > > osgDB::Options > > > > > const *)" > > > > > (?appendText@SGText@@SAPAVNode@osg@@PBVSGPropertyNode@@PAV4@PBVOptions@osgDB@@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2001: unresolved > > > > > external > > > > > symbol > > > > > "public: virtual void __thiscall > > > > > osgText::Text::setThreadSafeRefUnref(bool)" > > > > > (?setThreadSafeRefUnref@Text@osgText@@UAEX_N@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2001: unresolved > > > > > external > > > > > symbol > > > > > "public: virtual class osg::Object * __thiscall > > > > > osgText::Text::cloneType(void)const " > > > > > (?cloneType@Text@osgText@@UBEPAVObject@osg@@XZ) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2001: unresolved > > > > > external > > > > > symbol > > > > > "public: virtual class osg::Object * __thiscall > > > > > osgText::Text::clone(class osg::CopyOp const &)const " > > > > > (?clone@Text@osgText@@UBEPAVObject@osg@@ABVCopyOp@4@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2001: unresolved > > > > > external > > > > > symbol > > > > > "public: virtual bool __thiscall > > > > > osgText::Text::isSameKindAs(class > > > > > osg::Object const *)const " > > > > > (?isSameKindAs@Text@osgText@@UBE_NPBVObject@osg@@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2001: unresolved > > > > > external > > > > > symbol > > > > > "public: virtual char const * __thiscall > > > > > osgText::Text::libraryName(void)const " > > > > > (?libraryName@Text@osgText@@UBEPBDXZ) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2001: unresolved > > > > > external > > > > > symbol > > > > > "public: virtual char const * __thiscall > > > > > osgText::Text::className(void)const " > > > > > (?className@Text@osgText@@UBEPBDXZ) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2001: unresolved > > > > > external > > > > > symbol > > > > > "public: virtual void __thiscall > > > > > osgText::Text::resizeGLObjectBuffers(unsigned int)" > > > > > (?resizeGLObjectBuffers@Text@osgText@@UAEXI@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2001: unresolved > > > > > external > > > > > symbol > > > > > "public: virtual void __thiscall > > > > > osgText::Text::releaseGLObjects(class osg::State *)const " > > > > > (?releaseGLObjects@Text@osgText@@UBEXPAVState@osg@@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2001: unresolved > > > > > external > > > > > symbol > > > > > "public: virtual class osg::BoundingBoxImpl<class osg::Vec3f> > > > > > __thiscall osgText::TextBase::computeBound(void)const " > > > > > (?computeBound@TextBase@osgText@@UBE?AV?$BoundingBoxImpl@VVec3f@osg@@@osg@@XZ) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2001: unresolved > > > > > external > > > > > symbol > > > > > "public: virtual void __thiscall > > > > > osgText::Text::drawImplementation(class osg::RenderInfo > > > > > &)const > > > > > " > > > > > (?drawImplementation@Text@osgText@@UBEXAAVRenderInfo@osg@@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2001: unresolved > > > > > external > > > > > symbol > > > > > "public: virtual bool __thiscall > > > > > osgText::Text::supports(class > > > > > osg::PrimitiveFunctor const &)const " > > > > > (?supports@Text@osgText@@UBE_NABVPrimitiveFunctor@osg@@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2001: unresolved > > > > > external > > > > > symbol > > > > > "public: virtual bool __thiscall > > > > > osgText::Text::supports(class > > > > > osg::Drawable::ConstAttributeFunctor const &)const " > > > > > (?supports@Text@osgText@@UBE_NABVConstAttributeFunctor@Drawable@osg@@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2001: unresolved > > > > > external > > > > > symbol > > > > > "public: virtual bool __thiscall > > > > > osgText::Text::supports(class > > > > > osg::Drawable::AttributeFunctor const &)const " > > > > > (?supports@Text@osgText@@UBE_NABVAttributeFunctor@Drawable@osg@@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2001: unresolved > > > > > external > > > > > symbol > > > > > "public: virtual void __thiscall osgText::Text::accept(class > > > > > osg::PrimitiveFunctor &)const " > > > > > (?accept@Text@osgText@@UBEXAAVPrimitiveFunctor@osg@@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2001: unresolved > > > > > external > > > > > symbol > > > > > "public: virtual void __thiscall osgText::Text::accept(class > > > > > osg::Drawable::ConstAttributeFunctor &)const " > > > > > (?accept@Text@osgText@@UBEXAAVConstAttributeFunctor@Drawable@osg@@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2001: unresolved > > > > > external > > > > > symbol > > > > > "public: virtual void __thiscall osgText::Text::setFont(class > > > > > std::basic_string<char,struct std::char_traits<char>,class > > > > > std::allocator<char> > const &)" > > > > > (?setFont@Text@osgText@@UAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2001: unresolved > > > > > external > > > > > symbol > > > > > "public: virtual void __thiscall osgText::Text::setFont(class > > > > > osg::ref_ptr<class osgText::Font>)" > > > > > (?setFont@Text@osgText@@UAEXV?$ref_ptr@VFont@osgText@@@osg@@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2001: unresolved > > > > > external > > > > > symbol > > > > > "public: virtual void __thiscall osgText::Text::setFont(class > > > > > osgText::Font *)" (?setFont@Text@osgText@@UAEXPAVFont@2@@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2001: unresolved > > > > > external > > > > > symbol > > > > > "protected: virtual void __thiscall > > > > > osgText::Text::computePositions(unsigned int)const " > > > > > (?computePositions@Text@osgText@@MBEXI@Z) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2001: unresolved > > > > > external > > > > > symbol > > > > > "protected: virtual void __thiscall > > > > > osgText::Text::computeGlyphRepresentation(void)" > > > > > (?computeGlyphRepresentation@Text@osgText@@MAEXXZ) > > > > > > > > > > > > > > > 1>SimGear.lib(SGText.obj) : error LNK2019: unresolved > > > > > external > > > > > symbol > > > > > "__declspec(dllimport) protected: virtual __thiscall > > > > > osgText::Text::~Text(void)" (__imp_??1Text@osgText@@MAE@XZ) > > > > > referenced in function "protected: virtual void * __thiscall > > > > > osgText::Text::`scalar deleting destructor'(unsigned int)" > > > > > (??_GText@osgText@@MAEPAXI@Z) > > > > > > > > > > > > > > > 1>E:\fgrun\fgrun\msvc\9.0\Win32\Release\fgrun.exe : fatal > > > > > error > > > > > LNK1120: 35 unresolved externals > > > > > > > > > > > > > > > 1>Build log was saved at > > > > > "file://e:\fgrun\fgrun\msvc\9.0\Win32\Release\BuildLog.htm" > > > > > > > > > > > > > > > 1>fgrun - 36 error(s), 0 warning(s) > > > > > > > > > > > > > > > ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 > > > > > skipped > > > > > ========== > > > > > > > > > > > > > > > how to rectify it.. > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > Thanks and Regards, > > > > > > > > > > > > > > > Balaji Veeraiyan > > > > > > > > > > > > > > > Executive Trainee-Aerospace > > > > > > > > > > > > > > > L & T - I E S > > > > > > > > > > > > > > > Bangalore - 560066, INDIA > > > > > > > > > > > > > > > Mob: +91 74 1118 7025 > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > > > > > > > > RSA(R) Conference 2012 > > > > > > > > > > > > > > > Save $700 by Nov 18 > > > > > > > > > > > > > > > Register now > > > > > > > > > > > > > > > http://p.sf.net/sfu/rsa-sfdev2dev1 > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > > > > > > > > Flightgear-users mailing list > > > > > > > > > > > > > > > [email protected] > > > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/flightgear-users > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > > > RSA(R) Conference 2012 > > > > > > > > > > Save $700 by Nov 18 > > > > > > > > > > Register now > > > > > > > > > > http://p.sf.net/sfu/rsa-sfdev2dev1 > > > > > > > > > > _______________________________________________ > > > > > > > > > > Flightgear-users mailing list > > > > > > > > > > [email protected] > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/flightgear-users > > > > > > > > > -- > > > > > > Thanks and Regards, > > > > > > Balaji Veeraiyan > > > > > > Executive Trainee-Aerospace > > > > > > L & T - I E S > > > > > > Bangalore - 560066, INDIA > > > > > > Mob: +91 74 1118 7025 > > > > > > ------------------------------------------------------------------------------ > > > > > > RSA(R) Conference 2012 > > > > > > Save $700 by Nov 18 > > > > > > Register now > > > > > > http://p.sf.net/sfu/rsa-sfdev2dev1 > > > > > > _______________________________________________ > > > > > > Flightgear-users mailing list > > > > > > [email protected] > > > > > > https://lists.sourceforge.net/lists/listinfo/flightgear-users > > > > > ------------------------------------------------------------------------------ > > > RSA(R) Conference 2012 > > > Save $700 by Nov 18 > > > Register now > > > http://p.sf.net/sfu/rsa-sfdev2dev1 > > > _______________________________________________ > > > Flightgear-users mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/flightgear-users > > -- > Thanks and Regards, > Balaji Veeraiyan > Executive Trainee-Aerospace > L & T - I E S > Bangalore - 560066, INDIA > Mob: +91 74 1118 7025 > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Flightgear-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/flightgear-users ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Flightgear-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-users