PackageNotFoundError qtpyvcp

More
4 years 6 months ago #240827 by tripwire
Well, I ran into a few errors.

dave@debianDave:~/dev$ sudo apt install build-essential cmake mesa-common-dev mesa-utils freeglut3-dev ninja git-lfs
[sudo] password for dave:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ninja

So I tried the following:
dave@debianDave:~/dev$ sudo apt-get install -y ninja-build
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ninja-build is already the newest version (1.10.1-1).
 (a bunch of output)

(etc. ... nothing installed...)

Then:
dave@debianDave:~$ git clone --recursive gitlab.kitware.com/vtk/vtk.git
fatal: repository 'gitlab.kitware.com/vtk/vtk.git' does not exist

So I downloaded a zip file from that site, extracted it and then:

dave@debianDave:~/dev/vtk$ cmake -B build -S . -GNinja -DVTK_WRAP_PYTHON=ON -DVTK_PYTHON_VERSION=3 -DVTK_ENABLE_WRAPPING=ON -DVTK_GROUP_ENABLE_Qt=YES -DVTK_QT_VERSION=5

This produced a lot of output but I got the following errors in the end:

CMake Warning at CMake/vtkModule.cmake:4541 (find_package):
  Found package configuration file:

    /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake

  but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find Qt5 component "Quick" config file at
  "/usr/lib/x86_64-linux-gnu/cmake/Qt5Quick/Qt5QuickConfig.cmake"

  Failed to find Qt5 component "Qml" config file at
  "/usr/lib/x86_64-linux-gnu/cmake/Qt5Qml/Qt5QmlConfig.cmake"

 

Call Stack (most recent call first):
  GUISupport/QtQuick/CMakeLists.txt:16 (vtk_module_find_package)


CMake Error at CMake/vtkModule.cmake:4547 (message):
  Could not find the Qt5 external dependency.
Call Stack (most recent call first):
  GUISupport/QtQuick/CMakeLists.txt:16 (vtk_module_find_package)


-- Configuring incomplete, errors occurred!
See also "/home/dave/dev/vtk/build/CMakeFiles/CMakeOutput.log".
See also "/home/dave/dev/vtk/build/CMakeFiles/CMakeError.log".


Can you specify which packages to install to fix this?

I appreciate your help, thanks!!
 

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago - 4 years 6 months ago #240839 by TurBoss
Hi,


> $ git clone gitlab.kitware.com/vtk/vtk.git
> fatal: repository 'gitlab.kitware.com/vtk/vtk.git' does not exist


try this to get the source and the sub-modules needed to build (zip doesn't include them)

Code:
git clone --recursive https://gitlab.kitware.com/vtk/vtk.git


> but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT
>  FOUND.  Reason given by package:


plz try to install this ones


$ sudo apt install qtquickcontrols2-5-dev
Last edit: 4 years 6 months ago by TurBoss.

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #240847 by tripwire
Thanks again! I'll give that a try tomorrow.

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #240905 by tripwire
Well, I got the same errors doing the cmake. I tried to install Qt from source which seems to be the only open source option. It's HUGE! And I got errors when trying to build Qt.

So, I appreciate the advice you've given me. I think I'm just not Linux savvy enough to fix it if something goes off-script.

So I think I'm going to rewind back to Python 3.9 (if I can figure that out...)

Thanks again!

Please Log in or Create an account to join the conversation.

Moderators: KCJ, Lcvette
Time to create page: 0.125 seconds
Powered by Kunena Forum