<div dir="ltr">Hi Jean,<div><br></div><div>We use glew for Winddows Linux and OSX. When you run cmake and configure it produces a lot of output. The first part shows what modules are on and why they are on. That output should show vtk is causing vtkglew to be turned on. From that we can try tracking down why that is on.</div><div><br></div><div>Thanks</div><div>Ken</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 17, 2017 at 10:19 AM, Favre  Jean <span dir="ltr"><<a href="mailto:jfavre@cscs.ch" target="_blank">jfavre@cscs.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hello<br>
<br>
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.<br>
<br>
I have configure the VTK (trunk), with <br>
<br>
-DBUILD_TESTING=OFF \<br>
-DVTK_SMP_IMPLEMENTATION_TYPE:<wbr>STRING=TBB  \<br>
-DTBB_LIBRARY_RELEASE=/opt/<wbr>at10.0/lib64/libtbb.so.2 \<br>
-DTBB_INCLUDE_DIR=/opt/at10.0/<wbr>include \<br>
-DVTK_WRAP_PYTHON:BOOL=ON \<br>
-DVTK_Group_Rendering:BOOL=OFF<br>
-DVTK_USE_X:BOOL=OFF<br>
<br>
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?<br>
<br>
[ 21%] Linking C shared library ../../../lib/<a href="http://libvtkglew-7.1.so" target="_blank">libvtkglew-7.1.so</a><br>
CMakeFiles/vtkglew.dir/src/<wbr>glew.c.o: In function `_glewInit_GL_VERSION_1_3':<br>
/users/jfavre/VTK/ThirdParty/<wbr>glew/vtkglew/src/glew.c:3495: undefined reference to `glXGetProcAddressARB'<br>
<br>
Thanks for any tip.<span class="HOEnZb"><font color="#888888"><br>
Jean<br>
<br>
</font></span></div>
</div>

<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtk-<wbr>developers</a><br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee.  Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message. 
Thank you.</span></div></div></div>
</div>