Okay, thanks. I was following the directions at: http://paraview.org/Wiki/CoProcessing
which do not mention anything about turning off QT-related things. Thanks, Tim ----- Original Message ----- From: "Utkarsh Ayachit" <[email protected]> To: "Tim Gallagher" <[email protected]> Cc: "ParaView list" <[email protected]> Sent: Friday, November 2, 2012 10:07:37 AM Subject: Re: [Paraview] Problem building from source 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: http://paraview.org/Wiki/ParaView_And_Mesa_3D Utkarsh On Thu, Nov 1, 2012 at 4:22 PM, Tim Gallagher < [email protected] > wrote: Hi, I'm trying to build the code I just pulled on master: > git branch * master > git describe v3.14.1-2499-g16f07c1 I set VTK_USE_X to OFF: > grep "USE_X" CMakeCache.txt VTK_USE_X:BOOL=OFF but it fails while building with: Linking CXX shared library ../../../lib/ libvtkGUISupportQt-pv3.14.so CMakeFiles/vtkGUISupportQt.dir/QVTKWidget.cxx.o: In function `QVTKWidget::x11_setup_window()': QVTKWidget.cxx:(.text+0xe65): undefined reference to `XGetWindowAttributes' QVTKWidget.cxx:(.text+0xeb9): undefined reference to `XCreateWindow' QVTKWidget.cxx:(.text+0xee7): undefined reference to `XGetWMColormapWindows' QVTKWidget.cxx:(.text+0xf31): undefined reference to `XFree' QVTKWidget.cxx:(.text+0xfdb): undefined reference to `XSetWMColormapWindows' QVTKWidget.cxx:(.text+0xff0): undefined reference to `XFree' QVTKWidget.cxx:(.text+0xff8): undefined reference to `XFlush' collect2: ld returned 1 exit status make[2]: *** [lib/libvtkGUISupportQt-pv3.14.so.1] Error 1 make[1]: *** [VTK/GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/all] Error 2 make: *** [all] Error 2 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? Thanks, Tim _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
