@astier that solved it, thanks.
Search Criteria
Package Details: ros-melodic-rviz 1.13.18-1
Package Actions
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: | bionade24 |
Votes: | 3 |
Popularity: | 0.000000 |
First Submitted: | 2018-05-08 14:11 (UTC) |
Last Updated: | 2021-06-30 20:19 (UTC) |
Dependencies (67)
- assimp (doomsday, assimp-git)
- boost1.69
- eigen (eigen-git)
- mesa (mesa-noglvnd, mesa-minimal+-git, mesa-i915g, mesa-d3d12, mesa-steamos, mesa-minimal-git, mesa-git, mesa-rusticl-git, mesa-amber)
- ogre-1.9
- python-sip4
- qt5-base (qt5-base-git, qt5-base-headless)
- ros-melodic-geometry-msgs
- ros-melodic-image-transport
- ros-melodic-interactive-markers
- ros-melodic-laser-geometry
- ros-melodic-map-msgs
- ros-melodic-media-export
- ros-melodic-message-filters (ros-melodic-message-filters-git)
- ros-melodic-nav-msgs
- ros-melodic-pluginlib
- ros-melodic-python-qt-binding
- ros-melodic-resource-retriever
- ros-melodic-rosbag
- ros-melodic-rosconsole
- Show 47 more dependencies...
Required by (19)
- ros-melodic-cartographer-rviz
- ros-melodic-cartographer-rviz (make)
- ros-melodic-librviz-tutorial (make)
- ros-melodic-librviz-tutorial
- ros-melodic-moveit-ros-visualization
- ros-melodic-moveit-ros-visualization (make)
- ros-melodic-rqt-rviz
- ros-melodic-rqt-rviz (make)
- ros-melodic-rtabmap-ros
- ros-melodic-rtabmap-ros (make)
- ros-melodic-rviz-plugin-tutorials
- ros-melodic-rviz-plugin-tutorials (make)
- ros-melodic-rviz-python-tutorial
- ros-melodic-rviz-python-tutorial (make)
- ros-melodic-rviz-visual-tools
- ros-melodic-rviz-visual-tools (make)
- ros-melodic-urdf-sim-tutorial
- ros-melodic-urdf-tutorial
- ros-melodic-viz
Sources (1)
Latest Comments
joaocandre commented on 2019-06-25 14:30 (UTC)
Eyan commented on 2019-06-25 10:16 (UTC)
@joaocandre i try i with the same way, and get the same result. So i just modify the Makefile like @astier do it.
commented on 2019-06-25 09:27 (UTC)
I fixed the QT_INSTALL_LIBS error by
- Compile first
sed -i 's/$$\[QT_INSTALL_LIBS\]/\/usr\/lib/' src/build/devel/bin/sip/rviz_sip/Makefile
makepkg -sie
joaocandre commented on 2019-06-21 21:10 (UTC)
@Eyan still won't compile, throws instead
/bin/sh: /usr/lib: syntax error: operand expected (error token is "/usr/lib")
shouldn't it be QT_INCLUDE_LIBS or similar?
Eyan commented on 2019-06-21 15:14 (UTC)
@joaocandre compiling this package failed because of $[QT_INSTALL_LIBS] = 0 PLease replace '$[QT_INSTALL_LIBS]' with ‘/usr/lib’.
joaocandre commented on 2019-06-21 15:02 (UTC) (edited on 2019-06-21 15:03 (UTC) by joaocandre)
Currently failing with
g++: error: 0/libQt5Core.so: No such file or directory
make[3]: *** [Makefile:38: "/home/user/.cache/yay/ros-melodic-rviz/src/build/devel/lib/python3.7/site-packages/rviz/librviz_sip".so] Error 1
make[2]: *** [src/python_bindings/sip/CMakeFiles/librviz_sip.dir/build.make:61: devel/lib/python3.7/site-packages/rviz/librviz_sip.so] Error 2
make[1]: *** [CMakeFiles/Makefile2:4935: src/python_bindings/sip/CMakeFiles/librviz_sip.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
which I guess is related to @bionade24 previous comment, but I already have pyqt5-common
, python-pyqt5
, python-sip-pyqt5
and qt5-base
installed, don't see how it would help.
Eyan commented on 2019-06-20 23:44 (UTC)
@bionade24 I am using plasma desktop now.
bionade24 commented on 2019-06-20 12:00 (UTC)
@Eyan: Your Qt installations seems to be uncomplete. Please reinstall qt5-base.
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.
Eyan commented on 2019-06-20 08:15 (UTC)
g++ -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-rpath,"/home/eyan/.cache/yay/ros-melodic-rviz/src/build/devel/lib" -shared -Wl,-rpath,/home/eyan/.cache/yay/ros-melodic-rviz/src/build/devel/lib -Wl,-rpath,/usr/lib -Wl,--version-script="/home/eyan/.cache/yay/ros-melodic-rviz/src/build/devel/lib/python3.7/site-packages/rviz/librviz_sip".exp -o "/home/eyan/.cache/yay/ros-melodic-rviz/src/build/devel/lib/python3.7/site-packages/rviz/librviz_sip".so siplibrviz_sipcmodule.o siplibrviz_siprvizYamlConfigReader.o siplibrviz_siprvizYamlConfigWriter.o siplibrviz_siprvizConfigMapIterator.o siplibrviz_siprvizConfig.o siplibrviz_siprvizOgreLogging.o siplibrviz_siprvizToolManager.o siplibrviz_siprvizTool.o siplibrviz_siprvizViewManager.o siplibrviz_siprvizViewController.o siplibrviz_siprvizPanelDockWidget.o siplibrviz_siprvizBoolProperty.o siplibrviz_siprvizDisplayGroup.o siplibrviz_siprvizDisplay.o siplibrviz_siprvizProperty.o siplibrviz_siprvizVisualizationManager.o siplibrviz_siprvizVisualizationFrame.o siplibrviz_siprviz.o -L/home/eyan/.cache/yay/ros-melodic-rviz/src/build/devel/lib -L/usr/lib -L/usr/X11R6/lib -lrviz -lQt5Core -lpthread -lQt5Gui $[QT_INSTALL_LIBS]/libQt5Core.so -lpthread -lQt5Widgets -lQt5PrintSupport -lXext -lX11 -lm -lpthread g++: error: 0/libQt5Core.so: No such file or directory make: *** [Makefile:38: "/home/eyan/.cache/yay/ros-melodic-rviz/src/build/devel/lib/python3.7/site-packages/rviz/librviz_sip".so] Error 1
Fail for me with this
hansbonini commented on 2019-05-31 00:14 (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
bionade24 commented on 2019-02-03 15:43 (UTC)
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
bastikr commented on 2019-01-26 14:54 (UTC)
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;
jwhendy commented on 2019-01-17 15:58 (UTC)
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?
jwhendy commented on 2019-01-17 15:37 (UTC)
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.
krukai commented on 2018-09-27 07:16 (UTC)
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*.
MichaelChou commented on 2018-09-26 14:39 (UTC)
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/
1CatchMe1 commented on 2018-09-04 12:30 (UTC)
@GPereira Use https://github.com/ProfFan/rviz commits till they accept the pull request.
GPereira commented on 2018-05-27 09:49 (UTC)
Thanks, I've applied that patch
tmmsartor commented on 2018-05-18 14:25 (UTC) (edited on 2018-05-18 14:28 (UTC) by tmmsartor)
Broken with ogre1.11, a patch is already available on github, in order to use that apply this update:
diff --git a/PKGBUILD b/PKGBUILD
index ec2a5e2..0218b3f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -77,15 +77,16 @@ depends=(${ros_depends[@]}
yaml-cpp)
# Git version (e.g. for debugging)
-# _tag=release/melodic/rviz/${pkgver}-${_pkgver_patch}
-# _dir=${pkgname}
+_dir=${pkgname}
-# source=("${_dir}"::"git+https://github.com/ros-gbp/rviz-release.git"#tag=${_tag})
-# sha256sums=('SKIP')
+source=("${_dir}"::"git+https://github.com/fizyr-forks/rviz.git#branch=ogre1.11")
+sha256sums=('SKIP')
# Tarball version (faster download)
-_dir="rviz-release-release-melodic-rviz-${pkgver}-${_pkgver_patch}"
-source=("${pkgname}-${pkgver}-${_pkgver_patch}.tar.gz"::"https://github.com/ros-gbp/rviz-release/archive/release/melodic/rviz/${pkgver}-${_pkgver_patch}.tar.gz")
-sha256sums=('2c457a91f490ceb954760c23f8cc8d8edab3089cae59fa3b335191d96802ae0d')
+# _dir="rviz-release-release-melodic-rviz-${pkgver}-${_pkgver_patch}"
+# source=("${pkgname}-${pkgver}-${_pkgver_patch}.tar.gz"::"https://github.com/ros-gbp/rviz-release/archive/release/melodic/rviz/${pkgver}-${_pkgver_patch}.tar.gz")
+# sha256sums=('2c457a91f490ceb954760c23f8cc8d8edab3089cae59fa3b335191d96802ae0d')
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.