[vtkusers] VTK 6.0.1 build problem

mathew xypsilonx at web.de
Sun Aug 24 07:41:27 EDT 2014


Hello vtk users,

After changing to Ubuntu 14.04.1 I am in trouble getting VTK- 6.1.0 to
build.
No matter what I do, I keep getting:

Building CXX object
Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/vtkXOpenGLRenderWindow.cxx.o
In file included from /usr/include/GL/glx.h:333:0,
                 from
/usr/local/VTK/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx:31:
/usr/include/GL/glxext.h:480:143: error: ‘GLintptr’ has not been declared
 typedef void ( *PFNGLXCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext
readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget,
GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
                                                                                                                                              
^
/usr/include/GL/glxext.h:480:164: error: ‘GLintptr’ has not been declared
 typedef void ( *PFNGLXCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext
readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget,
GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
                                                                                                                                                                   
^
/usr/include/GL/glxext.h:480:186: error: ‘GLsizeiptr’ has not been declared
 typedef void ( *PFNGLXCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext
readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget,
GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
                                                                                                                                                                                         
^
/usr/include/GL/glxext.h:481:148: error: ‘GLintptr’ has not been declared
 typedef void ( *PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC) (Display *dpy,
GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint
writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
                                                                                                                                                   
^
/usr/include/GL/glxext.h:481:169: error: ‘GLintptr’ has not been declared
 typedef void ( *PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC) (Display *dpy,
GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint
writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
                                                                                                                                                                        
^
/usr/include/GL/glxext.h:481:191: error: ‘GLsizeiptr’ has not been declared
 typedef void ( *PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC) (Display *dpy,
GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint
writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
                                                                                                                                                                                              
^
make[2]: ***
[Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/vtkXOpenGLRenderWindow.cxx.o]
Error 1
make[1]: *** [Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/all] Error
2
make: *** [all] Error 2

Somehow, I belive it has to with my nvidia driver/settings. Using an old one
(e.g. 304) didn't change anything?

Any ideas?




--
View this message in context: http://vtk.1045678.n5.nabble.com/VTK-6-0-1-build-problem-tp5728354.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list