I am running a VM with Ubuntu 22.04 LTS and I'm trying to install ROS2 Humble Hawksbill, because of the architecture I need to build from source, I've ran into numerous errors but installing a system package always fixed them until I got to this package.
I followed the documentation on: https://docs.ros.org/en/humble/Installation/Alternatives/Ubuntu-Development-Setup.html#get-ros-2-code
Once I reached the build step, i ran 'colcon build --symlink-install' from the ros2-humble directory
When I first ran it gave me an error.
stderr: qt_gui_cpp
CMake Error at src/qt_gui_cpp_shiboken/CMakeLists.txt:42 (find_package):
By not providing "Findpython_qt_binding.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"python_qt_binding", but CMake did not find one.
Could not find a package configuration file provided by "python_qt_binding"
with any of the following names:
Add the installation prefix of "python_qt_binding" to CMAKE_PREFIX_PATH or
set "python_qt_binding_DIR" to a directory containing one of the above
files. If "python_qt_binding" provides a separate development package or
SDK, be sure it has been installed.
So I installed qtbase5-dev, python3-qt-binding, and pip install pyqt5. After these changes I began getting a smaller error.
I then tried pip install shiboken6 but it did not fix the issue.
Here's some details from my machine
uname -a
Linux Ubuntu-20 5.15.0-88-generic #98~20.04.1-Ubuntu SMP Mon Oct 9 16:43:45 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
pip --version
pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)
I found that I was missing packages that failed during the initial package install rerunning the package install installed the missing packages and the colcon install ran without major errors
I am running a VM with Ubuntu 22.04 LTS and I'm trying to install ROS2 Humble Hawksbill, because of the architecture I need to build from source, I've ran into numerous errors but installing a system package always fixed them until I got to this package. I followed the documentation on: https://docs.ros.org/en/humble/Installation/Alternatives/Ubuntu-Development-Setup.html#get-ros-2-code Once I reached the build step, i ran 'colcon build --symlink-install' from the ros2-humble directory When I first ran it gave me an error.
stderr: qt_gui_cpp
CMake Error at src/qt_gui_cpp_shiboken/CMakeLists.txt:42 (find_package): By not providing "Findpython_qt_binding.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "python_qt_binding", but CMake did not find one.
Could not find a package configuration file provided by "python_qt_binding" with any of the following names:
Add the installation prefix of "python_qt_binding" to CMAKE_PREFIX_PATH or set "python_qt_binding_DIR" to a directory containing one of the above files. If "python_qt_binding" provides a separate development package or SDK, be sure it has been installed.
So I installed qtbase5-dev, python3-qt-binding, and pip install pyqt5. After these changes I began getting a smaller error.
stderr: qt_gui_cpp
CMake Error at /usr/share/python_qt_binding/cmake/shiboken_helper.cmake:15 (message): Unknown Python version: Call Stack (most recent call first): src/qt_gui_cpp_shiboken/CMakeLists.txt:43 (include)
I then tried pip install shiboken6 but it did not fix the issue.
Here's some details from my machine uname -a Linux Ubuntu-20 5.15.0-88-generic #98~20.04.1-Ubuntu SMP Mon Oct 9 16:43:45 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
pip --version pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)
python --version Python 3.8.10
If you need anymore info let me know