[vtkusers] vtk installaion error

LEE JONG HEUN kjojon at gmail.com
Thu Apr 1 05:40:20 EDT 2010


Hi , I’m lee j h

I just installed openGL and started to install vtk

While installing vtk ,this kind of error message I received


I have no idea why this is happened..

Did I do something wrong?

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:35:23: error:
GL/osmesa.h: No such file or directory

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:84: error:
‘OSMesaContext’ does not name a type

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx: In constructor
‘vtkXOpenGLRenderWindowInternal::vtkXOpenGLRenderWindowInternal(vtkRenderWindow*)’:

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:107: error: ‘class
vtkXOpenGLRenderWindowInternal’ has no member named ‘OffScreenContextId’

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx: In member
function ‘virtual void vtkXOpenGLRenderWindow::SetStereoCapableWindow(int)’:

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:479: error: ‘class
vtkXOpenGLRenderWindowInternal’ has no member named ‘OffScreenContextId’

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx: In member
function ‘void vtkXOpenGLRenderWindow::CreateOffScreenWindow(int, int)’:

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:822: error: ‘class
vtkXOpenGLRenderWindowInternal’ has no member named ‘OffScreenContextId’

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:824: error: ‘class
vtkXOpenGLRenderWindowInternal’ has no member named ‘OffScreenContextId’

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:824: error:
‘OSMesaCreateContext’ was not declared in this scope

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx: In member
function ‘void vtkXOpenGLRenderWindow::DestroyOffScreenWindow()’:

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:964: error: ‘class
vtkXOpenGLRenderWindowInternal’ has no member named ‘OffScreenContextId’

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:966: error: ‘class
vtkXOpenGLRenderWindowInternal’ has no member named ‘OffScreenContextId’

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:966: error:
‘OSMesaDestroyContext’ was not declared in this scope

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:967: error: ‘class
vtkXOpenGLRenderWindowInternal’ has no member named ‘OffScreenContextId’

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx: In member
function ‘void vtkXOpenGLRenderWindow::ResizeOffScreenWindow(int, int)’:

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1012: error:
‘class vtkXOpenGLRenderWindowInternal’ has no member named
‘OffScreenContextId’

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx: In member
function ‘virtual void vtkXOpenGLRenderWindow::Initialize()’:

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1053: error:
‘class vtkXOpenGLRenderWindowInternal’ has no member named
‘OffScreenContextId’

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx: In member
function ‘virtual void vtkXOpenGLRenderWindow::PrintSelf(std::ostream&,
vtkIndent)’:

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1281: error:
‘class vtkXOpenGLRenderWindowInternal’ has no member named
‘OffScreenContextId’

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx: In member
function ‘virtual void vtkXOpenGLRenderWindow::MakeCurrent()’:

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1311: error:
‘class vtkXOpenGLRenderWindowInternal’ has no member named
‘OffScreenContextId’

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1313: error:
‘class vtkXOpenGLRenderWindowInternal’ has no member named
‘OffScreenContextId’

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1315: error:
‘OSMesaMakeCurrent’ was not declared in this scope

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx: In member
function ‘virtual bool vtkXOpenGLRenderWindow::IsCurrent()’:

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1366: error:
‘class vtkXOpenGLRenderWindowInternal’ has no member named
‘OffScreenContextId’

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1368: error:
‘class vtkXOpenGLRenderWindowInternal’ has no member named
‘OffScreenContextId’

/home/kjojon/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1368: error:
‘OSMesaGetCurrentContext’ was not declared in this scope

make[2]: ***
[Rendering/CMakeFiles/vtkRendering.dir/vtkXOpenGLRenderWindow.o] error 1

make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] error 2

make: *** [all] error 2



More information about the vtkusers mailing list