I’m trying to build VTK in an
ubuntu:focal-based Docker container with Qt support. Here’s a link to the Dockerfile. The build configuration runs smoothly but I get the following error at the very end of
[100%] Linking CXX shared library ../../lib/libvtkViewsQt-9.1.so [100%] Linking CXX shared module ../../../lib/qml/VTK.9.1/libqmlvtkplugin.so [100%] Built target ViewsQt Generating qmltypes file using qmlplugindump QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' QQmlComponent: Component is not ready make: *** [GUISupport/QtQuick/qml/CMakeFiles/qmlvtkplugin.dir/build.make:135: lib/qml/VTK.9.1/libqmlvtkplugin.so] Error 3 make: *** Deleting file 'lib/qml/VTK.9.1/libqmlvtkplugin.so' make: *** [CMakeFiles/Makefile2:12297: GUISupport/QtQuick/qml/CMakeFiles/qmlvtkplugin.dir/all] Error 2 make: *** [Makefile:130: all] Error 2
I’m really not an expert here. Any idea about the origin? How can I circumvent this?