boost_signals fix
add this after ROS environment variables config on pkgbuild (line 100):
# Fix Boost Signals
sed -i -e 's/signals//g' rviz-release-release-melodic-rviz-1.13.1-0/CMakeLists.txt
Git Clone URL: | https://aur.archlinux.org/ros-melodic-rviz.git (read-only, click to copy) |
---|---|
Package Base: | ros-melodic-rviz |
Description: | ROS - 3D visualization tool for ROS. |
Upstream URL: | https://wiki.ros.org/rviz |
Licenses: | BSD, Creative Commons |
Submitter: | GPereira |
Maintainer: | None |
Last Packager: | MarsSeed |
Votes: | 3 |
Popularity: | 0.000000 |
First Submitted: | 2018-05-08 14:11 (UTC) |
Last Updated: | 2024-04-06 12:04 (UTC) |
boost_signals fix
add this after ROS environment variables config on pkgbuild (line 100):
# Fix Boost Signals
sed -i -e 's/signals//g' rviz-release-release-melodic-rviz-1.13.1-0/CMakeLists.txt
If you get this error:
ImportError: libQt5Core.so.5: cannot open shared object file: No such file or directory
this helps:https://stackoverflow.com/questions/22526844/how-to-cross-compile-sip-pyqt5-on-a-raspberry-pi
Fails for me with
In file included from /home/sebastian/workspace/aur/ros/ros-melodic-rviz/src/rviz-release-release-melodic-rviz-1.13.1-0/src/rviz/view_manager.h:37, from /home/sebastian/workspace/aur/ros/ros-melodic-rviz/src/rviz-release-release-melodic-rviz-1.13.1-0/src/rviz/frame_position_tracking_view_controller.cpp:39: /home/sebastian/workspace/aur/ros/ros-melodic-rviz/src/rviz-release-release-melodic-rviz-1.13.1-0/src/rviz/view_controller.h:45:7: error: using typedef-name ‘Ogre::Vector3’ after ‘class’ class Vector3; ^~~~~~~ In file included from /usr/include/OGRE/OgreCamera.h:32, from /home/sebastian/workspace/aur/ros/ros-melodic-rviz/src/rviz-release-release-melodic-rviz-1.13.1-0/src/rviz/frame_position_tracking_view_controller.cpp:30: /usr/include/OGRE/OgrePrerequisites.h:252:29: note: ‘Ogre::Vector3’ has a previous declaration here typedef Vector<3, Real> Vector3;
Got it to install. The fix on ros-kinetic-rviz worked for me, which was inserting 'PKG_CONFIG_PATH=/opt/OGRE-1.9/lib/pkgconfig:$PKG_CONFIG_PATH' after setup.bash is sourced. In addition, I found I had to install python-sip; should this be a dependency?
Can anyone kindly chime in on the definitive OGRE fix? I see a comment below that this package could work with 1.11, a patch, that the patch has been applied, but the PKGBUILD still calls for 1.9. There's another workaround for finding 1.9 despite searching in the wrong place.
It seems that extra/sip should also be a dependency. I noticed this when building this package directly rather than going for ros-melodic-desktop*.
Maybe we should set PKG_CONFIG_PATH
otherwise pkg-config won't find ogre-1.9.
Workaround:
export PKG_CONFIG_PATH=/opt/OGRE-1.9/lib/pkgconfig/
@GPereira Use https://github.com/ProfFan/rviz commits till they accept the pull request.
Thanks, I've applied that patch
Pinned Comments
bionade24 commented on 2019-06-20 11:56 (UTC) (edited on 2019-06-23 19:59 (UTC) by bionade24)
We moved our Development to Github: https://github.com/ros-melodic-arch
Please open issues there instead of commenting.