[vtkusers] a question about compile vtk source on linux,

steelblue 812075761 at qq.com
Thu Aug 18 03:23:01 EDT 2011


hi everyone:
when i compile vtk on linux,the gcc report something wrong:

[ 40%] Building CXX object
Rendering/CMakeFiles/vtkRendering.dir/vtkOpenGLExtensionManager.o
/root/Desktop/VTK/Rendering/vtkOpenGLExtensionManager.cxx: In member
function ‘virtual void (* vtkOpenGLExtensionManager::GetProcAddress(const
char*))()’:
/root/Desktop/VTK/Rendering/vtkOpenGLExtensionManager.cxx:273:
错误:‘glXGetProcAddressARB’ 在此作用域中尚未声明
make[2]: ***
[Rendering/CMakeFiles/vtkRendering.dir/vtkOpenGLExtensionManager.o] 错误 1
make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] 错误 2
make: *** [all] 错误 2

the gcc versin is 4.1.2,
vtk version is 4.4.2

how to deal with this problem?
waiting for your help ,thank!


--
View this message in context: http://vtk.1045678.n5.nabble.com/a-question-about-compile-vtk-source-on-linux-tp4711153p4711153.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list