Yes, you'll need X if QT is enabled. You'll have to turn off PARAVIEW_BUILD_QT_GUI as well. Note, additionally, you'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"><<a href="mailto:tim.gallagher@gatech.edu" target="_blank">tim.gallagher@gatech.edu</a>></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'm trying to build the code I just pulled on master:<br>
<br>
> git branch<br>
* master<br>
<br>
> git describe<br>
v3.14.1-2499-g16f07c1<br>
<br>
I set VTK_USE_X to OFF:<br>
<br>
> grep "USE_X" 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()':<br>
QVTKWidget.cxx:(.text+0xe65): undefined reference to `XGetWindowAttributes'<br>
QVTKWidget.cxx:(.text+0xeb9): undefined reference to `XCreateWindow'<br>
QVTKWidget.cxx:(.text+0xee7): undefined reference to `XGetWMColormapWindows'<br>
QVTKWidget.cxx:(.text+0xf31): undefined reference to `XFree'<br>
QVTKWidget.cxx:(.text+0xfdb): undefined reference to `XSetWMColormapWindows'<br>
QVTKWidget.cxx:(.text+0xff0): undefined reference to `XFree'<br>
QVTKWidget.cxx:(.text+0xff8): undefined reference to `XFlush'<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'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>