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

Reply via email to