Hi all,
No advices or ideas ? Am I the only one this this issue
Regards,
Vincent
Le 04/04/2011 17:36, Vincent Bourdier a écrit :
Hi all,
I've an issue concerning the std::ifstream in my application.
I know that I need to use osgDB::ifstream instead of std::ifstream and
I did everywhere in my code.
But, my project links with an other lib than OSG, and this library is
using std::ifstream and std::ofstream, and this results in thing like
that (using VS2010 and OSG 2.8.3) :
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)
Do you have any suggestion to fix this issue ?
Thanks for your help,
Regards,
Vincent.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org