my ros package could not be bulid
I have installed indigo followed link text successfully in ubuntu 14.04. But when I create a new package, I can not build it using catkin_make
, it only returns
thinker@thinker:~/turtlebot$ catkin_make
Base path: /home/thinker/turtlebot
Source space: /home/thinker/turtlebot/src
Build space: /home/thinker/turtlebot/build
Devel space: /home/thinker/turtlebot/devel
Install space: /home/thinker/turtlebot/install
####
#### Running command: "make cmake_check_build_system" in "/home/thinker/turtlebot/build"
####
####
#### Running command: "make -j4 -l4" in "/home/thinker/turtlebot/build"
####
here is the ROS_PACKAGE_PATH:
/home/thinker/turtlebot/src:/home/thinker/catkin_ws/src:/home/thinker/huilong/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks
what can I do next? thanks
If there is no error output,
catkin_make
finished successfully. If you built your workspace before and there are no changes to anyCMakeLists.txt
, this is the output that you will get. So there is nothing wrong here.Why makes you say that it did not work ??
no,it did not build, when I enter
rosrun
+ the package name, it can not find this package. Or after I enter two TAB, it did return the package name.Without the complete output from your catkin_mke run, it's impossible for us to tell if it built successfully or not. Your previous comment does not necessarily imply a build problem, it could instead imply a bad workspace setup or just an old rospack cache.
http://docs.ros.org/independent/api/r...
Also, the syntax is
rosrun PACKAGE EXECUTABLE
. justrosrun PACKAGE
will output a respective usage message.You you want to use
rosrun
, you have to have an executable file and added it in your CMakeLists.txt. If the package is not found, try tosource
yourdevel/setup.bash