Ask Your Question

jinhwan's profile - activity

2017-04-20 16:17:57 -0500 received badge  Notable Question (source)
2016-06-02 12:10:14 -0500 received badge  Famous Question (source)
2016-04-28 04:10:25 -0500 received badge  Popular Question (source)
2016-04-28 02:04:12 -0500 commented question rosmake can't find package, but it's in ROS_PACKAGE_PATH

@ahendrix That was exact my mistake. The problem is solved. thank!

2016-04-27 21:48:15 -0500 received badge  Editor (source)
2016-04-27 21:47:32 -0500 asked a question rosmake can't find package, but it's in ROS_PACKAGE_PATH

I'm trying to build http://wiki.ros.org/april_tags_node . I did these commands to add the package to ros workspace.

$ cd ~/rosbuild_ws
$ rosws set apriltag --svn https://utexas-ros-pkg.googlecode.com/svn/trunk
$ rosws update apriltag
$ source setup.bash

but "$ rosmake apriltag" gives me this error.

[ rosmake ] rosmake starting...                                                 
[ rosmake ] Packages requested are: ['apriltag']                                
[ rosmake ] Logging to directory /home/calanchue/.ros/rosmake/rosmake_output-20160428-114104
[ rosmake ] Expanded args ['apriltag'] to:
[]                                   
[ rosmake ] WARNING: The following args could not be parsed as stacks or packages: ['apriltag']
[ rosmake ] ERROR: No arguments could be parsed into valid package or stack names.

Weird thing is that $ROS_PACKAGE_PATH surely contains apriltag package.

echo $ROS_PACKAGE_PATH
/home/calanchue/rosbuild_ws/apriltag:/home/calanchue/catkin_ws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks
2016-03-18 09:07:52 -0500 received badge  Notable Question (source)
2016-01-23 08:08:15 -0500 received badge  Popular Question (source)
2016-01-21 07:16:26 -0500 asked a question just copying catkin_ws/src from other,and catkin_make causes 'can't find *.h'

I built new system for computer A, so I copied my working version of catkin_ws/src from the computer B. during the copying process, i occluded src/CMakeList.txt, i did 'catkin_init_workspace' to make new CMakeList.txt for the new system. After simple copying the files, i did first catkin_make, source /devel/setup.sh, installing all required dependency. A, B both have same OS(ubuntu vivid) and same ROS(jade), So i didn't expected issues. But when i do 'catkin_make' it cause below messages which said that it can't find header file. What can cause this kind of issue? if i want to move source file, should i care more than simply copying file?

[ 11%] Building CXX object lsd_slam/lsd_slam_core/CMakeFiles/lsdslam.dir/src/IOWrapper/ROS/ROSOutput3DWrapper.cpp.o
/home/isnl/catkin_ws/src/lsd_slam/lsd_slam_core/src/IOWrapper/ROS/ROSOutput3DWrapper.cpp:28:46: fatal error: lsd_slam_viewer/keyframeGraphMsg.h: No such file or directory
 #include "lsd_slam_viewer/keyframeGraphMsg.h"
                                           ^
compilation terminated.
[ 12%] Building CXX object lsd_slam/lsd_slam_core/CMakeFiles/lsdslam.dir/src/IOWrapper/OpenCV/ImageDisplay_OpenCV.cpp.o
lsd_slam/lsd_slam_core/CMakeFiles/lsdslam.dir/build.make:560: recipe for target 'lsd_slam/lsd_slam_core/CMakeFiles/lsdslam.dir/src/IOWrapper/ROS/ROSOutput3DWrapper.cpp.o' failed
make[2]: *** [lsd_slam/lsd_slam_core/CMakeFiles/lsdslam.dir/src/IOWrapper/ROS/ROSOutput3DWrapper.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:4160: recipe for target 'lsd_slam/lsd_slam_core/CMakeFiles/lsdslam.dir/all' failed
make[1]: *** [lsd_slam/lsd_slam_core/CMakeFiles/lsdslam.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed