Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error trying to build ar_kinect

Hello everyone,

I need to read some tags using the kinect, However, when I try to build the package ar_kinect using rosmake ar_kinect, I get the following error:

Can anyone help me? I'm working with ROS Indigo on Ubuntu 14.04.

[ rosmake ] rosm`ake st`arting...                                                 
[ rosmake ] Packages requested are: ['ar_kinect']                               
[ rosmake ] Logging to directory /home/leandrosavieira/.ros/rosmake/rosmake_output-20150514-170831
[ rosmake ] Expanded args ['ar_kinect'] to:
['ar_kinect']                       
[rosmake-0] Starting >>> catkin [ make ]                                        
[rosmake-0] Finished <<< catkin ROS_NOBUILD in package catkin
 No Makefile in package catkin
[rosmake-0] Starting >>> genmsg [ make ]                                        
[rosmake-2] Starting >>> cpp_common [ make ]                                    
[rosmake-3] Starting >>> artoolkit [ make ]                                     
[rosmake-1] Starting >>> cmake_modules [ make ]                                 
[rosmake-3] Finished <<< artoolkit ROS_NOBUILD in package artoolkit
 No Makefile in package artoolkit
[rosmake-3] Starting >>> rosgraph [ make ]                                      
[rosmake-0] Finished <<< genmsg ROS_NOBUILD in package genmsg
 No Makefile in package genmsg
[rosmake-0] Starting >>> genlisp [ make ]                                       
[rosmake-2] Finished <<< cpp_common ROS_NOBUILD in package cpp_common
 No Makefile in package cpp_common
[rosmake-1] Finished <<< cmake_modules ROS_NOBUILD in package cmake_modules
 No Makefile in package cmake_modules
[rosmake-3] Finished <<< rosgraph ROS_NOBUILD in package rosgraph
 No Makefile in package rosgraph
[rosmake-1] Starting >>> genpy [ make ]                                         
[rosmake-3] Starting >>> gencpp [ make ]                                        
[rosmake-0] Finished <<< genlisp ROS_NOBUILD in package genlisp
 No Makefile in package genlisp
[rosmake-2] Starting >>> rostime [ make ]                                       
[rosmake-0] Starting >>> rospack [ make ]                                       
[rosmake-3] Finished <<< gencpp ROS_NOBUILD in package gencpp
 No Makefile in package gencpp
[rosmake-3] Starting >>> roslang [ make ]                                       
[rosmake-1] Finished <<< genpy ROS_NOBUILD in package genpy
 No Makefile in package genpy
[rosmake-0] Finished <<< rospack ROS_NOBUILD in package rospack
 No Makefile in package rospack
[rosmake-0] Starting >>> roslib [ make ]                                        
[rosmake-1] Starting >>> message_generation [ make ]                            
[rosmake-3] Finished <<< roslang ROS_NOBUILD in package roslang
 No Makefile in package roslang
[rosmake-3] Starting >>> xmlrpcpp [ make ]                                      
[rosmake-1] Finished <<< message_generation ROS_NOBUILD in package message_generation
 No Makefile in package message_generation
[rosmake-1] Starting >>> rosparam [ make ]                                      
[rosmake-2] Finished <<< rostime ROS_NOBUILD in package rostime
 No Makefile in package rostime
[rosmake-0] Finished <<< roslib ROS_NOBUILD in package roslib
 No Makefile in package roslib
[rosmake-2] Starting >>> roscpp_traits [ make ]                                 
[rosmake-3] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp
 No Makefile in package xmlrpcpp
[rosmake-0] Starting >>> rosunit [ make ]                                       
[rosmake-1] Finished <<< rosparam ROS_NOBUILD in package rosparam
 No Makefile in package rosparam
[rosmake-3] Starting >>> rosmaster [ make ]                                     
[rosmake-1] Starting >>> rosclean [ make ]                                      
[rosmake-0] Finished <<< rosunit ROS_NOBUILD in package rosunit
 No Makefile in package rosunit
[rosmake-3] Finished <<< rosmaster ROS_NOBUILD in package rosmaster
 No Makefile in package rosmaster
[rosmake-2] Finished <<< roscpp_traits ROS_NOBUILD in package roscpp_traits
 No Makefile in package roscpp_traits
[rosmake-3] Starting >>> class_loader [ make ]                                  
[rosmake-0] Starting >>> roslz4 [ make ]                                        
[rosmake-2] Starting >>> roscpp_serialization [ make ]                          
[rosmake-1] Finished <<< rosclean ROS_NOBUILD in package rosclean
 No Makefile in package rosclean
[rosmake-1] Starting >>> angles [ make ]                                        
[rosmake-2] Finished <<< roscpp_serialization ROS_NOBUILD in package roscpp_serialization
 No Makefile in package roscpp_serialization
[rosmake-1] Finished <<< angles ROS_NOBUILD in package angles
 No Makefile in package angles
[rosmake-3] Finished <<< class_loader ROS_NOBUILD in package class_loader
 No Makefile in package class_loader
[rosmake-0] Finished <<< roslz4 ROS_NOBUILD in package roslz4
 No Makefile in package roslz4
[rosmake-2] Starting >>> smclib [ make ]                                        
[rosmake-0] Starting >>> rosbag_storage [ make ]                                
[rosmake-3] Starting >>> message_runtime [ make ]                               
[rosmake-2] Finished <<< smclib ROS_NOBUILD in package smclib
 No Makefile in package smclib
[rosmake-3] Finished <<< message_runtime ROS_NOBUILD in package message_runtime
 No Makefile in package message_runtime
[rosmake-3] Starting >>> std_msgs [ make ]                                      
[rosmake-2] Starting >>> rosbuild [ make ]                                      
[rosmake-3] Finished <<< std_msgs ROS_NOBUILD in package std_msgs
 No Makefile in package std_msgs
[rosmake-3] Starting >>> geometry_msgs [ make ]                                 
[rosmake-1] Starting >>> rosgraph_msgs [ make ]                                 
[rosmake-2] Finished <<< rosbuild ROS_NOBUILD in package rosbuild
 No Makefile in package rosbuild
[rosmake-2] Starting >>> rosconsole [ make ]                                    
[rosmake-0] Finished <<< rosbag_storage ROS_NOBUILD in package rosbag_storage
 No Makefile in package rosbag_storage
[rosmake-0] Starting >>> actionlib_msgs [ make ]                                
[rosmake-1] Finished <<< rosgraph_msgs ROS_NOBUILD in package rosgraph_msgs
 No Makefile in package rosgraph_msgs
[rosmake-1] Starting >>> bond [ make ]                                          
[rosmake-3] Finished <<< geometry_msgs ROS_NOBUILD in package geometry_msgs
 No Makefile in package geometry_msgs
[rosmake-3] Starting >>> visualization_msgs [ make ]                            
[rosmake-2] Finished <<< rosconsole ROS_NOBUILD in package rosconsole
 No Makefile in package rosconsole
[rosmake-2] Starting >>> roscpp [ make ]                                        
[rosmake-0] Finished <<< actionlib_msgs ROS_NOBUILD in package actionlib_msgs
 No Makefile in package actionlib_msgs
[rosmake-1] Finished <<< bond ROS_NOBUILD in package bond
 No Makefile in package bond
[rosmake-0] Starting >>> resource_retriever [ make ]                            
[rosmake-1] Starting >>> pluginlib [ make ]                                     
[rosmake-3] Finished <<< visualization_msgs ROS_NOBUILD in package visualization_msgs
 No Makefile in package visualization_msgs
[rosmake-0] Finished <<< resource_retriever ROS_NOBUILD in package resource_retriever
 No Makefile in package resource_retriever
[rosmake-2] Finished <<< roscpp ROS_NOBUILD in package roscpp
 No Makefile in package roscpp
[rosmake-3] Starting >>> rosout [ make ]                                        
[rosmake-1] Finished <<< pluginlib ROS_NOBUILD in package pluginlib
 No Makefile in package pluginlib
[rosmake-2] Starting >>> rospy [ make ]                                         
[rosmake-0] Starting >>> sensor_msgs [ make ]                                   
[rosmake-1] Starting >>> tf2_msgs [ make ]                                      
[rosmake-2] Finished <<< rospy ROS_NOBUILD in package rospy
 No Makefile in package rospy
[rosmake-2] Starting >>> bondcpp [ make ]                                       
[rosmake-3] Finished <<< rosout ROS_NOBUILD in package rosout
 No Makefile in package rosout
[rosmake-3] Starting >>> roslaunch [ make ]                                     
[rosmake-1] Finished <<< tf2_msgs ROS_NOBUILD in package tf2_msgs
 No Makefile in package tf2_msgs
[rosmake-1] Starting >>> tf2 [ make ]                                           
[rosmake-0] Finished <<< sensor_msgs ROS_NOBUILD in package sensor_msgs
 No Makefile in package sensor_msgs
[rosmake-0] Starting >>> cv_bridge [ make ]                                     
[rosmake-3] Finished <<< roslaunch ROS_NOBUILD in package roslaunch
 No Makefile in package roslaunch
[rosmake-3] Starting >>> rostest [ make ]                                       
[rosmake-2] Finished <<< bondcpp ROS_NOBUILD in package bondcpp
 No Makefile in package bondcpp
[rosmake-1] Finished <<< tf2 ROS_NOBUILD in package tf2
 No Makefile in package tf2
[rosmake-2] Starting >>> pcl_msgs [ make ]                                      
[rosmake-1] Starting >>> tf2_py [ make ]                                        
[rosmake-0] Finished <<< cv_bridge ROS_NOBUILD in package cv_bridge
 No Makefile in package cv_bridge
[rosmake-3] Finished <<< rostest ROS_NOBUILD in package rostest
 No Makefile in package rostest
[rosmake-3] Starting >>> message_filters [ make ]                               
[rosmake-0] Starting >>> topic_tools [ make ]                                   
[rosmake-2] Finished <<< pcl_msgs ROS_NOBUILD in package pcl_msgs7/68 Complete ]
 No Makefile in package pcl_msgs
[rosmake-1] Finished <<< tf2_py ROS_NOBUILD in package tf2_py
 No Makefile in package tf2_py
[rosmake-2] Starting >>> nodelet [ make ]                                       
[rosmake-1] Starting >>> pcl_conversions [ make ]                               
[rosmake-3] Finished <<< message_filters ROS_NOBUILD in package message_filters
 No Makefile in package message_filters
[rosmake-3] Starting >>> image_transport [ make ]                               
[rosmake-0] Finished <<< topic_tools ROS_NOBUILD in package topic_tools
 No Makefile in package topic_tools
[rosmake-2] Finished <<< nodelet ROS_NOBUILD in package nodelet
 No Makefile in package nodelet
[rosmake-0] Starting >>> rosbag [ make ]                                        
[rosmake-3] Finished <<< image_transport ROS_NOBUILD in package image_transport
 No Makefile in package image_transport
[rosmake-0] Finished <<< rosbag ROS_NOBUILD in package rosbag
 No Makefile in package rosbag
[rosmake-1] Finished <<< pcl_conversions ROS_NOBUILD in package pcl_conversions
 No Makefile in package pcl_conversions
[rosmake-0] Starting >>> rostopic [ make ]                                      
[rosmake-2] Starting >>> rosmsg [ make ]                                        
[rosmake-0] Finished <<< rostopic ROS_NOBUILD in package rostopic
 No Makefile in package rostopic
[rosmake-1] Starting >>> rosnode [ make ]                                       
[rosmake-1] Finished <<< rosnode ROS_NOBUILD in package rosnode
 No Makefile in package rosnode
[rosmake-2] Finished <<< rosmsg ROS_NOBUILD in package rosmsg
 No Makefile in package rosmsg
[rosmake-2] Starting >>> rosservice [ make ]                                    
[rosmake-1] Starting >>> actionlib [ make ]                                     
[rosmake-2] Finished <<< rosservice ROS_NOBUILD in package rosservice
 No Makefile in package rosservice
[rosmake-2] Starting >>> roswtf [ make ]                                        
[rosmake-1] Finished <<< actionlib ROS_NOBUILD in package actionlib
 No Makefile in package actionlib
[rosmake-1] Starting >>> tf2_ros [ make ]                                       
[rosmake-3] Starting >>> dynamic_reconfigure [ make ]                           
[rosmake-3] Finished <<< dynamic_reconfigure ROS_NOBUILD in package dynamic_reconfigure
 No Makefile in package dynamic_reconfigure
[rosmake-3] Starting >>> nodelet_topic_tools [ make ]                           
[rosmake-2] Finished <<< roswtf ROS_NOBUILD in package roswtf
 No Makefile in package roswtf
[rosmake-3] Finished <<< nodelet_topic_tools ROS_NOBUILD in package nodelet_topic_tools
 No Makefile in package nodelet_topic_tools
[rosmake-1] Finished <<< tf2_ros ROS_NOBUILD in package tf2_ros
 No Makefile in package tf2_ros
[rosmake-1] Starting >>> tf [ make ]                                            
[rosmake-1] Finished <<< tf ROS_NOBUILD in package tf
 No Makefile in package tf
[rosmake-1] Starting >>> ar_pose [ make ]                                       
[rosmake-3] Starting >>> pcl_ros [ make ]                                       
[rosmake-1] Finished <<< ar_pose ROS_NOBUILD in package ar_pose
 No Makefile in package ar_pose
[rosmake-3] Finished <<< pcl_ros ROS_NOBUILD in package pcl_ros
 No Makefile in package pcl_ros
[rosmake-3] Starting >>> ar_kinect [ make ]                                     
[ rosmake ] Last 40 lines_kinect: 3.1 sec ]          [ 1 Active 67/68 Complete ]
{-------------------------------------------------------------------------------
  -- Using CMAKE_PREFIX_PATH: /home/leandrosavieira/catkin_ws/devel;/opt/ros/indigo
  -- This workspace overlays: /home/leandrosavieira/catkin_ws/devel;/opt/ros/indigo
  -- Using PYTHON_EXECUTABLE: /usr/bin/python
  -- Using Debian Python package layout
  -- Using empy: /usr/bin/empy
  -- Using CATKIN_ENABLE_TESTING: ON
  -- Skip enable_testing() for dry packages
  -- Using CATKIN_TEST_RESULTS_DIR: /home/leandrosavieira/catkin_ws/src/ar_kinect/build/test_results
  -- Found gtest sources under '/usr/src/gtest': gtests will be built
  -- Using Python nosetests: /usr/bin/nosetests-2.7
  -- catkin 0.6.11
  -- Using these message generators: gencpp;genlisp;genpy
  [rosbuild] Including /opt/ros/indigo/share/roslisp/rosbuild/roslisp.cmake
  [rosbuild] Including /opt/ros/indigo/share/roscpp/rosbuild/roscpp.cmake
  [rosbuild] Including /opt/ros/indigo/share/rospy/rosbuild/rospy.cmake
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /home/leandrosavieira/catkin_ws/src/ar_kinect/build
  cd build && make -j4 -l4
  make[1]: Entrando no diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[2]: Entrando no diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[3]: Entrando no diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[3]: Saindo do diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  [  0%] Built target rospack_genmsg_libexe
  make[3]: Entrando no diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[3]: Saindo do diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  [  0%] Built target rosbuild_precompile
  make[3]: Entrando no diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[3]: Saindo do diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[3]: Entrando no diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  Linking CXX executable ../bin/ar_kinect
  /usr/bin/ld: não foi possível encontrar -lar_pose
  collect2: error: ld returned 1 exit status
  make[3]: ** [../bin/ar_kinect] Erro 1
  make[3]: Saindo do diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[2]: ** [CMakeFiles/ar_kinect.dir/all] Erro 2
  make[2]: Saindo do diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[1]: ** [all] Erro 2
  make[1]: Saindo do diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package ar_kinect written to:
[ rosmake ]    /home/leandrosavieira/.ros/rosmake/rosmake_output-20150514-170831/ar_kinect/build_output.log
[rosmake-3] Finished <<< ar_kinect [FAIL] [ 3.23 seconds ]                      
[ rosmake ] Halting due to failure in package ar_kinect. 
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:                                                            
[ rosmake ] Built 68 packages with 1 failures.                                  
[ rosmake ] Summary output to directory                                         
[ rosmake ] /home/leandrosavieira/.ros/rosmake/rosmake_output-20150514-170831

Error trying to build Problem building ar_kinect

Hello everyone,

I need to read some tags using the kinect, However, when I try to build the package ar_kinect using rosmake ar_kinect, I get the following error:

Can anyone help me? I'm working with ROS Indigo on Ubuntu 14.04.

I need to read some tags through artoolkit using a kinect camera. I had cloned ar_kinect into my catkin_workspace and if I rospack find ar_kinect I get /home/leandrosavieira/catkin_ws/src/ar_kinect.

However, when I try to build the catkin_workspace through catkin_make --pkg ar_kinect, I receive an error that the package is not found:

[ rosmake ] rosm`ake st`arting... Base path: /home/leandrosavieira/catkin_ws
Source space: /home/leandrosavieira/catkin_ws/src
Build space: /home/leandrosavieira/catkin_ws/build
Devel space: /home/leandrosavieira/catkin_ws/devel
Install space: /home/leandrosavieira/catkin_ws/install
Packages "ar_kinect" not found in the workspace

Am I doing anything wrong? I'm new with ROS and I need to make this work soon.

--EDIT 1:

I also tried to build the package ar_kinect using rosmake ar_kinect, but I get the following error:

[ rosmake ] rosmake starting...                                                 
[ rosmake ] Packages requested are: ['ar_kinect']                               
[ rosmake ] Logging to directory /home/leandrosavieira/.ros/rosmake/rosmake_output-20150514-170831
[ rosmake ] Expanded args ['ar_kinect'] to:
['ar_kinect']                       
[rosmake-0] Starting >>> catkin [ make ]                                        
[rosmake-0] Finished <<< catkin ROS_NOBUILD in package catkin
 No Makefile in package catkin
[rosmake-0] Starting >>> genmsg [ make ]                                        
[rosmake-2] Starting >>> cpp_common [ make ]                                    
[rosmake-3] Starting >>> artoolkit [ make ]                                     
[rosmake-1] Starting >>> cmake_modules [ make ]                                 
[rosmake-3] Finished <<< artoolkit ROS_NOBUILD in package artoolkit
 No Makefile in package artoolkit
[rosmake-3] Starting >>> rosgraph [ make ]                                      
[rosmake-0] Finished <<< genmsg ROS_NOBUILD in package genmsg
 No Makefile in package genmsg
[rosmake-0] Starting >>> genlisp [ make ]                                       
[rosmake-2] Finished <<< cpp_common ROS_NOBUILD in package cpp_common
 No Makefile in package cpp_common
[rosmake-1] Finished <<< cmake_modules ROS_NOBUILD in package cmake_modules
 No Makefile in package cmake_modules
[rosmake-3] Finished <<< rosgraph ROS_NOBUILD in package rosgraph
 No Makefile in package rosgraph
[rosmake-1] Starting >>> genpy [ make ]                                         
[rosmake-3] Starting >>> gencpp [ make ]                                        
[rosmake-0] Finished <<< genlisp ROS_NOBUILD in package genlisp
 No Makefile in package genlisp
[rosmake-2] Starting >>> rostime [ make ]                                       
[rosmake-0] Starting >>> rospack [ make ]                                       
[rosmake-3] Finished <<< gencpp ROS_NOBUILD in package gencpp
 No Makefile in package gencpp
[rosmake-3] Starting >>> roslang [ make ]                                       
[rosmake-1] Finished <<< genpy ROS_NOBUILD in package genpy
 No Makefile in package genpy
[rosmake-0] Finished <<< rospack ROS_NOBUILD in package rospack
 No Makefile in package rospack
[rosmake-0] Starting >>> roslib [ make ]                                        
[rosmake-1] Starting >>> message_generation [ make ]                            
[rosmake-3] Finished <<< roslang ROS_NOBUILD in package roslang
 No Makefile in package roslang
[rosmake-3] Starting >>> xmlrpcpp [ make ]                                      
[rosmake-1] Finished <<< message_generation ROS_NOBUILD in package message_generation
 No Makefile in package message_generation
[rosmake-1] Starting >>> rosparam [ make ]                                      
[rosmake-2] Finished <<< rostime ROS_NOBUILD in package rostime
 No Makefile in package rostime
[rosmake-0] Finished <<< roslib ROS_NOBUILD in package roslib
 No Makefile in package roslib
[rosmake-2] Starting >>> roscpp_traits [ make ]                                 
[rosmake-3] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp
 No Makefile in package xmlrpcpp
[rosmake-0] Starting >>> rosunit [ make ]                                       
[rosmake-1] Finished <<< rosparam ROS_NOBUILD in package rosparam
 No Makefile in package rosparam
[rosmake-3] Starting >>> rosmaster [ make ]                                     
[rosmake-1] Starting >>> rosclean [ make ]                                      
[rosmake-0] Finished <<< rosunit ROS_NOBUILD in package rosunit
 No Makefile in package rosunit
[rosmake-3] Finished <<< rosmaster ROS_NOBUILD in package rosmaster
 No Makefile in package rosmaster
[rosmake-2] Finished <<< roscpp_traits ROS_NOBUILD in package roscpp_traits
 No Makefile in package roscpp_traits
[rosmake-3] Starting >>> class_loader [ make ]                                  
[rosmake-0] Starting >>> roslz4 [ make ]                                        
[rosmake-2] Starting >>> roscpp_serialization [ make ]                          
[rosmake-1] Finished <<< rosclean ROS_NOBUILD in package rosclean
 No Makefile in package rosclean
[rosmake-1] Starting >>> angles [ make ]                                        
[rosmake-2] Finished <<< roscpp_serialization ROS_NOBUILD in package roscpp_serialization
 No Makefile in package roscpp_serialization
[rosmake-1] Finished <<< angles ROS_NOBUILD in package angles
 No Makefile in package angles
[rosmake-3] Finished <<< class_loader ROS_NOBUILD in package class_loader
 No Makefile in package class_loader
[rosmake-0] Finished <<< roslz4 ROS_NOBUILD in package roslz4
 No Makefile in package roslz4
[rosmake-2] Starting >>> smclib [ make ]                                        
[rosmake-0] Starting >>> rosbag_storage [ make ]                                
[rosmake-3] Starting >>> message_runtime [ make ]                               
[rosmake-2] Finished <<< smclib ROS_NOBUILD in package smclib
 No Makefile in package smclib
[rosmake-3] Finished <<< message_runtime ROS_NOBUILD in package message_runtime
 No Makefile in package message_runtime
[rosmake-3] Starting >>> std_msgs [ make ]                                      
[rosmake-2] Starting >>> rosbuild [ make ]                                      
[rosmake-3] Finished <<< std_msgs ROS_NOBUILD in package std_msgs
 No Makefile in package std_msgs
[rosmake-3] Starting >>> geometry_msgs [ make ]                                 
[rosmake-1] Starting >>> rosgraph_msgs [ make ]                                 
[rosmake-2] Finished <<< rosbuild ROS_NOBUILD in package rosbuild
 No Makefile in package rosbuild
[rosmake-2] Starting >>> rosconsole [ make ]                                    
[rosmake-0] Finished <<< rosbag_storage ROS_NOBUILD in package rosbag_storage
 No Makefile in package rosbag_storage
[rosmake-0] Starting >>> actionlib_msgs [ make ]                                
[rosmake-1] Finished <<< rosgraph_msgs ROS_NOBUILD in package rosgraph_msgs
 No Makefile in package rosgraph_msgs
[rosmake-1] Starting >>> bond [ make ]                                          
[rosmake-3] Finished <<< geometry_msgs ROS_NOBUILD in package geometry_msgs
 No Makefile in package geometry_msgs
[rosmake-3] Starting >>> visualization_msgs [ make ]                            
[rosmake-2] Finished <<< rosconsole ROS_NOBUILD in package rosconsole
 No Makefile in package rosconsole
[rosmake-2] Starting >>> roscpp [ make ]                                        
[rosmake-0] Finished <<< actionlib_msgs ROS_NOBUILD in package actionlib_msgs
 No Makefile in package actionlib_msgs
[rosmake-1] Finished <<< bond ROS_NOBUILD in package bond
 No Makefile in package bond
[rosmake-0] Starting >>> resource_retriever [ make ]                            
[rosmake-1] Starting >>> pluginlib [ make ]                                     
[rosmake-3] Finished <<< visualization_msgs ROS_NOBUILD in package visualization_msgs
 No Makefile in package visualization_msgs
[rosmake-0] Finished <<< resource_retriever ROS_NOBUILD in package resource_retriever
 No Makefile in package resource_retriever
[rosmake-2] Finished <<< roscpp ROS_NOBUILD in package roscpp
 No Makefile in package roscpp
[rosmake-3] Starting >>> rosout [ make ]                                        
[rosmake-1] Finished <<< pluginlib ROS_NOBUILD in package pluginlib
 No Makefile in package pluginlib
[rosmake-2] Starting >>> rospy [ make ]                                         
[rosmake-0] Starting >>> sensor_msgs [ make ]                                   
[rosmake-1] Starting >>> tf2_msgs [ make ]                                      
[rosmake-2] Finished <<< rospy ROS_NOBUILD in package rospy
 No Makefile in package rospy
[rosmake-2] Starting >>> bondcpp [ make ]                                       
[rosmake-3] Finished <<< rosout ROS_NOBUILD in package rosout
 No Makefile in package rosout
[rosmake-3] Starting >>> roslaunch [ make ]                                     
[rosmake-1] Finished <<< tf2_msgs ROS_NOBUILD in package tf2_msgs
 No Makefile in package tf2_msgs
[rosmake-1] Starting >>> tf2 [ make ]                                           
[rosmake-0] Finished <<< sensor_msgs ROS_NOBUILD in package sensor_msgs
 No Makefile in package sensor_msgs
[rosmake-0] Starting >>> cv_bridge [ make ]                                     
[rosmake-3] Finished <<< roslaunch ROS_NOBUILD in package roslaunch
 No Makefile in package roslaunch
[rosmake-3] Starting >>> rostest [ make ]                                       
[rosmake-2] Finished <<< bondcpp ROS_NOBUILD in package bondcpp
 No Makefile in package bondcpp
[rosmake-1] Finished <<< tf2 ROS_NOBUILD in package tf2
 No Makefile in package tf2
[rosmake-2] Starting >>> pcl_msgs [ make ]                                      
[rosmake-1] Starting >>> tf2_py [ make ]                                        
[rosmake-0] Finished <<< cv_bridge ROS_NOBUILD in package cv_bridge
 No Makefile in package cv_bridge
[rosmake-3] Finished <<< rostest ROS_NOBUILD in package rostest
 No Makefile in package rostest
[rosmake-3] Starting >>> message_filters [ make ]                               
[rosmake-0] Starting >>> topic_tools [ make ]                                   
[rosmake-2] Finished <<< pcl_msgs ROS_NOBUILD in package pcl_msgs7/68 Complete ]
 No Makefile in package pcl_msgs
[rosmake-1] Finished <<< tf2_py ROS_NOBUILD in package tf2_py
 No Makefile in package tf2_py
[rosmake-2] Starting >>> nodelet [ make ]                                       
[rosmake-1] Starting >>> pcl_conversions [ make ]                               
[rosmake-3] Finished <<< message_filters ROS_NOBUILD in package message_filters
 No Makefile in package message_filters
[rosmake-3] Starting >>> image_transport [ make ]                               
[rosmake-0] Finished <<< topic_tools ROS_NOBUILD in package topic_tools
 No Makefile in package topic_tools
[rosmake-2] Finished <<< nodelet ROS_NOBUILD in package nodelet
 No Makefile in package nodelet
[rosmake-0] Starting >>> rosbag [ make ]                                        
[rosmake-3] Finished <<< image_transport ROS_NOBUILD in package image_transport
 No Makefile in package image_transport
[rosmake-0] Finished <<< rosbag ROS_NOBUILD in package rosbag
 No Makefile in package rosbag
[rosmake-1] Finished <<< pcl_conversions ROS_NOBUILD in package pcl_conversions
 No Makefile in package pcl_conversions
[rosmake-0] Starting >>> rostopic [ make ]                                      
[rosmake-2] Starting >>> rosmsg [ make ]                                        
[rosmake-0] Finished <<< rostopic ROS_NOBUILD in package rostopic
 No Makefile in package rostopic
[rosmake-1] Starting >>> rosnode [ make ]                                       
[rosmake-1] Finished <<< rosnode ROS_NOBUILD in package rosnode
 No Makefile in package rosnode
[rosmake-2] Finished <<< rosmsg ROS_NOBUILD in package rosmsg
 No Makefile in package rosmsg
[rosmake-2] Starting >>> rosservice [ make ]                                    
[rosmake-1] Starting >>> actionlib [ make ]                                     
[rosmake-2] Finished <<< rosservice ROS_NOBUILD in package rosservice
 No Makefile in package rosservice
[rosmake-2] Starting >>> roswtf [ make ]                                        
[rosmake-1] Finished <<< actionlib ROS_NOBUILD in package actionlib
 No Makefile in package actionlib
[rosmake-1] Starting >>> tf2_ros [ make ]                                       
[rosmake-3] Starting >>> dynamic_reconfigure [ make ]                           
[rosmake-3] Finished <<< dynamic_reconfigure ROS_NOBUILD in package dynamic_reconfigure
 No Makefile in package dynamic_reconfigure
[rosmake-3] Starting >>> nodelet_topic_tools [ make ]                           
[rosmake-2] Finished <<< roswtf ROS_NOBUILD in package roswtf
 No Makefile in package roswtf
[rosmake-3] Finished <<< nodelet_topic_tools ROS_NOBUILD in package nodelet_topic_tools
 No Makefile in package nodelet_topic_tools
[rosmake-1] Finished <<< tf2_ros ROS_NOBUILD in package tf2_ros
 No Makefile in package tf2_ros
[rosmake-1] Starting >>> tf [ make ]                                            
[rosmake-1] Finished <<< tf ROS_NOBUILD in package tf
 No Makefile in package tf
[rosmake-1] Starting >>> ar_pose [ make ]                                       
[rosmake-3] Starting >>> pcl_ros [ make ]                                       
[rosmake-1] Finished <<< ar_pose ROS_NOBUILD in package ar_pose
 No Makefile in package ar_pose
[rosmake-3] Finished <<< pcl_ros ROS_NOBUILD in package pcl_ros
 No Makefile in package pcl_ros
[rosmake-3] Starting >>> ar_kinect [ make ]                                     
[ rosmake ] Last 40 lines_kinect: 3.1 sec ]          [ 1 Active 67/68 Complete ]
{-------------------------------------------------------------------------------
  -- Using CMAKE_PREFIX_PATH: /home/leandrosavieira/catkin_ws/devel;/opt/ros/indigo
  -- This workspace overlays: /home/leandrosavieira/catkin_ws/devel;/opt/ros/indigo
  -- Using PYTHON_EXECUTABLE: /usr/bin/python
  -- Using Debian Python package layout
  -- Using empy: /usr/bin/empy
  -- Using CATKIN_ENABLE_TESTING: ON
  -- Skip enable_testing() for dry packages
  -- Using CATKIN_TEST_RESULTS_DIR: /home/leandrosavieira/catkin_ws/src/ar_kinect/build/test_results
  -- Found gtest sources under '/usr/src/gtest': gtests will be built
  -- Using Python nosetests: /usr/bin/nosetests-2.7
  -- catkin 0.6.11
  -- Using these message generators: gencpp;genlisp;genpy
  [rosbuild] Including /opt/ros/indigo/share/roslisp/rosbuild/roslisp.cmake
  [rosbuild] Including /opt/ros/indigo/share/roscpp/rosbuild/roscpp.cmake
  [rosbuild] Including /opt/ros/indigo/share/rospy/rosbuild/rospy.cmake
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /home/leandrosavieira/catkin_ws/src/ar_kinect/build
  cd build && make -j4 -l4
  make[1]: Entrando no diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[2]: Entrando no diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[3]: Entrando no diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[3]: Saindo do diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  [  0%] Built target rospack_genmsg_libexe
  make[3]: Entrando no diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[3]: Saindo do diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  [  0%] Built target rosbuild_precompile
  make[3]: Entrando no diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[3]: Saindo do diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[3]: Entrando no diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  Linking CXX executable ../bin/ar_kinect
  /usr/bin/ld: não foi possível encontrar -lar_pose
  collect2: error: ld returned 1 exit status
  make[3]: ** [../bin/ar_kinect] Erro 1
  make[3]: Saindo do diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[2]: ** [CMakeFiles/ar_kinect.dir/all] Erro 2
  make[2]: Saindo do diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[1]: ** [all] Erro 2
  make[1]: Saindo do diretório `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package ar_kinect written to:
[ rosmake ]    /home/leandrosavieira/.ros/rosmake/rosmake_output-20150514-170831/ar_kinect/build_output.log
[rosmake-3] Finished <<< ar_kinect [FAIL] [ 3.23 seconds ]                      
[ rosmake ] Halting due to failure in package ar_kinect. 
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:                                                            
[ rosmake ] Built 68 packages with 1 failures.                                  
[ rosmake ] Summary output to directory                                         
[ rosmake ] /home/leandrosavieira/.ros/rosmake/rosmake_output-20150514-170831

Problem building ar_kinect

Hello everyone,

Can anyone help me? I'm working with ROS Indigo on Ubuntu 14.04.

I need to read some tags through artoolkit using a kinect camera. I had cloned ar_kinect into my catkin_workspace and if I rospack find ar_kinect I get /home/leandrosavieira/catkin_ws/src/ar_kinect.

However, when I try to build the catkin_workspace through catkin_make --pkg ar_kinect, I receive an error that the package is not found:

Base path: /home/leandrosavieira/catkin_ws
Source space: /home/leandrosavieira/catkin_ws/src
Build space: /home/leandrosavieira/catkin_ws/build
Devel space: /home/leandrosavieira/catkin_ws/devel
Install space: /home/leandrosavieira/catkin_ws/install
Packages "ar_kinect" not found in the workspace

Am I doing anything wrong? I'm new with ROS and I need to make this work soon.

--EDIT 1:

I also tried to build the package ar_kinect using rosmake ar_kinect, but I get the following error:

[ rosmake ] rosmake starting...                                                 
[ rosmake ] Packages requested are: ['ar_kinect']                               
[ rosmake ] Logging to directory /home/leandrosavieira/.ros/rosmake/rosmake_output-20150514-170831
[ rosmake ] Expanded args ['ar_kinect'] to:
['ar_kinect']                       
[rosmake-0] Starting >>> catkin [ make ]                                        
[rosmake-0] Finished <<< catkin ROS_NOBUILD in package catkin
 No Makefile in package catkin
[rosmake-1] Starting >>> tf [ make ]                                            
[rosmake-1] Finished <<< tf ROS_NOBUILD in package tf
 No Makefile in package tf
[rosmake-1] Starting >>> ar_pose [ make ]                                       
[rosmake-3] Starting >>> pcl_ros [ make ]                                       
[rosmake-1] Finished <<< ar_pose ROS_NOBUILD in package ar_pose
 No Makefile in package ar_pose
[rosmake-3] Finished <<< pcl_ros ROS_NOBUILD in package pcl_ros
 No Makefile in package pcl_ros
[rosmake-3] Starting >>> ar_kinect [ make ]                                     
[ rosmake ] Last 40 lines_kinect: 3.1 sec ]          [ 1 Active 67/68 Complete ]
{-------------------------------------------------------------------------------
  -- Using CMAKE_PREFIX_PATH: /home/leandrosavieira/catkin_ws/devel;/opt/ros/indigo
  -- This workspace overlays: /home/leandrosavieira/catkin_ws/devel;/opt/ros/indigo
  -- Using PYTHON_EXECUTABLE: /usr/bin/python
  -- Using Debian Python package layout
  -- Using empy: /usr/bin/empy
  -- Using CATKIN_ENABLE_TESTING: ON
  -- Skip enable_testing() for dry packages
  -- Using CATKIN_TEST_RESULTS_DIR: /home/leandrosavieira/catkin_ws/src/ar_kinect/build/test_results
  -- Found gtest sources under '/usr/src/gtest': gtests will be built
  -- Using Python nosetests: /usr/bin/nosetests-2.7
  -- catkin 0.6.11
  -- Using these message generators: gencpp;genlisp;genpy
  [rosbuild] Including /opt/ros/indigo/share/roslisp/rosbuild/roslisp.cmake
  [rosbuild] Including /opt/ros/indigo/share/roscpp/rosbuild/roscpp.cmake
  [rosbuild] Including /opt/ros/indigo/share/rospy/rosbuild/rospy.cmake
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /home/leandrosavieira/catkin_ws/src/ar_kinect/build
  cd build && make -j4 -l4
  make[1]: Entrando no diretório Entering directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[2]: Entrando no diretório Entering directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[3]: Entrando no diretório Entering directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[3]: Saindo do diretório Leaving directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  [  0%] Built target rospack_genmsg_libexe
  make[3]: Entrando no diretório Entering directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[3]: Saindo do diretório Leaving directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  [  0%] Built target rosbuild_precompile
  make[3]: Entrando no diretório Entering directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[3]: Saindo do diretório Leaving directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[3]: Entrando no diretório Entering directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  Linking CXX executable ../bin/ar_kinect
  /usr/bin/ld: não foi possível encontrar it was not possible to find -lar_pose
  collect2: error: ld returned 1 exit status
  make[3]: ** [../bin/ar_kinect] Erro Error 1
  make[3]: Saindo do diretório Leaving directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[2]: ** [CMakeFiles/ar_kinect.dir/all] Erro Error 2
  make[2]: Saindo do diretório Leaving directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
  make[1]: ** [all] Erro Error 2
  make[1]: Saindo do diretório Leaving directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package ar_kinect written to:
[ rosmake ]    /home/leandrosavieira/.ros/rosmake/rosmake_output-20150514-170831/ar_kinect/build_output.log
[rosmake-3] Finished <<< ar_kinect [FAIL] [ 3.23 seconds ]                      
[ rosmake ] Halting due to failure in package ar_kinect. 
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:                                                            
[ rosmake ] Built 68 packages with 1 failures.                                  
[ rosmake ] Summary output to directory                                         
[ rosmake ] /home/leandrosavieira/.ros/rosmake/rosmake_output-20150514-170831