Hi Robert,
I followed your directions, but to no avail,
If I enable making of examples, even with the Release version instead of 
debug, I get the same compile error.

So I need a new gcc then?

As far as upgrading to 2.6 kernel, that will be a big project, and has 
been avoided so far, as I have a stable system.
I have never wiped and started fresh with a new distribution, and this 
Slackware version 7.0  is from 1999.
On the bright side, most of the requirements of dependency packages seem 
to already be up to date.

Looking instead at the error, it seems to be declaring a new variable, 
"position"
so probably a gcc problem, as I don't see how the kernel version would 
affect this error message.

I'll go back and look into compiling a new gcc, the last time I tried, 
it took a few days.

Stewart

Robert Osfield wrote:
> Hi Stewart,
>   
> The osgviewerSDL and osgviewerGLUT example will be compiled is you
> enable compilation of the examples and you have SDL or GLUT developer
> libraries installed.   If you do go on to install them just remove the
> CMakeCache.txt and then run ./configure once more, then run ccmake .
> to enable the build of the examples.
>
>
> FYI, To edit the compile options all you need to do is run:
>
>   ccmake .
>
> And it'll bring up a GUI within the console that you can browse and
> toggle the various options, use this in preference to trying to make
> sense of the CMakeCache.txt file.
>
>   
> For you own investigation I don't think debug will help too much so
> just stick with the release build.  The most likely route of the
> problems will be outwith the OSG, relating to the OpenGL driver and/or
> window manager.
>
> Checking your original post, you are using a 2.4.x kernel, which is
> pretty old now as in the gcc version.  Perhaps there are issues with
> mixing the NVidia OpenGL driver with an old setup.  Are chance you
> grab one of the latest Linux distributions, some of them are very
> slick, Linux has come a long way over the past few years.
>
>   
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to