[ros-users] Failed to make object_recognition stack
dlmypr
dlmypr at gmail.com
Fri Feb 11 10:01:00 UTC 2011
I am trying to build object_recognition stack. But I couldn't succeeded.
Below are the steps that I followed for installing this stack. Thanks for
your help..
$ svn co `roslocate svn object_recognition`
$ rosdep install object_recognition
######################################################################################################
######################################################################################################
Failed to find stack for package [rbrief]
Failed to load rosdep.yaml for package [rbrief]:Cannot locate installation
of package rbrief: [rospack] couldn't find package [rbrief].
ROS_ROOT[/opt/ros/cturtle/ros]
ROS_PACKAGE_PATH[/home/yolga/ros/stacks:/opt/ros/cturtle/stacks:/home/yolga/ros:/home/ahamer/ros:/opt/ros/diamondback/stacks]
[rosstack] couldn't find dependency [drivers_experimental] of
[object_recognition]
[rosstack] missing dependency
Failed to find stack for package [posest]
Failed to load rosdep.yaml for package [posest]:Cannot locate installation
of package posest: [rospack] couldn't find package [posest].
ROS_ROOT[/opt/ros/cturtle/ros]
ROS_PACKAGE_PATH[/home/yolga/ros/stacks:/opt/ros/cturtle/stacks:/home/yolga/ros:/home/ahamer/ros:/opt/ros/diamondback/stacks]
Failed to find stack for package [rbrief]
Failed to load rosdep.yaml for package [rbrief]:Cannot locate installation
of package rbrief: [rospack] couldn't find package [rbrief].
ROS_ROOT[/opt/ros/cturtle/ros]
ROS_PACKAGE_PATH[/home/yolga/ros/stacks:/opt/ros/cturtle/stacks:/home/yolga/ros:/home/ahamer/ros:/opt/ros/diamondback/stacks]
Failed to find stack for package [rbrief]
Failed to load rosdep.yaml for package [rbrief]:Cannot locate installation
of package rbrief: [rospack] couldn't find package [rbrief].
ROS_ROOT[/opt/ros/cturtle/ros]
ROS_PACKAGE_PATH[/home/yolga/ros/stacks:/opt/ros/cturtle/stacks:/home/yolga/ros:/home/ahamer/ros:/opt/ros/diamondback/stacks]
Failed to find stack for package [chamfer_matching]
Failed to load rosdep.yaml for package [chamfer_matching]:Cannot locate
installation of package chamfer_matching: [rospack] couldn't find package
[chamfer_matching]. ROS_ROOT[/opt/ros/cturtle/ros]
ROS_PACKAGE_PATH[/home/yolga/ros/stacks:/opt/ros/cturtle/stacks:/home/yolga/ros:/home/ahamer/ros:/opt/ros/diamondback/stacks]
######################################################################################################
######################################################################################################
I saw that rbrief posest chamfer_matching drivers_experimental are missing
dependencies.
####To install package chamfer_matching
$ svn co `roslocate svn chamfer_matching`
$ rosmake --rosdep-install chamfer_matching
######################################################################################################
######################################################################################################
####To install drivers_experimental
$ svn co `roslocate svn drivers_experimental`
$ rosmake --rosdep-install drivers_experimental
fails to build the package gevicam_camera
######################################################################################################
######################################################################################################
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find
rosbuild`/rostoolchain.cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
[rosbuild] Building package gevicam_camera
[rosbuild] Cached build flags older than manifests; calling rospack to get
flags
CMake Warning (dev) at /opt/ros/cturtle/ros/core/rosbuild/public.cmake:223
(list):
Policy CMP0007 is not set: list command no longer ignores empty elements.
Run "cmake --help-policy CMP0007" for policy details. Use the
cmake_policy
command to set the policy and suppress this warning. List has value =
[PvDevice;PvStream;;boost_thread-mt;dynamic_reconfigure_config_init_mutex;boost_thread-mt;dynamic_reconfigure_config_init_mutex;image_transport;poco_lite;boost_fs_wrapper;tinyxml;message_filters;boost_thread-mt;boost_signals-mt;camera_info_manager;camera_calibration_parsers;yaml-cpp;ros;boost_thread-mt;boost_signals-mt;sensor_msgs;rosrecorder;rosbag;topic_tools;ros;boost_thread-mt;boost_signals-mt;XmlRpc;rosconsole;boost_thread-mt;log4cxx;roslib;rospack;rosstack;opencv_core;opencv_imgproc;opencv_highgui;opencv_ml;opencv_video;opencv_objdetect;opencv_features2d;opencv_calib3d;opencv_contrib;opencv_legacy].
Call Stack (most recent call first):
CMakeLists.txt:5 (rosbuild_init)
This warning is for project developers. Use -Wno-dev to suppress it.
[rosbuild] Including /opt/ros/cturtle/ros/core/rospy/cmake/rospy.cmake
[rosbuild] Including /opt/ros/cturtle/ros/core/roscpp/cmake/roscpp.cmake
[rosbuild] Including /opt/ros/cturtle/ros/core/roslisp/cmake/roslisp.cmake
[rosbuild] Including
/opt/ros/cturtle/stacks/client_rosjava/rosjava/cmake/rosjava.cmake
MSG: gencfg_cpp on:GevicamCamera.cfg
Finding dependencies for
/home/yolga/ros/repository/drivers_experimental/gevicam_camera/cfg/GevicamCamera.cfg
***********************************************************************************
load_module did not return. Unable to determine dependencies for file listed
above.
***********************************************************************************
Traceback (most recent call last):
File
"/opt/ros/cturtle/stacks/driver_common/dynamic_reconfigure/cmake/gendeps",
line 64, in <module>
imp.load_module("__main__", f, srcfile, ('.cfg', 'U', 1))
File
"/home/yolga/ros/repository/drivers_experimental/gevicam_camera/cfg/GevicamCamera.cfg",
line 43, in <module>
import common_parameters as common
ImportError: No module named common_parameters
CMake Error at
/opt/ros/cturtle/stacks/driver_common/dynamic_reconfigure/cmake/cfgbuild.cmake:65
(string):
string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
/opt/ros/cturtle/stacks/driver_common/dynamic_reconfigure/cmake/cfgbuild.cmake:83
(gencfg_cpp)
CMakeLists.txt:10 (include)
-- Configuring incomplete, errors occurred!
make: *** [all] Error 1
######################################################################################################
######################################################################################################
####To install posest package
$ svn co `roslocate svn posest`
$ rosdep install posest
######################################################################################################
######################################################################################################
Error messsage
Failed to find stack for package [frame_common]
Failed to load rosdep.yaml for package [frame_common]:Cannot locate
installation of package frame_common: [rospack] couldn't find package
[frame_common]. ROS_ROOT[/opt/ros/cturtle/ros]
ROS_PACKAGE_PATH[/home/yolga/ros/stacks:/opt/ros/cturtle/stacks:/home/yolga/ros:/home/ahamer/ros:/opt/ros/diamondback/stacks]
Failed to find rosdep libtbb for package posest on OS:ubuntu version:10.04
ERROR: ABORTING: Rosdeps [u'libtbb'] could not be resolved
############################################################################################################################
############################################################################################################################
#### So I tried to install package frame_common
$ svn co `roslocate svn frame_common`
$ rosdep install frame_common
$ rosmake frame_common
######################################################################################################
######################################################################################################
/opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/SelfAdjointView.h:285:
error: no ‘Eigen3::SelfAdjointView<Derived, UpLo>
Eigen3::MatrixBase<Derived>::selfadjointView()’ member function declared in
class ‘Eigen3::MatrixBase<Derived>’
In file included from
/opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/Core:306,
from
/opt/ros/cturtle/stacks/point_cloud_perception/pcl/include/pcl/pcl_base.h:42,
from
/opt/ros/cturtle/stacks/point_cloud_perception/pcl/include/pcl/common/common.h:41,
from
/home/yolga/ros/repository/frame_common/include/frame_common/frame.h:56,
from
/home/yolga/ros/repository/frame_common/src/draw.cpp:40:
/opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/products/Parallelizer.h:29:
error: variable or field ‘ei_manage_multi_threading’ declared void
/opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/products/Parallelizer.h:29:
error: ‘Action’ was not declared in this scope
/opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/products/Parallelizer.h:29:
error: expected primary-expression before ‘int’
/opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/products/Parallelizer.h:128:
error: expected ‘}’ before end of line
/opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/products/Parallelizer.h:128:
error: expected declaration before end of line
### actually the log file is 6500 lines... this is just a part of it.
######################################################################################################
#### To install rbrief package
$ svn co `roslocate svn rbrief`
$ rosmake --rosdep-install rbrief
######################################################################################################
Building CXX object CMakeFiles/rbrief.dir/src/RBrief.o
/home/yolga/ros/repository/rbrief/src/RBrief.cpp:48: error:
‘BriefDescriptorExtractor’ has not been declared
/home/yolga/ros/repository/rbrief/src/RBrief.cpp: In member function ‘void
rbrief::RBriefDescriptorExtractor::RBriefPatterns::compute(float, const
cv::Mat&, const cv::KeyPoint&, cv::Mat&) const’:
/home/yolga/ros/repository/rbrief/src/RBrief.cpp:113: error: request for
member ‘p’ in ‘sum->cv::Mat::step’, which is of non-class type ‘const
size_t’
/home/yolga/ros/repository/rbrief/src/RBrief.cpp: In constructor
‘rbrief::GAWorkingMats::GAWorkingMats(cv::Size, int)’:
/home/yolga/ros/repository/rbrief/src/RBrief.cpp:466: error:
‘CV_WINDOW_KEEPRATIO’ was not declared in this scope
/home/yolga/ros/repository/rbrief/src/RBrief.cpp: In constructor
‘rbrief::GradientSteerer::GradientSteerer_Impl::GradientSteerer_Impl(rbrief::GradientSteerer::Method,
cv::Size, cv::Size, bool)’:
/home/yolga/ros/repository/rbrief/src/RBrief.cpp:496: error:
‘CV_WINDOW_KEEPRATIO’ was not declared in this scope
/home/yolga/ros/repository/rbrief/src/RBrief.cpp: At global scope:
/home/yolga/ros/repository/rbrief/src/RBrief.cpp:49: warning:
‘rbrief::<unnamed>::R2’ defined but not used
/home/yolga/ros/repository/rbrief/src/RBrief.cpp:54: warning:
‘rbrief::<unnamed>::CIRCLE_SLICES_SIZE’ defined but not used
make[3]: *** [CMakeFiles/rbrief.dir/src/RBrief.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /home/yolga/ros/repository/rbrief/src/lsh.cpp:18:
/home/yolga/ros/repository/rbrief/include/rbrief/lsh.hpp:148: error:
‘DMatch’ is not a member of ‘cv’
/home/yolga/ros/repository/rbrief/include/rbrief/lsh.hpp:148: error:
‘DMatch’ is not a member of ‘cv’
/home/yolga/ros/repository/rbrief/include/rbrief/lsh.hpp:148: error:
template argument 1 is invalid
/home/yolga/ros/repository/rbrief/include/rbrief/lsh.hpp:148: error:
template argument 2 is invalid
/home/yolga/ros/repository/rbrief/include/rbrief/lsh.hpp:148: error:
template argument 1 is invalid
/home/yolga/ros/repository/rbrief/include/rbrief/lsh.hpp:148: error:
template argument 2 is invalid
/home/yolga/ros/repository/rbrief/include/rbrief/lsh.hpp:157: error:
‘DMatch’ is not a member of ‘cv’
/home/yolga/ros/repository/rbrief/include/rbrief/lsh.hpp:157: error:
‘DMatch’ is not a member of ‘cv’
/home/yolga/ros/repository/rbrief/include/rbrief/lsh.hpp:157: error:
template argument 1 is invalid
/home/yolga/ros/repository/rbrief/include/rbrief/lsh.hpp:157: error:
template argument 2 is invalid
/home/yolga/ros/repository/rbrief/include/rbrief/lsh.hpp:157: error:
template argument 1 is invalid
/home/yolga/ros/repository/rbrief/include/rbrief/lsh.hpp:157: error:
template argument 2 is invalid
/home/yolga/ros/repository/rbrief/include/rbrief/lsh.hpp:175: error:
‘DescriptorCollection’ does not name a type
/home/yolga/ros/repository/rbrief/src/lsh.cpp: In member function ‘virtual
void LshMatcher::clear()’:
/home/yolga/ros/repository/rbrief/src/lsh.cpp:231: error:
‘mergedDescriptors’ was not declared in this scope
/home/yolga/ros/repository/rbrief/src/lsh.cpp: In member function ‘void
LshMatcher::add(const std::vector<cv::Mat, std::allocator<cv::Mat> >&)’:
/home/yolga/ros/repository/rbrief/src/lsh.cpp:255: error: no matching
function for call to ‘LshMatcher::add(const std::vector<cv::Mat,
std::allocator<cv::Mat> >&)’
/opt/ros/cturtle/stacks/vision_opencv/opencv2/opencv/include/opencv2/features2d/features2d.hpp:1437:
note: candidates are: void cv::DescriptorMatcher::add(const cv::Mat&)
/home/yolga/ros/repository/rbrief/src/lsh.cpp: In member function ‘void
LshMatcher::train()’:
/home/yolga/ros/repository/rbrief/src/lsh.cpp:266: error:
‘mergedDescriptors’ was not declared in this scope
/home/yolga/ros/repository/rbrief/src/lsh.cpp:269: error:
‘trainDescCollection’ was not declared in this scope
/home/yolga/ros/repository/rbrief/src/lsh.cpp: In member function
‘cv::Ptr<cv::DescriptorMatcher> LshMatcher::clone(bool) const’:
/home/yolga/ros/repository/rbrief/src/lsh.cpp:282: error: cannot allocate an
object of abstract type ‘LshMatcher’
/home/yolga/ros/repository/rbrief/include/rbrief/lsh.hpp:104: note:
because the following virtual functions are pure within ‘LshMatcher’:
/opt/ros/cturtle/stacks/vision_opencv/opencv2/opencv/include/opencv2/features2d/features2d.hpp:1428:
note: virtual void cv::DescriptorMatcher::matchImpl(const cv::Mat&, const
cv::Mat&, const cv::Mat&, std::vector<int, std::allocator<int> >&,
std::vector<double, std::allocator<double> >&) const
/home/yolga/ros/repository/rbrief/src/lsh.cpp:285: error: ‘cout’ was not
declared in this scope
/home/yolga/ros/repository/rbrief/src/lsh.cpp:285: error: ‘endl’ was not
declared in this scope
/home/yolga/ros/repository/rbrief/src/lsh.cpp:287: error: ‘class LshMatcher’
has no member named ‘mergedDescriptors’
/home/yolga/ros/repository/rbrief/src/lsh.cpp:287: error:
‘mergedDescriptors’ was not declared in this scope
/home/yolga/ros/repository/rbrief/src/lsh.cpp:287: error:
‘DescriptorCollection’ was not declared in this scope
/home/yolga/ros/repository/rbrief/src/lsh.cpp: At global scope:
/home/yolga/ros/repository/rbrief/src/lsh.cpp:318: error: ‘DMatch’ is not a
member of ‘cv’
/home/yolga/ros/repository/rbrief/src/lsh.cpp:318: error: ‘DMatch’ is not a
member of ‘cv’
/home/yolga/ros/repository/rbrief/src/lsh.cpp:318: error: template argument
1 is invalid
/home/yolga/ros/repository/rbrief/src/lsh.cpp:318: error: template argument
2 is invalid
/home/yolga/ros/repository/rbrief/src/lsh.cpp:318: error: template argument
1 is invalid
/home/yolga/ros/repository/rbrief/src/lsh.cpp:318: error: template argument
2 is invalid
/home/yolga/ros/repository/rbrief/src/lsh.cpp: In member function ‘void
LshMatcher::knnMatchImpl(const cv::Mat&, int&, int, const
std::vector<cv::Mat, std::allocator<cv::Mat> >&, bool)’:
/home/yolga/ros/repository/rbrief/src/lsh.cpp:321: error: ‘Hamming’ is not a
member of ‘cv’
/home/yolga/ros/repository/rbrief/src/lsh.cpp:321: error: expected ‘;’
before ‘hammingDistanceOperator’
/home/yolga/ros/repository/rbrief/src/lsh.cpp:322: error: request for member
‘resize’ in ‘matches’, which is of non-class type ‘int’
/home/yolga/ros/repository/rbrief/src/lsh.cpp:343: error:
‘mergedDescriptors’ was not declared in this scope
/home/yolga/ros/repository/rbrief/src/lsh.cpp:344: error:
‘hammingDistanceOperator’ was not declared in this scope
/home/yolga/ros/repository/rbrief/src/lsh.cpp:365: error:
‘mergedDescriptors’ was not declared in this scope
/home/yolga/ros/repository/rbrief/src/lsh.cpp:366: error: invalid types
‘int[int]’ for array subscript
/home/yolga/ros/repository/rbrief/src/lsh.cpp:366: error: ‘DMatch’ is not a
member of ‘cv’
/home/yolga/ros/repository/rbrief/src/lsh.cpp: At global scope:
/home/yolga/ros/repository/rbrief/src/lsh.cpp:379: error: ‘DMatch’ is not a
member of ‘cv’
/home/yolga/ros/repository/rbrief/src/lsh.cpp:379: error: ‘DMatch’ is not a
member of ‘cv’
/home/yolga/ros/repository/rbrief/src/lsh.cpp:379: error: template argument
1 is invalid
/home/yolga/ros/repository/rbrief/src/lsh.cpp:379: error: template argument
2 is invalid
/home/yolga/ros/repository/rbrief/src/lsh.cpp:379: error: template argument
1 is invalid
/home/yolga/ros/repository/rbrief/src/lsh.cpp:379: error: template argument
2 is invalid
/home/yolga/ros/repository/rbrief/src/lsh.cpp: In member function ‘void
LshMatcher::radiusMatchImpl(const cv::Mat&, int&, float, const
std::vector<cv::Mat, std::allocator<cv::Mat> >&, bool)’:
/home/yolga/ros/repository/rbrief/src/lsh.cpp:382: error: ‘Hamming’ is not a
member of ‘cv’
/home/yolga/ros/repository/rbrief/src/lsh.cpp:382: error: expected ‘;’
before ‘hammingDistanceOperator’
/home/yolga/ros/repository/rbrief/src/lsh.cpp:383: error: request for member
‘resize’ in ‘matches’, which is of non-class type ‘int’
/home/yolga/ros/repository/rbrief/src/lsh.cpp:406: error:
‘mergedDescriptors’ was not declared in this scope
/home/yolga/ros/repository/rbrief/src/lsh.cpp:407: error:
‘hammingDistanceOperator’ was not declared in this scope
/home/yolga/ros/repository/rbrief/src/lsh.cpp:420: error:
‘mergedDescriptors’ was not declared in this scope
/home/yolga/ros/repository/rbrief/src/lsh.cpp:421: error: invalid types
‘int[int]’ for array subscript
/home/yolga/ros/repository/rbrief/src/lsh.cpp:421: error: ‘DMatch’ is not a
member of ‘cv’
make[3]: *** [CMakeFiles/rbrief.dir/src/lsh.o] Error 1
make[3]: Leaving directory `/home/yolga/ros/repository/rbrief/build'
make[2]: *** [CMakeFiles/rbrief.dir/all] Error 2
make[2]: Leaving directory `/home/yolga/ros/repository/rbrief/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/yolga/ros/repository/rbrief/build'
make: *** [all] Error 2
######################################################################################################
--
View this message in context: http://ros-users.122217.n3.nabble.com/Failed-to-make-object-recognition-stack-tp2472414p2472414.html
Sent from the ROS-Users mailing list archive at Nabble.com.
More information about the ros-users
mailing list