Hi,
I was looking at: http://www.openscenegraph.org/index.php?page=UserGuides.Plugins and trying to use: osg::ref_ptr<Image> image = osgDB::readImageFile("lz.rgb"); to eventually load a bmp file. I'm getting the following compile errors: c:\src\MocuTree\MapFlex\MapFlex3D\MapWindow.cpp(1756): error C2262: 'image' : cannot be destroyed c:\src\MocuTree\MapFlex\MapFlex3D\MapWindow.cpp(1756): error C2065: 'Image' : undeclared identifier c:\src\MocuTree\MapFlex\MapFlex3D\MapWindow.cpp(1756): error C2955: 'osg::ref_ptr' : use of class template requires template argument list c:\osg_VS2003\OpenSceneGraph\include\osg\ref_ptr(82) : see declaration of 'osg::ref_ptr' c:\src\MocuTree\MapFlex\MapFlex3D\MapWindow.cpp(1756): error C2955: 'osg::ref_ptr' : use of class template requires template argument list c:\osg_VS2003\OpenSceneGraph\include\osg\ref_ptr(82) : see declaration of 'osg::ref_ptr' c:\src\MocuTree\MapFlex\MapFlex3D\MapWindow.cpp(1756): error C2514: 'osg::ref_ptr' : class has no constructors c:\osg_VS2003\OpenSceneGraph\include\osg\ref_ptr(82) : see declaration of 'osg::ref_ptr' It seems the major problem is that it cannot recognize the "Image" data type, but I am using: #include <osg/Image> at the top of my program. Any ideas? Thanks! -Bryan
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

