Ask Your Question
1

vslam eigen and compile_error

asked 2011-02-15 18:41:52 -0500

Prasad gravatar image

updated 2011-02-15 19:16:41 -0500

mmwise gravatar image

Hello,

I am trying to compile vslam as instructed but halting at some error mentioned below:

Is there anything that i am suppose to make link to eigen3 externally?

[rosmake-3] Finished <<< rosnode ROS_NOBUILD in package rosnode
[rosmake-3] Starting >>> image_transport [ make ]
[rosmake-3] Finished <<< image_transport ROS_NOBUILD in package image_transport
[rosmake-3] Starting >>> cv_bridge [ make ]
[rosmake-3] Finished <<< cv_bridge ROS_NOBUILD in package cv_bridge
[rosmake-3] Starting >>> image_geometry [ make ]
[rosmake-3] Finished <<< image_geometry ROS_NOBUILD in package image_geometry
[rosmake-3] Starting >>> rosmsg [ make ]
[rosmake-3] Finished <<< rosmsg ROS_NOBUILD in package rosmsg No Makefile in package rosmsg
[rosmake-3] Starting >>> rosservice [ make ]
[rosmake-3] Finished <<< rosservice ROS_NOBUILD in package rosservice
[rosmake-3] Starting >>> roswtf [ make ]
[rosmake-3] Finished <<< roswtf ROS_NOBUILD in package roswtf
[rosmake-3] Starting >>> tf [ make ]
[rosmake-3] Finished <<< tf ROS_NOBUILD in package tf
[rosmake-3] Starting >>> nav_msgs [ make ]
[rosmake-3] Finished <<< nav_msgs ROS_NOBUILD in package nav_msgs
[rosmake-3] Starting >>> dynamic_reconfigure [ make ]
[rosmake-3] Finished <<< dynamic_reconfigure ROS_NOBUILD in package dynamic_reconfigure
[rosmake-3] Starting >>> stereo_msgs [ make ]
[rosmake-3] Finished <<< stereo_msgs ROS_NOBUILD in package stereo_msgs
[rosmake-2] Finished <<< bpcg [PASS] [ 1.40 seconds ] [rosmake-1] Finished <<< vocabulary_tree [PASS] [ 1.51 seconds ]
[ rosmake ] Last 40 linesame_common: 3.5 sec ] [ 1 Active 51/54 Complete ] {------------------------------------------------------------------------------- /opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/SelfAdjointView.h:206: error: ‘SelfAdjoint’ was not declared in this scope
/opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/SelfAdjointView.h:206: error: ‘Upper’ was not declared in this scope
/opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/SelfAdjointView.h:206: error: template argument 3 is invalid /opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/SelfAdjointView.h:212: error: ‘SelfAdjoint’ was not declared in this scope
/opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/SelfAdjointView.h:212: error: ‘Lower’ was not declared in this scope
/opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/SelfAdjointView.h:212: error: template argument 3 is invalid /opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/SelfAdjointView.h:231: error: ‘SelfAdjoint’ was not declared in this scope
/opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/SelfAdjointView.h:231: error: ‘Lower’ was not declared in this scope
/opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/SelfAdjointView.h:231: error: template argument 3 is invalid /opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/SelfAdjointView.h:237: error: ‘SelfAdjoint’ was not declared in this scope
/opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/SelfAdjointView.h:237: error: ‘Upper’ was not declared in this scope
/opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/SelfAdjointView.h:237: error: ‘Dynamic’ was not declared in this scope
/opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/SelfAdjointView.h:237: error: template argument 3 is invalid /opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/SelfAdjointView.h:237: error: template argument 4 is invalid /opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/SelfAdjointView.h:255: error: ‘SelfAdjoint’ was not declared in this scope
/opt/ros/cturtle/stacks/geometry_experimental/eigen3/include/Eigen3/src/Core/SelfAdjointView.h:255: error: ‘Lower’ was not declared ...































(more)
edit retag flag offensive close merge delete

Comments

Could you specify what instructions you are following?
tfoote gravatar imagetfoote ( 2011-02-16 05:03:51 -0500 )edit

3 Answers

Sort by » oldest newest most voted
1

answered 2011-03-02 07:41:38 -0500

Bruce gravatar image

changed Eigen3 to Eigen in all the following files, freiburg_kinect-experimental/rgbdslam/manifest freiburg_kinect-experimental/rgbdslam/src/ node openni_listerer graph_manager

They have made changes recently.

edit flag offensive delete link more
0

answered 2011-03-03 14:19:55 -0500

dan gravatar image

The latest version of rgbdslam requires diamondback. See the changed wiki instructions: http://www.ros.org/wiki/openni/Contests/ROS%203D/RGBD-6D-SLAM

You may have to run make on the hogman_minimal package before trying to compile and run the rgbdslam package.

There have been a lot of changes lately, causing difficulties with compiling and executing this package but I just installed today a new download of diamondback, openni, and the freiburg packages and they ran without errors.

edit flag offensive delete link more
0

answered 2011-03-28 13:04:18 -0500

Even though this has already been answered, I figured I'd offer a more in depth answer.

Eigen3 apparently changed it's namespace and header directory from Eigen3 to Eigen once they officially released v3.0.0 on 2011-March-19. I'm guessing previous use of Eigen3 within ros was using pre-released code.

With the ROS package in sync with the release, the strings need to be changed to make it work correctly.

I used the following to do the change from within my package's directory:

find -name "*.cpp" -or -name "*.h" -or -name "*.hpp" -not -wholename "*.svn*" \
                               |xargs grep -l Eigen3 \
                               |xargs sed -i "s/Eigen3/Eigen/g"
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-02-15 18:41:52 -0500

Seen: 611 times

Last updated: Mar 28 '11