Have the same problem with /MT build under vs2008, winXP:
Code: >------ Build started: Project: osgText, Configuration: Release Win32 ------ 1>Linking... 1>osgDB.lib(osgDB.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::flush(void)" (?fl...@?$basic_ostream@du?$char_tra...@d@std@@@std@@qaeaa...@xz) already defined in DefaultFont.obj 1>osgDB.lib(osgDB.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::put(char)" (?...@?$basic_ostream@du?$char_tra...@d@std@@@std@@qaeaa...@d@Z) already defined in DefaultFont.obj 1>osgDB.lib(osgDB.dll) : error LNK2005: "public: void __thiscall std::basic_ostream<char,struct std::char_traits<char> >::_Osfx(void)" (?_o...@?$basic_ostream@du?$char_tra...@d@std@@@std@@QAEXXZ) already defined in DefaultFont.obj 1>osgDB.lib(osgDB.dll) : error LNK2005: "public: void __thiscall std::basic_ios<char,struct std::char_traits<char> >::setstate(int,bool)" (?setst...@?$basic_ios@du?$char_tra...@d@std@@@std@@qaex...@z) already defined in DefaultFont.obj 1>osgDB.lib(osgDB.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(class std::basic_ostream<char,struct std::char_traits<char> > & (__cdecl*)(class std::basic_ostream<char,struct std::char_traits<char> > &))" (??6?$basic_ostr...@du?$char_traits@d...@std@@@std@@qaeaa...@p6aaav01@AAV01@@z...@z) already defined in DefaultFont.obj 1>osgDB.lib(osgDB.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)" (??6?$basic_ostr...@du?$char_traits@d...@std@@@std@@qaeaa...@h@Z) already defined in Glyph.obj 1>osgDB.lib(osgDB.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(void const *)" (??6?$basic_ostr...@du?$char_traits@d...@std@@@std@@qaeaa...@pbx@Z) already defined in TextNode.obj 1> Creating library D:\dev\local\WinXP32-vs2008\Sources\Release\osg\2.9.9_1\build\lib\Release\osgText.lib and object D:\dev\local\WinXP32-vs2008\Sources\Release\osg\2.9.9_1\build\lib\Release\osgText.exp 1>D:\dev\local\WinXP32-vs2008\Sources\Release\osg\2.9.9_1\build\bin\Release\osgText.dll : fatal error LNK1169: one or more multiply defined symbols found 1>Build log was saved at "file://d:\dev\local\WinXP32-vs2008\Sources\Release\osg\2.9.9_1\build\src\osgText\osgText.dir\Release\BuildLog.htm" 1>osgText - 8 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 5 up-to-date, 0 skipped ========== ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=33052#33052 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

