Quoting Bryan Berg <[EMAIL PROTECTED]>:
> osg::ref_ptr<Image> image = osgDB::readImageFile("lz.rgb");
>...
> 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

Are you 'using namespace osg'?  If not then you'll have to specify the namespace
for Image as 'osg::ref_ptr<osg::Image> image...'

/ulrich
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to