kinect_tools compilation problem
Hello,
I'm trying to
rosmake kinect_tools --rosdep-install
and I get the following error:
[ rosmake ] Packages requested are: ['kinect_tools']
[ rosmake ] Logging to directory/home/gsaponaro/.ros/rosmake/rosmake_output-20110525-194202
[ rosmake ] Expanded args ['kinect_tools'] to:
['kinect_tools']
[ rosmake ] Generating Install Script using rosdep then executing. This may take a minute, you will be prompted for permissions. . .
Failed to find stack for package [eigen3]
Failed to load rosdep.yaml for package [eigen3]:Cannot locate installation of package eigen3: [rospack] couldn't find package [eigen3]. ROS_ROOT[/opt/ros/diamondback/ros] ROS_PACKAGE_PATH[/home/gsaponaro/kinect/ros:/opt/ros/diamondback/stacks]
rosdep executing this script:
{{{
set -o errexit
#No Packages to install
}}}
[ rosmake ] rosdep successfully installed all system dependencies
[rosmake-0] Starting >>> kinect_tools [ make ]
[ rosmake ] All 22 linesinect_tools: 0.1 sec ] [ 1 Active 0/1 Complete ]
{-------------------------------------------------------------------------------
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake ..
[rosbuild] Building package kinect_tools
Failed to invoke /opt/ros/diamondback/ros/bin/rospack deps-manifests kinect_tools
[rospack] couldn't find dependency [eigen3] of [kinect_tools]
[rospack] missing dependency
CMake Error at /opt/ros/diamondback/ros/core/rosbuild/public.cmake:113 (message):
Failed to invoke rospack to get compile flags for package 'kinect_tools'.
Look above for errors from rospack itself. Aborting. Please fix the
broken dependency!
Call Stack (most recent call first):
/opt/ros/diamondback/ros/core/rosbuild/public.cmake:183 (rosbuild_invoke_rospack)
CMakeLists.txt:12 (rosbuild_init)
So, having read here that in DiamondBack we should use eigen instead of eigen3, I removed the 3 from manifest.xml
, and I still get errors:
[rosmake-0] Starting >>> kinect_tools [ make ]
[ rosmake ] Last 40 linesnect_tools: 6.4 sec [ 1 Active 53/54 Complete ]
{-------------------------------------------------------------------------------
/home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp: In member function ‘void HandProcessor::segFingers(double, int)’:
/home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp:267: error: ‘centroid’ was not declared in this scope
/home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp:283: error: ‘class Finger’ has no member named ‘centroid’
/home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp:283: error: ‘arm’ was not declared in this scope
/home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp:283: error: ‘class Finger’ has no member named ‘centroid’
/home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp:299: error: ‘class Finger’ has no member named ‘centroid’
/home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp: In member function ‘void HandProcessor::identfyFingers()’:
/home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp:313: error: ‘class Finger’ has no member named ‘centroid’
/home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp:313: error: ‘class Finger’ has no member named ‘centroid’
/home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp:314: error: ‘class Finger’ has no member named ‘centroid’
/home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp:314: error: ‘class Finger’ has no member named ‘centroid’
/home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp: In member function ‘void HandAnalyzer::getEigens(const kinect_tools::Hand&)’:
/home/gsaponaro/kinect/ros/kinect_demos/mit-ros-pkg-experimental/kinect_tools/src/analyze_hands.cpp ...