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

Problem arising when make ROSARIA

asked 2014-11-04 22:53:16 -0500

yujunzeng gravatar image

The rosaria installation is successful, but when type catkin_make, the command line shows that: ~/src/rosaria/RosAria.cpp:6:25: fatal error: Aria/Aria.h: could not find such file or directory : Aria/Aria.h

compilation terminated.

make[2]: * [rosaria/CMakeFiles/RosAria.dir/RosAria.cpp.o] error 1

make[1]: * [rosaria/CMakeFiles/RosAria.dir/all] error 2

How to solve it? Thanks a lot!

edit retag flag offensive close merge delete

Comments

The ARIA library should have been downloaded and installed when you used rosdep update and rosdep install rosaria ( http://wiki.ros.org/ROSARIA/Tutorials... ). What was the output of those commands, any errors?

ReedHedges gravatar image ReedHedges  ( 2014-12-03 09:46:55 -0500 )edit

Note that rosdep install rosaria builds and installs ARIA differently than the normal package from Adept MobileRobots. You can skip that if you want, in which case RosAria should when built use the normal Adept install location /usr/local/Aria instead... but either way ARIA needs to be installed

ReedHedges gravatar image ReedHedges  ( 2014-12-03 09:49:37 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted
1

answered 2014-12-03 04:44:55 -0500

Vegeta gravatar image

Provide more details about the system and ROS distro you are using. It seems you do not have your ros workspace properly configured or you are not installing in the ros workspace. Are you sourcing the setup.bash file in your catkin_ws/devel folder properly?

edit flag offensive delete link more
0

answered 2015-07-06 15:31:24 -0500

ReedHedges gravatar image

updated 2015-07-06 15:33:07 -0500

The location of the ARIA library is detected by the rosaria CMake configuration (CMakeLists.txt). This is run once the first time you run catkin_make and the results cached. If you run catkin_make before installing the ARIA library (either via rosdep install rosaria or installing the MobileRobots distributed ARIA package), then install ARIA, then run catkin_make again, it will still be using the old cached results from CMake. To force catkin_make to re-evaluate the CMake configuration, run catkin_make --force-cmake. (Or you could also delete all the catkin generated files in build/)

(Also, you will need to source the catkin setup script into your shell to build rosaria from the catkin workspace: . devel/setup.bash)

edit flag offensive delete link more
0

answered 2014-11-04 22:33:20 -0500

yujunzeng gravatar image

It seems that the aria package is not added to the PATH of ROS, but how?

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2014-11-04 22:31:20 -0500

Seen: 632 times

Last updated: Jul 06 '15