Package Details: ros-kinetic-rviz 1.12.15-1

Git Clone URL: https://aur.archlinux.org/ros-kinetic-rviz.git (read-only)
Package Base: ros-kinetic-rviz
Description: ROS - 3D visualization tool for ROS.
Upstream URL: http://ros.org/wiki/rviz
Licenses: BSD, Creative Commons
Submitter: zootboy
Maintainer: None
Last Packager: zootboy
Votes: 3
Popularity: 0.023173
First Submitted: 2017-01-14 03:34
Last Updated: 2018-03-22 00:27

Dependencies (63)

Sources (1)

Latest Comments

1 2 Next › Last »

Manifolds commented on 2018-06-05 10:54

Install ogre-1.9 and gcc7 from AUR, then add the following line in the PKGBUILD export PKG_CONFIG_PATH=/opt/OGRE-1.9/lib/pkgconfig:$PKG_CONFIG_PATH

and then add the following two line in the cmake command part, -DCMAKE_C_COMPILER=gcc-7 \ -DCMAKE_CXX_COMPILER=g++-7 \

Manifolds commented on 2018-06-05 10:17

/tmp/yaourt-tmp-tong/aur-ros-kinetic-rviz/src/rviz-release-release-kinetic-rviz-1.12.15-0/src/rviz/ogre_helpers/point_cloud.cpp:340:52: error: no matching function for call to ‘rviz::PointCloudRenderable::setMaterial(const String&)’ (it)->setMaterial(current_material_->getName()); ^ In file included from /tmp/yaourt-tmp-tong/aur-ros-kinetic-rviz/src/rviz-release-release-kinetic-rviz-1.12.15-0/src/rviz/ogre_helpers/point_cloud.h:33, from /tmp/yaourt-tmp-tong/aur-ros-kinetic-rviz/src/rviz-release-release-kinetic-rviz-1.12.15-0/src/rviz/ogre_helpers/point_cloud.cpp:30: /usr/include/OGRE/OgreSimpleRenderable.h:76:22: note: candidate: ‘virtual void Ogre::SimpleRenderable::setMaterial(const MaterialPtr&)’ virtual void setMaterial(const MaterialPtr& mat); ^~~~~~~~~~~ /usr/include/OGRE/OgreSimpleRenderable.h:76:22: note: no known conversion for argument 1 from ‘const String’ {aka ‘const std::cxx11::basic_string<char>’} to ‘const MaterialPtr&’ {aka ‘const Ogre::SharedPtr<ogre::material>&’} /tmp/yaourt-tmp-tong/aur-ros-kinetic-rviz/src/rviz-release-release-kinetic-rviz-1.12.15-0/src/rviz/ogre_helpers/point_cloud.cpp: In member function ‘rviz::PointCloudRenderablePtr rviz::PointCloud::createRenderable(int)’: /tmp/yaourt-tmp-tong/aur-ros-kinetic-rviz/src/rviz-release-release-kinetic-rviz-1.12.15-0/src/rviz/ogre_helpers/point_cloud.cpp:768:49: error: no matching function for call to ‘rviz::PointCloudRenderable::setMaterial(const String&)’ rend->setMaterial(current_material_->getName()); ^ In file included from /tmp/yaourt-tmp-tong/aur-ros-kinetic-rviz/src/rviz-release-release-kinetic-rviz-1.12.15-0/src/rviz/ogre_helpers/point_cloud.h:33, from /tmp/yaourt-tmp-tong/aur-ros-kinetic-rviz/src/rviz-release-release-kinetic-rviz-1.12.15-0/src/rviz/ogre_helpers/point_cloud.cpp:30: /usr/include/OGRE/OgreSimpleRenderable.h:76:22: note: candidate: ‘virtual void Ogre::SimpleRenderable::setMaterial(const MaterialPtr&)’ virtual void setMaterial(const MaterialPtr& mat); ^~~~~~~~~~~ /usr/include/OGRE/OgreSimpleRenderable.h:76:22: note: no known conversion for argument 1 from ‘const String’ {aka ‘const std::</ogre::material></char>cxx11::basic_string<char>’} to ‘const MaterialPtr&’ {aka ‘const Ogre::SharedPtr<ogre::material>&’} make[2]: [src/rviz/CMakeFiles/rviz.dir/build.make:505: src/rviz/CMakeFiles/rviz.dir/ogre_helpers/point_cloud.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:2578: src/rviz/CMakeFiles/rviz.dir/all] Error 2 make: </ogre::material></char>** [Makefile:130: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build ros-kinetic-rviz.

squirrel commented on 2018-05-08 12:02

Hi!,

are you able to compile it with actual ogre 1.11.0-1 ? there seems to be a problem and I wonder how to approach it.

zootboy commented on 2018-03-22 00:27

Quick heads up: the latest version seems to build and run OK with ogre 1.10, so I've switched the dep to that. Since 1.10 is in the main Arch repos, it should save some build time compared to building 1.9.

Let me know if there are any issues with this.

angelterrones commented on 2017-07-10 13:30

Hi all. I'm unable to build because CMAKE can't find OGRE:

-- Checking for modules 'OGRE;OGRE-Overlay'
-- No package 'OGRE' found
-- No package 'OGRE-Overlay' found
-- Checking for module 'OGRE'
-- No package 'OGRE' found
CMake Error at /usr/share/cmake-3.8/Modules/FindPkgConfig.cmake:416 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.8/Modules/FindPkgConfig.cmake:589 (_pkg_check_modules_internal)
CMakeLists.txt:53 (pkg_check_modules)


Solution: add (again) the line:

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/OGRE-1.9/lib/pkgconfig/

in build().

zootboy commented on 2017-06-08 07:18

@ryanvade: My rule of thumb for ROS is if boost gets updated, rebuild _everything_. You can try cherrypicking based on what packages link to the various libboost_*.so files, but I find it easier to just do a full rebuild of all ROS packages and deps.

ryanvade commented on 2017-06-08 04:37

/usr/bin/ld: warning: libboost_system.so.1.63.0, needed by /opt/ros/kinetic/lib/libinteractive_markers.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_thread.so.1.63.0, needed by /opt/ros/kinetic/lib/libinteractive_markers.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_filesystem.so.1.63.0, needed by /opt/ros/kinetic/lib/libroscpp.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_regex.so.1.63.0, needed by /opt/ros/kinetic/lib/librosconsole.so, not found (try using -rpath or -rpath-link)
/opt/ros/kinetic/lib/librosconsole.so: undefined reference to `boost::re_detail_106300::cpp_regex_traits_implementation<char>::transform_primary[abi:cxx11](char const*, char const*) const'
/opt/ros/kinetic/lib/librosconsole.so: undefined reference to `boost::re_detail_106300::get_mem_block()'
/opt/ros/kinetic/lib/librosconsole.so: undefined reference to `boost::re_detail_106300::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)'
/opt/ros/kinetic/lib/librosconsole.so: undefined reference to `boost::re_detail_106300::verify_options(unsigned int, boost::regex_constants::_match_flags)'
/opt/ros/kinetic/lib/librosconsole.so: undefined reference to `boost::re_detail_106300::put_mem_block(void*)'
/opt/ros/kinetic/lib/librosconsole.so: undefined reference to `boost::re_detail_106300::raise_runtime_error(std::runtime_error const&)'
/opt/ros/kinetic/lib/librosconsole.so: undefined reference to `boost::re_detail_106300::get_default_error_string(boost::regex_constants::error_type)'
/opt/ros/kinetic/lib/librosconsole.so: undefined reference to `boost::re_detail_106300::cpp_regex_traits_implementation<char>::transform[abi:cxx11](char const*, char const*) const'
collect2: error: ld returned 1 exit status
make[2]: *** [src/test/CMakeFiles/interactive_marker_test.dir/build.make:168: devel/lib/rviz/interactive_marker_test] Error 1
make[1]: *** [CMakeFiles/Makefile2:3545: src/test/CMakeFiles/interactive_marker_test.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

zootboy commented on 2017-06-04 02:18

OK, this took a bit of manual tweaking, but it should work. Let me know if you have any issues building (make sure to clean out the src/ dir first!)

I also submitted a pull request upstream to make the rosdep target correct: https://github.com/ros/rosdistro/pull/15151

This doesn't 100% fix the import_catkin_packages.py-generated PKGBUILD since there's another manual fix to point pkg-config to the correct OGRE.pc file. Not sure how to handle that, to be honest. Suggestions welcome.

zaidan commented on 2017-06-02 10:59

I have added the ogre-1.9.0 package:
https://aur.archlinux.org/packages/ogre-1.9/

it is based on the official package (2017-01-02):
https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/ogre&id=54bf8ccbe7bce6660f1bfa713ff357400186b3ac

It creates all required symlinks in /usr/lib for all *.so.1.9.0 files
and can be installed without conflict along with the official ogre package (but not required).

@zootboy please change the ogre dependency to ogre-1.9.

FinnLinxxx commented on 2017-05-12 01:43

This got it going for me (workaround):

$ sudo pacman -R ogre
(that the newer version of ogre does not fit the depenency yet is much likely)
I. Download ogre from Archive (https://archive.archlinux.org/packages/o/ogre/) Version: ogre-1.9.0-16-x86_64.pkg.tar.xz (106MB) from 02-Jan-2017
$ sudo pacman -U ~/path/to/ogre-1.9.0-16-x86_64.pkg.tar.xz

Proceed with the install of this package (yaourt).
Visualize all the Data!