[osg-users] ubuntu 7.04 compilation problem

James Dickson james.dickson at gmail.com
Tue Sep 11 11:13:47 PDT 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070911/8c8dcd3a/attachment-0002.htm>


More information about the osg-users mailing list