Build fails on Ubuntu 20.04 with qmlvtkplugin error: QQmlComponent: Component is not ready #1270
Unanswered
UshioNoa-hub
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I am trying to build PlusBuild on Ubuntu 20.04 LTS following the official Linux build instructions. The build fails during the VTK compilation step with a
qmlvtkpluginerror.Environment
Steps to Reproduce
sudo apt update && sudo apt install git build-essential cmake
qt5-default qtmultimedia5-dev qttools5-dev libqt5xmlpatterns5-dev
qtbase5-private-dev libqt5x11extras5-dev libxt-dev
git clone https://github.com/PlusToolkit/PlusBuild.git
mkdir PlusBuild-bin
cd PlusBuild-bin
cmake ../PlusBuild -DCMAKE_CXX_STANDARD:STRING=17
make -j$(nproc)
Actual Behavior (Error Log)
The build progresses to about 95% and then fails with the following error:
[ 95%] Linking CXX shared module ../../../lib/qml/VTK.9.1/libqmlvtkpluginD.so
Generating qmltypes file using qmlplugindump
QQmlComponent: Component is not ready
make[5]: *** [GUISupport/QtQuick/qml/CMakeFiles/qmlvtkplugin.dir/build.make:135: lib/qml/VTK.9.1/libqmlvtkpluginD.so] Error 3
make[5]: *** Deleting file 'lib/qml/VTK.9.1/libqmlvtkpluginD.so'
make[4]: *** [CMakeFiles/Makefile2:12297: GUISupport/QtQuick/qml/CMakeFiles/qmlvtkplugin.dir/all] Error 2
make[3]: *** [Makefile:130: all] Error 2
make[2]: *** [CMakeFiles/vtk.dir/build.make:112: vtk-prefix/src/vtk-stamp/vtk-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:556: CMakeFiles/vtk.dir/all] Error 2
make: *** [Makefile:95: all] Error 2
Beta Was this translation helpful? Give feedback.
All reactions