Hi Mourad
Thanks for your answer but I already checked that. TsLib_MDdNET2010 is a
static lib but linked with /MD(d), like my application...
Vincent.
Le 20/04/2011 11:50, Mourad Boufarguine a écrit :
Hi Vincent,
On Mon, Apr 4, 2011 at 4:36 PM, Vincent Bourdier
<[email protected] <mailto:[email protected]>> wrote:
2>TsLib_MDdNET2010.lib(IwPoly.obj) : error LNK2005: "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 osgDBd.lib(osg65-osgDBd.dll)
2>TsLib_MDdNET2010.lib(IwBrepData.obj) : error LNK2005: "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 osgDBd.lib(osg65-osgDBd.dll)
It seems like a static/dynamic c++ runtime conflict. Check if osg and
TsLib_MDdNET2010 are linked against the same type of c++ runtime (both
with /MTd flag or both with /MDd flag)
Mourad
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org