Hi,

Working on window, I am trying to compil osg with /MT option instead of /MD
to avoid MV dependencies (*msvcr80.dll *for example).
With this option, some OSG component (osgText, osgTerrain, ....) do not
link.

It is possible to do it ? how ? (any suggestion would be a good beginning)

Thanks.

Regards,
   Vincent.

Compilation Log :

1>------ Début de la génération : Projet : osgText, Configuration : Release
Win32 ------
1>Compilation en cours...
1>Version.cpp
1>Text3D.cpp
1>Text.cpp
1>TextBase.cpp
1>FadeText.cpp
1>String.cpp
1>Font3D.cpp
1>Font.cpp
1>DefaultFont.cpp
1>Génération de code en cours...
1>Édition des liens en cours...
1>osgDB.lib(osg48-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) déjà
défini(e) dans DefaultFont.obj
1>osgDB.lib(osg48-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)" (?put@
?$basic_ostr...@du?$char_traits@d...@std@@@std@@qaeaa...@d@Z) déjà défini(e)
dans DefaultFont.obj
1>osgDB.lib(osg48-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) déjà défini(e)
dans DefaultFont.obj
1>osgDB.lib(osg48-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) déjà
défini(e) dans DefaultFont.obj
1>osgDB.lib(osg48-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) déjà défini(e) dans DefaultFont.obj
1>   Création de la bibliothèque
Z:\osg_2.6.1_MT_test\lib\Release\..\osgText.lib et de l'objet
Z:\osg_2.6.1_MT_test\lib\Release\..\osgText.exp
1>Z:\osg_2.6.1_MT_test\bin\Release\..\..\bin\osg48-osgText.dll : fatal error
LNK1169: un ou plusieurs symboles définis à différentes reprises ont été
rencontrés
1>Le journal de génération a été enregistré à l'emplacement
"file://z:\osg_2.6.1_MT_test\src\osgText\osgText.dir\Release\BuildLog.htm"
1>osgText - 6 erreur(s), 0 avertissement(s)
========== Génération : 0 a réussi, 1 a échoué, 0 mis à jour, 0 a été ignoré
==========
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to