[Paraview] OSmesa compile error
Mengda Wu
phdggg at gmail.com
Wed Jul 8 04:53:50 EDT 2009
Hi all,
I am trying to compile the latest cvs version of Paraview. I am running
into the problem related to osmesa support.
The errors look like this. Can someone help me why is that?
/usr/include/GL/osmesa.h:120: error: expected initializer before
‘OSMesaCreateContext’
/usr/include/GL/osmesa.h:133: error: expected initializer before
‘OSMesaCreateContextExt’
/usr/include/GL/osmesa.h:143: error: expected initializer before
‘OSMesaDestroyContext’
/usr/include/GL/osmesa.h:175: error: expected initializer before
‘OSMesaMakeCurrent’
/usr/include/GL/osmesa.h:185: error: expected initializer before
‘OSMesaGetCurrentContext’
/usr/include/GL/osmesa.h:203: error: expected initializer before
‘OSMesaPixelStore’
/usr/include/GL/osmesa.h:219: error: expected initializer before
‘OSMesaGetIntegerv’
/usr/include/GL/osmesa.h:234: error: expected initializer before
‘OSMesaGetDepthBuffer’
/usr/include/GL/osmesa.h:250: error: expected initializer before
‘OSMesaGetColorBuffer’
/usr/include/GL/osmesa.h:267: error: expected initializer before
‘OSMesaGetProcAddress’
/usr/include/GL/osmesa.h:276: error: expected initializer before
‘OSMesaColorClamp’
/home/phdggg/ParaView3/VTK/Rendering/vtkXOpenGLRenderWindow.cxx: In member
function ‘void vtkXOpenGLRenderWindow::CreateOffScreenWindow(int, int)’:
/home/phdggg/ParaView3/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:830: error:
‘OSMesaCreateContext’ was not declared in this scope
/home/phdggg/ParaView3/VTK/Rendering/vtkXOpenGLRenderWindow.cxx: In member
function ‘void vtkXOpenGLRenderWindow::DestroyOffScreenWindow()’:
/home/phdggg/ParaView3/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:972: error:
‘OSMesaDestroyContext’ was not declared in this scope
/home/phdggg/ParaView3/VTK/Rendering/vtkXOpenGLRenderWindow.cxx: In member
function ‘virtual void vtkXOpenGLRenderWindow::MakeCurrent()’:
/home/phdggg/ParaView3/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1321: error:
‘OSMesaMakeCurrent’ was not declared in this scope
/home/phdggg/ParaView3/VTK/Rendering/vtkXOpenGLRenderWindow.cxx: In member
function ‘virtual bool vtkXOpenGLRenderWindow::IsCurrent()’:
/home/phdggg/ParaView3/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1374: error:
‘OSMesaGetCurrentContext’ was not declared in this scope
make[2]: ***
[VTK/Rendering/CMakeFiles/vtkRendering.dir/vtkXOpenGLRenderWindow.o] Error 1
Thanks,
Mengda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090708/3e071380/attachment.htm>
More information about the ParaView
mailing list