[vtk-developers] undefined reference to `glXGetProcAddressARB'
Favre Jean
jfavre at cscs.ch
Fri Feb 17 10:19:17 EST 2017
Hello
Am trying to compile the bare minimum of VTK; I don't need graphics, just some IO and filters to test SMPTools. I am on a Power8 machine with 160 cores.
I have configure the VTK (trunk), with
-DBUILD_TESTING=OFF \
-DVTK_SMP_IMPLEMENTATION_TYPE:STRING=TBB \
-DTBB_LIBRARY_RELEASE=/opt/at10.0/lib64/libtbb.so.2 \
-DTBB_INCLUDE_DIR=/opt/at10.0/include \
-DVTK_WRAP_PYTHON:BOOL=ON \
-DVTK_Group_Rendering:BOOL=OFF
-DVTK_USE_X:BOOL=OFF
Yet, I am getting the following error, and could not find what else to turn OFF to get over it. Wouldn't the glew stuff be needed only for X-based rendering?
[ 21%] Linking C shared library ../../../lib/libvtkglew-7.1.so
CMakeFiles/vtkglew.dir/src/glew.c.o: In function `_glewInit_GL_VERSION_1_3':
/users/jfavre/VTK/ThirdParty/glew/vtkglew/src/glew.c:3495: undefined reference to `glXGetProcAddressARB'
Thanks for any tip.
Jean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20170217/36fd6649/attachment.html>
More information about the vtk-developers
mailing list