[osg-submissions] example fixes for Solaris

Robert Osfield robert.osfield at gmail.com
Fri Jan 18 12:07:03 PST 2008


Hi Andy,

The submission came through, just been working full out on VPB.  I'm
just returning to my submission inbox now.

Robert.

On Jan 18, 2008 8:02 PM, Andy Skinner <Andy.Skinner at mathworks.com> wrote:
> People mentioned mailing list issues yesterday.  Did my suggested fix
> for some examples for Solaris come through?  These were simple include
> file additions.  If not, I'll send it again.
>
>
> Today I'm having a new problem that happens as I link our app with OSG
> 2.3.2 on Solaris.  I didn't have a problem compiling OSG itself.
>
> I'm having trouble with osg::ClipNode::setLocalStateSetModes(unsigned)
> not being found in linking.  I think it is because the input argument is
> const in the .cpp file, but not in the header.
>
> The thing being passed into setLocalStateSetModes should resolve as an
> unsigned int.  I think you could either change ClipNode.cpp to not
> define it with const, or ClipNode to add the const.  I'm not attaching
> the change, because I did the latter as an experiment, but think the
> former (remove const from definition) might be right.
>
> andy
>
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>


More information about the osg-submissions mailing list