[Paraview] Problem building from source
Tim Gallagher
tim.gallagher at gatech.edu
Thu Nov 1 16:22:11 EDT 2012
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
More information about the ParaView
mailing list