From a client trying to build 2.9.7 on Solaris 10, 64-bit:


"OpenSceneGraph/src/osg/GL2Extensions.cpp", line 2161: Error: Cannot assign 
unsigned char*
to std::string  without "std::string::operator=(const std::string &)";.
"OpenSceneGraph/src/osg/GL2Extensions.cpp", line 2178: Error: Cannot assign 
unsigned char*
to std::string  without "std::string::operator=(const std::string &)";.
"OpenSceneGraph/src/osg/GL2Extensions.cpp", line 2197: Error: Formal argument 
name of type
const unsigned char* in call to 
osg::GL2Extensions::glGetAttribLocation(unsigned, const
unsigned char*) const is being passed const char*.
"OpenSceneGraph/src/osg/GL2Extensions.cpp", line 2220: Error: Formal argument 
name of type
const unsigned char* in call to 
osg::GL2Extensions::glGetFragDataLocation(unsigned, const
unsigned char*) const is being passed const char*.


  This is apparently a known problem in Solaris' OpenGL, as shown by the Qt 
patch cited below:
http://qt.gitorious.org/~nordellj/qt/qt-chloride/commit/6b628fb9754629cc8cdd5718edec296b02ab3b0e?diffmode=sidebyside


  I'm afraid a specific cast is probably the only way to fix it (which is what 
the Qt
folks did). I don't think there's any way to disable compiling of this code 
through CMake
configuration.

  I can try to make a fix for this, but I'm not at the Solaris box myself, and 
I wanted to
check with the opinions of the rest of the group first. Anyone else experienced 
this?


-- 
Chris 'Xenon' Hanson, omo sanza lettere                  Xenon AlphaPixel.com
PixelSense Landsat processing now available! http://www.alphapixel.com/demos/
"There is no Truth. There is only Perception. To Perceive is to Exist." - Xen
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to