How to make compilation of rviz_ogre_vendor in ros2 humble source code ?
Hello I tried to compile ros2 humble from source following : https://docs.ros.org/en/humble/Installation/Alternatives/macOS-Development-Setup.html
On macOS ventura on macbook pro intel 2018.
I encountered this error when It reaches rhe compilation of rvizogrevendor
Starting >>> rviz_ogre_vendor
--- stderr: rviz_ogre_vendor
patch: **** malformed patch at line 1817:
make[2]: *** [ogre-v1.12.1-prefix/src/ogre-v1.12.1-stamp/ogre-v1.12.1-patch] Error 2
make[1]: *** [CMakeFiles/ogre-v1.12.1.dir/all] Error 2
make: *** [all] Error 2
---
Failed <<< rviz_ogre_vendor [1.10s, exited with code 2]
Do you have any idea to solve this ?
Asked by lamiel on 2023-02-11 08:48:35 UTC
Answers
mine is now working after editing the patch file:
src/ros2/rviz/rviz_ogre_vendor/pragma-patch.diff
by adding space in front of line 1817 and 1824.
But the compiling still failed for humble, I'm now trying with rolling, but I meet another issue:
CMake Error at /usr/local/lib/cmake/SDL2/sdl2-config.cmake:4 (set_package_properties):
Unknown CMake command "set_package_properties".
Call Stack (most recent call first):
CMake/Dependencies.cmake:337 (find_package)
CMakeLists.txt:290 (include)
Asked by Anders on 2023-02-27 01:44:16 UTC
Comments
I turn to use robostack which is just working out of box: https://github.com/RoboStack/ros-humble
Asked by Anders on 2023-02-28 23:23:55 UTC
Comments