Allan
I know nothing about building on windows, but I have found installing osg
multiple times on linux can cause issues as it does not always un-install
cleanly, and the next install may not overwrite what is left behind. All is
nice till you try and compile against it. Especially if its a different
version.
It had it leave sym links and stuff behind, which fouls thing up when you
install a different version.
Just check you have not got anything left from previous installs. Maybe you
need to remove osg and make sure its clean then reinstall it. I guess it has
a log of there it puts things?
Others will know more about it from your printout it than I, but its worth
a check.
Harry
On Sat, Feb 12, 2011 at 6:28 PM, Alan Teeder <[email protected]> wrote:
> After many rebuilds of OSG, Simgear and Flightgear with the Cmake system I
> am still seeing a few warnings and errors at link time.
>
> Does anyone have any ideas please?
>
> TIA
>
> Alan
>
> ------ Build started: Project: fgfs, Configuration: Release Win32 ------
> osgDB.lib(osg69-osgDB.dll) : warning LNK4006: "public: void __thiscall
> std::basic_ifstream<char,struct std::char_traits<char> >::`vbase
> destructor'(void)"
> (??_D?$basic_ifstream@DU?$char_traits@D@std@@@std@@QAEXXZ) already defined
> in fgATCDCL.lib(ATCVoice.obj); second definition ignored
> osgDB.lib(osg69-osgDB.dll) : warning LNK4006: "public: void __thiscall
> std::basic_ifstream<char,struct std::char_traits<char> >::close(void)"
> (?close@?$basic_ifstream@DU?$char_traits@D@std@@@std@@QAEXXZ) already
> defined in fgATCDCL.lib(ATCVoice.obj); second definition ignored
> osgDB.lib(osg69-osgDB.dll) : warning LNK4006: "public: __thiscall
> std::basic_ifstream<char,struct std::char_traits<char>
> >::basic_ifstream<char,struct std::char_traits<char> >(char const
> *,int,int)" (??0?$basic_ifstream@DU?$char_traits@D@std@@@std@@QAE@PBDHH@Z)
> already defined in fgInstruments.lib(HUD.obj); second definition ignored
> osgDB.lib(osg69-osgDB.dll) : warning LNK4006: "public: void __thiscall
> std::basic_ofstream<char,struct std::char_traits<char> >::`vbase
> destructor'(void)"
> (??_D?$basic_ofstream@DU?$char_traits@D@std@@@std@@QAEXXZ) already defined
> in logger.obj; second definition ignored
> osgDB.lib(osg69-osgDB.dll) : warning LNK4006: "public: void __thiscall
> std::basic_ofstream<char,struct std::char_traits<char> >::close(void)"
> (?close@?$basic_ofstream@DU?$char_traits@D@std@@@std@@QAEXXZ) already
> defined in fgTraffic.lib(TrafficMgr.obj); second definition ignored
> osgDB.lib(osg69-osgDB.dll) : warning LNK4006: "public: __thiscall
> std::basic_ofstream<char,struct std::char_traits<char>
> >::basic_ofstream<char,struct std::char_traits<char> >(char const
> *,int,int)" (??0?$basic_ofstream@DU?$char_traits@D@std@@@std@@QAE@PBDHH@Z)
> already defined in logger.obj; second definition ignored
> Creating library C:/FlightGear/flightgear/src/Main/Release/fgfs.lib and
> object C:/FlightGear/flightgear/src/Main/Release/fgfs.exp
> sgmodel.lib(animation.obj) : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall osg::Object::setName(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (__imp_?setName@Object@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> referenced in function "public: __thiscall std::basic_ostream<char,struct
> std::char_traits<char> >::sentry::~sentry(void)"
> (??1sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@XZ)
> sgmodel.lib(SGReaderWriterXML.obj) : error LNK2001: unresolved external
> symbol "__declspec(dllimport) public: void __thiscall
> osg::Object::setName(class std::basic_string<char,struct
> std::char_traits<char>,class std::allocator<char> > const &)"
> (__imp_?setName@Object@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> sgtgdb.lib(obj.obj) : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall osg::Object::setName(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (__imp_?setName@Object@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> sgmodel.lib(particles.obj) : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall osg::Object::setName(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (__imp_?setName@Object@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> sgmodel.lib(modellib.obj) : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall osg::Object::setName(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (__imp_?setName@Object@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> sgmodel.lib(ModelRegistry.obj) : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall osg::Object::setName(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (__imp_?setName@Object@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> sgsky.lib(cloud.obj) : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall osg::Object::setName(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (__imp_?setName@Object@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> sgmaterial.lib(Effect.obj) : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall osg::Object::setName(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (__imp_?setName@Object@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> sgtgdb.lib(TileEntry.obj) : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall osg::Object::setName(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (__imp_?setName@Object@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> sgtgdb.lib(apt_signs.obj) : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall osg::Object::setName(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (__imp_?setName@Object@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> sgmaterial.lib(Effect.obj) : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall osg::Uniform::setName(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (__imp_?setName@Uniform@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> referenced in function "public: virtual void __thiscall
> simgear::UniformBuilder::buildAttribute(class simgear::Effect *,class
> simgear::Pass *,class SGPropertyNode const *,class
> simgear::SGReaderWriterXMLOptions const *)"
> (?buildAttribute@UniformBuilder@simgear@@UAEXPAVEffect@2@PAVPass@2
> @PBVSGPropertyNode@@PBVSGReaderWriterXMLOptions@2@@Z)
> sgmodel.lib(particles.obj) : error LNK2001: unresolved external symbol
> "public: virtual void __thiscall
> osgParticle::ParticleSystem::update(double)"
> (?update@ParticleSystem@osgParticle@@UAEXN@Z)
> sgmodel.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_?setFont@Text@osgText@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@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)
> C:\FlightGear\flightgear\src\Main\Release\fgfs.exe : fatal error LNK1120: 4
> unresolved externals
> ------ Build started: Project: fgviewer, Configuration: Release Win32
> ------
> osgDB.lib(osg69-osgDB.dll) : warning LNK4006: "public: void __thiscall
> std::basic_ofstream<char,struct std::char_traits<char> >::`vbase
> destructor'(void)"
> (??_D?$basic_ofstream@DU?$char_traits@D@std@@@std@@QAEXXZ) already defined
> in sgprops.lib(props_io.obj); second definition ignored
> osgDB.lib(osg69-osgDB.dll) : warning LNK4006: "public: __thiscall
> std::basic_ofstream<char,struct std::char_traits<char>
> >::basic_ofstream<char,struct std::char_traits<char> >(char const
> *,int,int)" (??0?$basic_ofstream@DU?$char_traits@D@std@@@std@@QAE@PBDHH@Z)
> already defined in sgprops.lib(props_io.obj); second definition ignored
> sgmodel.lib(particles.obj) : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall osg::Object::setName(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (__imp_?setName@Object@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> sgmodel.lib(ModelRegistry.obj) : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall osg::Object::setName(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (__imp_?setName@Object@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> sgmodel.lib(modellib.obj) : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall osg::Object::setName(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (__imp_?setName@Object@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> sgmodel.lib(SGReaderWriterXML.obj) : error LNK2001: unresolved external
> symbol "__declspec(dllimport) public: void __thiscall
> osg::Object::setName(class std::basic_string<char,struct
> std::char_traits<char>,class std::allocator<char> > const &)"
> (__imp_?setName@Object@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> sgmodel.lib(animation.obj) : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall osg::Object::setName(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (__imp_?setName@Object@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> sgmaterial.lib(Effect.obj) : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall osg::Object::setName(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (__imp_?setName@Object@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> referenced in function "public: virtual void __thiscall
> simgear::NameBuilder::buildAttribute(class simgear::Effect *,class
> simgear::Pass *,class SGPropertyNode const *,class
> simgear::SGReaderWriterXMLOptions const *)"
> (?buildAttribute@NameBuilder@simgear@@UAEXPAVEffect@2@PAVPass@2
> @PBVSGPropertyNode@@PBVSGReaderWriterXMLOptions@2@@Z)
> sgtgdb.lib(TileEntry.obj) : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall osg::Object::setName(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (__imp_?setName@Object@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> sgtgdb.lib(apt_signs.obj) : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall osg::Object::setName(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (__imp_?setName@Object@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> sgtgdb.lib(obj.obj) : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall osg::Object::setName(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (__imp_?setName@Object@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> sgmaterial.lib(Effect.obj) : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall osg::Uniform::setName(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (__imp_?setName@Uniform@osg@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@Z)
> referenced in function "public: virtual void __thiscall
> simgear::UniformBuilder::buildAttribute(class simgear::Effect *,class
> simgear::Pass *,class SGPropertyNode const *,class
> simgear::SGReaderWriterXMLOptions const *)"
> (?buildAttribute@UniformBuilder@simgear@@UAEXPAVEffect@2@PAVPass@2
> @PBVSGPropertyNode@@PBVSGReaderWriterXMLOptions@2@@Z)
> sgmodel.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_?setFont@Text@osgText@@QAEXABV?$basic_string@DU?$char_traits@D@std@
> @V?$allocator@D@2@@std@@@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)
> sgmodel.lib(particles.obj) : error LNK2001: unresolved external symbol
> "public: virtual void __thiscall
> osgParticle::ParticleSystem::update(double)"
> (?update@ParticleSystem@osgParticle@@UAEXN@Z)
> C:\FlightGear\flightgear\utils\fgviewer\Release\fgviewer.exe : fatal error
> LNK1120: 4 unresolved externals
> ------ Skipped Build: Project: INSTALL, Configuration: Release Win32 ------
> Project not selected to build for this solution configuration
> ------ Skipped Build: Project: uninstall, Configuration: Release
> Win32 ------
> Project not selected to build for this solution configuration
> ------ Skipped Build: Project: PACKAGE, Configuration: Release Win32 ------
> Project not selected to build for this solution configuration
> ========== Build: 0 succeeded, 2 failed, 33 up-to-date, 3 skipped
> ==========
>
>
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Flightgear-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>
--
Regards Harry
19b Jln Danau Poso
Sanur, Bali
80228
H +62 361 285629
M +62 812 7016328
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel