[osg-users] ubuntu 7.04 compilation problem

Rafa Gaitan rafa.gaitan at gmail.com
Tue Sep 11 11:21:47 PDT 2007


Hi James,

An svn update should fix your problem... I had reported the same
problem a few hours before.. and now is fixed in the svn

Rafa.


On 9/11/07, James Dickson <james.dickson at gmail.com> wrote:
> I have been trying to compile OSG under ubuntu 7.04 and I am having some
> difficulties.
>
> Having run CMake and followed the instructions I then run make. In doing so
> I get the following error:
>
> james at james-laptop :~$ make
> Scanning dependencies of target OpenThreads
> [  0%] Building CXX object
> src/OpenThreads/pthreads/CMakeFiles/OpenThreads.dir/PThread.o
> [  0%] Building CXX object
> src/OpenThreads/pthreads/CMakeFiles/OpenThreads.dir/PThreadBarrier.o
> [  0%] Building CXX object
> src/OpenThreads/pthreads/CMakeFiles/OpenThreads.dir/PThreadCondition.o
> [  0%] Building CXX object
> src/OpenThreads/pthreads/CMakeFiles/OpenThreads.dir/PThreadMutex.o
> Linking CXX shared library ../../../lib/libOpenThreadsd.so
> [  0%] Built target OpenThreads
> Scanning dependencies of target osg
> [  0%] Building CXX object
> src/osg/CMakeFiles/osg.dir/AlphaFunc.o
> [  0%] Building CXX object
> src/osg/CMakeFiles/osg.dir/AnimationPath.o
> /home/james/Public/OpenSceneGraph/include/osg/Uniform:169:
> error: 'GL_SAMPLER_1D_ARRAY_EXT' was not declared in this scope
> /home/james/Public/OpenSceneGraph/include/osg/Uniform:170:
> error: 'GL_SAMPLER_2D_ARRAY_EXT' was not declared in this scope
> /home/james/Public/OpenSceneGraph/include/osg/Uniform:171:
> error: 'GL_SAMPLER_1D_ARRAY_SHADOW_EXT' was not declared in
> this scope
> /home/james/Public/OpenSceneGraph/include/osg/Uniform:172:
> error: 'GL_SAMPLER_2D_ARRAY_SHADOW_EXT' was not declared in
> this scope
> make[2]: *** [src/osg/CMakeFiles/osg.dir/AnimationPath.o]
> Error 1
> make[1]: *** [src/osg/CMakeFiles/osg.dir/all] Error 2
> make: *** [all] Error 2
>
> I don't see really what I am doing wrong, could anyone offer some
> suggestions?
>
> Many thanks in advance.
> --
> James Dickson
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
Rafael Gaitán Linares
Instituto de Automática e Informática Industrial  http://www.ai2.upv.es
Ciudad Politécnica de la Innovación
Universidad Politécnica de Valencia



More information about the osg-users mailing list