Hi Florian,
You can get around the fatal error by adding /FORCE: MULTIPLE to your
linker options.
This seems to be some odd VS2010 and beyond conformance problem.
Basically I get this error in almost any application linking to osgDB
and using fstream. It is somehow related to the derived stream class and
its virtual functions.
cheers
Sebastian
Hi,
I am now running against the same issue.
I checked to see that everything is compiled with /MD.
I'm trying to build osg 3.2.0 x64 with VS2012
- 3rd-Party Binaries from:
www.helleboreconsulting.com/index.php/open-source/openscenegraph
- OSG built by myself
- my project runs into:
Code:
4>* CIL library *(* CIL module *) : error LNK2005: "public: void __cdecl
std::basic_ifstream<char,struct std::char_traits<char> >::close(void)"
(?close@?$basic_ifstream@DU?$char_traits@D@std@@@std@@QEAAXXZ) already defined in
osgDBrd.lib(osg100-osgDBrd.dll)
4>* CIL library *(* CIL module *) : error LNK2005: "public: void __cdecl
std::basic_ofstream<char,struct std::char_traits<char> >::close(void)"
(?close@?$basic_ofstream@DU?$char_traits@D@std@@@std@@QEAAXXZ) already defined in
osgDBrd.lib(osg100-osgDBrd.dll)
4>..\..\..\setup\bin\sphinx-api3d-lib.dll : fatal error LNK1169: one or more
multiply defined symbols found
Interestingly - it is again osgDB...
Regards,
Florian
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=56501#56501
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org