Yes, you&#39;ll need X if QT is enabled. You&#39;ll have to turn off PARAVIEW_BUILD_QT_GUI as well. Note, additionally, you&#39;ll need to use OSMesa. Refer to instructions here: <a href="http://paraview.org/Wiki/ParaView_And_Mesa_3D">http://paraview.org/Wiki/ParaView_And_Mesa_3D</a><div>
<br><div><br></div><div>Utkarsh</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 1, 2012 at 4:22 PM, Tim Gallagher <span dir="ltr">&lt;<a href="mailto:tim.gallagher@gatech.edu" target="_blank">tim.gallagher@gatech.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I&#39;m trying to build the code I just pulled on master:<br>
<br>
&gt; git branch<br>
* master<br>
<br>
&gt; git describe<br>
v3.14.1-2499-g16f07c1<br>
<br>
I set VTK_USE_X to OFF:<br>
<br>
&gt; grep &quot;USE_X&quot; CMakeCache.txt<br>
VTK_USE_X:BOOL=OFF<br>
<br>
but it fails while building with:<br>
<br>
Linking CXX shared library ../../../lib/<a href="http://libvtkGUISupportQt-pv3.14.so" target="_blank">libvtkGUISupportQt-pv3.14.so</a><br>
CMakeFiles/vtkGUISupportQt.dir/QVTKWidget.cxx.o: In function `QVTKWidget::x11_setup_window()&#39;:<br>
QVTKWidget.cxx:(.text+0xe65): undefined reference to `XGetWindowAttributes&#39;<br>
QVTKWidget.cxx:(.text+0xeb9): undefined reference to `XCreateWindow&#39;<br>
QVTKWidget.cxx:(.text+0xee7): undefined reference to `XGetWMColormapWindows&#39;<br>
QVTKWidget.cxx:(.text+0xf31): undefined reference to `XFree&#39;<br>
QVTKWidget.cxx:(.text+0xfdb): undefined reference to `XSetWMColormapWindows&#39;<br>
QVTKWidget.cxx:(.text+0xff0): undefined reference to `XFree&#39;<br>
QVTKWidget.cxx:(.text+0xff8): undefined reference to `XFlush&#39;<br>
collect2: ld returned 1 exit status<br>
make[2]: *** [lib/libvtkGUISupportQt-pv3.14.so.1] Error 1<br>
make[1]: *** [VTK/GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/all] Error 2<br>
make: *** [all] Error 2<br>
<br>
Am I missing something? Why is VTK looking for X if I said not to use it? Does not using X imply QT shouldn&#39;t be turned on? If so, should that be enforced in CMake?<br>
<br>
Thanks,<br>
<br>
Tim<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>