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:

[EMAIL PROTECTED]:~$ 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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to