[Module] Enabling kits on linux results in undefined references during linking
Building ParaView on Ubuntu 16.04, CMake 3.12.4, with PARAVIEW_ENABLE_KITS
set to ON
. When linking the executables, I encounter the following missing symbol errors:
[20/24] Linking CXX executable bin/paraview
FAILED: : && /usr/bin/c++ -g Applications/ParaView/CMakeFiles/paraview.dir/ParaViewMainWindow.cxx.o Applications/ParaView/CMakeFiles/paraview.dir/paraview_main.cxx.o Applications/ParaView/CMakeFiles/paraview.dir/pqparaviewInitializer.cxx.o Applications/ParaView/CMakeFiles/paraview.dir/paraview_autogen/mocs_compilation.cpp.o Applications/ParaView/CMakeFiles/paraview.dir/paraview_autogen/EJRQKI7XPS/qrc_paraview_configuration.cpp.o -o bin/paraview -Wl,-rpath,/home/cory.quammen/build/paraview-debug/lib:/home/cory.quammen/install/Qt5.9.1/5.9.1/gcc_64/lib:/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu:/usr/lib/nvidia-384: lib/libpqApplicationComponents-pv5.6.so.5.6 lib/libvtkParaViewDocumentation.a lib/libvtkUtilitiesPythonInitializer-pv5.6.so.5.6 lib/libpqComponents-pv5.6.so.5.6 lib/libpqPython-pv5.6.so.5.6 lib/libvtkWrappingPythonCore-pv5.6.so.5.6 lib/libpqCore-pv5.6.so.5.6 lib/libpqWidgets-pv5.6.so.5.6 lib/libvtkqttesting-pv5.6.so.5.6 lib/libvtkGUISupportQt-pv5.6.so.5.6 lib/libvtkPythonInterpreter-pv5.6.so.5.6 /usr/lib/python3.5/config-3.5m-x86_64-linux-gnu/libpython3.5m.so /home/cory.quammen/install/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5.9.1 /home/cory.quammen/install/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Gui.so.5.9.1 lib/libvtkPVClientServer-pv5.6.so.5.6 lib/libvtkIOImport-pv5.6.so.5.6 lib/libvtkexodusII-pv5.6.so.5.6 lib/libvtknetcdf-pv5.6.so.5.6 lib/libvtkhdf5-pv5.6.so.5.6 lib/libvtkhdf5_hl-pv5.6.so.5.6 lib/libvtkPVExtensions-pv5.6.so.5.6 lib/libvtkChartsCore-pv5.6.so.5.6 lib/libvtkIOExportGL2PS-pv5.6.so.5.6 lib/libvtkRenderingGL2PSOpenGL2-pv5.6.so.5.6 lib/libvtkDomainsChemistry-pv5.6.so.5.6 lib/libvtkfreetype-pv5.6.so.5.6 lib/libvtkzlib-pv5.6.so.5.6 lib/libvtkOpenGL-pv5.6.so.5.6 lib/libvtkglew-pv5.6.so.5.6 /usr/lib/nvidia-384/libGLX.so /usr/lib/nvidia-384/libOpenGL.so /usr/lib/x86_64-linux-gnu/libXt.so /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libICE.so /usr/lib/x86_64-linux-gnu/libSM.so lib/libvtkImaging-pv5.6.so.5.6 lib/libvtkViews-pv5.6.so.5.6 lib/libvtkRendering-pv5.6.so.5.6 lib/libvtkInteraction-pv5.6.so.5.6 lib/libvtkjsoncpp-pv5.6.so.5.6 lib/libvtkPVServerImplementation-pv5.6.so.5.6 lib/libvtkIO-pv5.6.so.5.6 lib/libvtkParallel-pv5.6.so.5.6 lib/libvtkFilters-pv5.6.so.5.6 lib/libvtkCommon-pv5.6.so.5.6 lib/libvtksys-pv5.6.so.5.6 -ldl -lpthread lib/libvtkPVCoreKit-pv5.6.so.5.6 lib/libvtkprotobuf-pv5.6.so.5.6 lib/libvtkPVServerManager-pv5.6.so.5.6 /home/cory.quammen/install/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5.9.1 -Wl,-rpath-link,/home/cory.quammen/build/paraview-debug/lib:/home/cory.quammen/install/Qt5.9.1/5.9.1/gcc_64/lib && :
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetImageGetWidth'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetDrawCallback'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetBoundingBoxd'
lib/libvtkPVClientServer-pv5.6.so.5.6: undefined reference to `icetEnable'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetImageGetHeight'
lib/libvtkPVClientServer-pv5.6.so.5.6: undefined reference to `icetDisable'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetCompositeOrder'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetSetContext'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetImageGetColorf'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetImageGetDepthFormat'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetAddTile'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetGetDoublev'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetGLIsInitialized'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetImageGetColorFormat'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetImageGetDepthf'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetStrategy'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetImageGetColorub'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetCompositeMode'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetResetTiles'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetDestroyMPICommunicator'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetSetColorFormat'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetDrawFrame'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetCreateContext'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetImageGetNumPixels'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetImageCopyColorf'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetImageCopyDepthf'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetImageCopyColorub'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetBoundingVertices'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetDestroyContext'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetCopyState'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetGetIntegerv'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetGLInitialize'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetDataReplicationGroupColor'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetSetDepthFormat'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetPhysicalRenderSize'
lib/libvtkPVExtensions-pv5.6.so.5.6: undefined reference to `icetCreateMPICommunicator'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Somehow IceT is not being added to the link step.
/cc @ben.boeckel