Hi Martin,

I have changed the iterator in question to const_iterator, things
still compile under Linux, but I can only hope that it fixes things
under Solaris.

Could you do a svn update and let me know how you get on.

Robert.

On 6/5/07, Martin Spott <[EMAIL PROTECTED]> wrote:
"Robert Osfield" wrote:
> On 6/5/07, Martin Spott <[EMAIL PROTECTED]> wrote:

> > "/usr/local/src/OpenSceneGraph/include/osgManipulator/Dragger", line 55: Error: The operation "const 
std::list<std::pair<std::vector<osg::Node*>, osg::Vec3f> >::iterator == 
std::list<std::pair<std::vector<osg::Node*>, osg::Vec3f> >::const_iterator" is illegal.
> > 1 Error(s) and 45 Warning(s) detected.
> > make[2]: *** 
[src/osgManipulator/CMakeFiles/osgManipulator.dir/CommandManager.o] Error 1
>
> I have removed the const at the end of the completed() method,
> osgManipulator still compiles fine at my end, and hopefully will be
> fixed at yours too.  Could you do an svn update and let me know how
> you get on.

Hmmm, I guess you fixed that one but the same error occurs at other
places as well:

/opt/SUNWspro/bin/CC  -xO3 -xtarget=ultra2 -xautopar -xprefetch=auto  
-DosgManipulator_EXPORTS   -KPIC -I/usr/local/src/OpenSceneGraph/include   
-DOSGMANIPULATOR_LIBRARY -o 
src/osgManipulator/CMakeFiles/osgManipulator.dir/Dragger.o -c 
/usr/local/src/OpenSceneGraph/src/osgManipulator/Dragger.cpp
"/usr/local/src/OpenSceneGraph/src/osgManipulator/Dragger.cpp", line 30: Error: The operation "const 
std::list<std::pair<std::vector<osg::Node*>, osg::Vec3f> >::iterator != 
std::list<std::pair<std::vector<osg::Node*>, osg::Vec3f> >::const_iterator" is illegal.
1 Error(s) and 44 Warning(s) detected.
make[2]: *** [src/osgManipulator/CMakeFiles/osgManipulator.dir/Dragger.o] Error 
1


Martin.
--
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to