I had the same problem with VS2010 and there are two ways to get around it.
1. Use /FORCE:multiple 2. Create a typdef: Code: #pragma once // Compatibility layer for VS2010 bug. The compiler tries to link the same // multiple symbols in for the OSG fstream classes which inherit from the STL // classes. The workaround is to use OSG fstream classes in all places rather // than STL. #ifdef WIN32 // Replace STL fstream with OSG fstream #include <osgDB/fstream> #define ifstream osgDB::ifstream #define ofstream osgDB::ofstream #else #include <fstream> #define ifstream std::ifstream #define ofstream std::ofstream Cheers, Braden ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=56510#56510 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

