Ask Your Question
0

[ROS fuerte] : couldn't use rosmake

asked 2012-12-11 08:36:07 -0600

Assia gravatar image

Hello,

I'm actually installing ROS fuerte and couldn't manage "rosmake". I already created a package and i wanted to compile it using "rosmake". Here is the error that it is giving. I'm sure that i'm missing something, can you please let me know which mistake i'm doing... thanks

[ rosmake ] All 14 lineseginner_tutorials: 0.0 sec ] [ 1 Active 4/5 Complete ] {------------------------------------------------------------------------------- mkdir -p bin cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=rospack find rosbuild/rostoolchain.cmake .. CMake Error at CMakeLists.txt:2 (include): include could not find load file:

  /opt/ros/fuerte/core/rosbuild/rosbuild.cmake

CMake Error at CMakeLists.txt:12 (rosbuild_init): Unknown CMake command "rosbuild_init".

-- Configuring incomplete, errors occurred! -------------------------------------------------------------------------------} [ rosmake ] Output from build of package beginner_tutorials written to: [ rosmake ] /home/user/.ros/rosmake/rosmake_output-20121211-152440/beginner_tutorials/build_output.log [rosmake-4] Finished <<< beginner_tutorials [FAIL] [ 0.08 seconds ]
[ rosmake ] Halting due to failure in package beginner_tutorials. [ rosmake ] Waiting for other threads to complete. [ rosmake ] Results:
[ rosmake ] Built 5 packages with 1 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /home/user/.ros/rosmake/rosmake_output-20121211-152440

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2012-12-11 09:46:27 -0600

Guido gravatar image

updated 2012-12-11 10:08:27 -0600

My guess is your $ROS_ROOT environement variable is not set. You need to source setup.bash(or .sh) in order to set a lot of environement variables.

Try editting your .bashrc and adding the following line:

source "/opt/ros/fuerte/setup.bash"

if you are using bash, or

source "/opt/ros/fuerte/setup.sh"

otherwise.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-12-11 08:36:07 -0600

Seen: 13,600 times

Last updated: Dec 11 '12