ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to make compilation of rviz_ogre_vendor in ros2 humble source code ?

asked 2023-02-11 07:48:35 -0500

lamiel gravatar image

updated 2023-02-14 01:43:18 -0500

gvdhoorn gravatar image

Hello I tried to compile ros2 humble from source following : https://docs.ros.org/en/humble/Instal...

On macOS ventura on macbook pro intel 2018.

I encountered this error when It reaches rhe compilation of rviz_ogre_vendor

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 ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-02-27 00:44:16 -0500

Anders gravatar image

updated 2023-02-27 00:44:46 -0500

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)
edit flag offensive delete link more

Comments

I turn to use robostack which is just working out of box: https://github.com/RoboStack/ros-humble

Anders gravatar image Anders  ( 2023-02-28 22:23:55 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2023-02-11 07:48:35 -0500

Seen: 795 times

Last updated: Feb 27 '23