Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dvo_slam fails to compile #46

Open
ramanpreet9 opened this issue Jun 10, 2016 · 1 comment
Open

dvo_slam fails to compile #46

ramanpreet9 opened this issue Jun 10, 2016 · 1 comment

Comments

@ramanpreet9
Copy link

ramanpreet9 commented Jun 10, 2016

raman@raman-ubuntu:~/catkin_ws/src/dvo_slam$ rosmake -r dvo_core dvo_ros dvo_slam dvo_benchmark
[ rosmake ] rosmake starting...
[ rosmake ] Packages requested are: ['dvo_core', 'dvo_ros', 'dvo_slam', 'dvo_benchmark']
[ rosmake ] Logging to directory /home/raman/.ros/rosmake/rosmake_output-20160613-115235
[ rosmake ] Expanded args ['dvo_core', 'dvo_ros', 'dvo_slam', 'dvo_benchmark'] to:
['dvo_core', 'dvo_ros', 'dvo_slam', 'dvo_benchmark']
[rosmake-0] Starting >>> dvo_core [ make ]
[rosmake-1] Starting >>> catkin [ make ]
[rosmake-2] Starting >>> g2o [ make ]
[rosmake-1] Finished <<< catkin ROS_NOBUILD in package catkin] [ g2o: 0.... [ 3 Active 0/71 Complete ]
No Makefile in package catkin
[rosmake-1] Starting >>> genmsg [ make ]
[rosmake-1] Finished <<< genmsg ROS_NOBUILD in package genmsg
No Makefile in package genmsg
[rosmake-1] Starting >>> genlisp [ make ]
[rosmake-7] Starting >>> cpp_common [ make ]
[rosmake-7] Finished <<< cpp_common ROS_NOBUILD in package cpp_common
No Makefile in package cpp_common
[rosmake-6] Starting >>> genpy [ make ]
[rosmake-4] Starting >>> rostime [ make ]
[rosmake-7] Starting >>> gencpp [ make ]
[rosmake-3] Starting >>> cmake_modules [ make ]
[rosmake-5] Starting >>> roslang [ make ]
[rosmake-1] Finished <<< genlisp ROS_NOBUILD in package genlisp
No Makefile in package genlisp
[rosmake-1] Starting >>> xmlrpcpp [ make ]
[rosmake-6] Finished <<< genpy ROS_NOBUILD in package genpy
No Makefile in package genpy
[rosmake-6] Starting >>> smclib [ make ]
[rosmake-3] Finished <<< cmake_modules ROS_NOBUILD in package cmake_modules
No Makefile in package cmake_modules
[rosmake-7] Finished <<< gencpp ROS_NOBUILD in package gencpp
No Makefile in package gencpp
[rosmake-5] Finished <<< roslang ROS_NOBUILD in package roslang
No Makefile in package roslang
[rosmake-7] Starting >>> message_generation [ make ]
[rosmake-3] Starting >>> rospack [ make ]
[rosmake-4] Finished <<< rostime ROS_NOBUILD in package rostime
No Makefile in package rostime
[rosmake-5] Starting >>> class_loader [ make ]
[rosmake-1] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp
No Makefile in package xmlrpcpp
[rosmake-4] Starting >>> roscpp_traits [ make ]
[rosmake-6] Finished <<< smclib ROS_NOBUILD in package smclib
No Makefile in package smclib
[rosmake-6] Starting >>> rosgraph [ make ]
[rosmake-1] Starting >>> rosclean [ make ]
[rosmake-7] Finished <<< message_generation ROS_NOBUILD in package message_generation
No Makefile in package message_generation
[rosmake-7] Starting >>> angles [ make ]
[rosmake-4] Finished <<< roscpp_traits ROS_NOBUILD in package roscpp_traits
No Makefile in package roscpp_traits
[rosmake-4] Starting >>> roscpp_serialization [ make ]
[rosmake-6] Finished <<< rosgraph ROS_NOBUILD in package rosgraph
No Makefile in package rosgraph
[rosmake-6] Starting >>> rosparam [ make ]
[rosmake-7] Finished <<< angles ROS_NOBUILD in package angles
No Makefile in package angles
[rosmake-1] Finished <<< rosclean ROS_NOBUILD in package rosclean
No Makefile in package rosclean
[rosmake-7] Starting >>> rosmaster [ make ]
[rosmake-3] Finished <<< rospack ROS_NOBUILD in package rospack
No Makefile in package rospack
[rosmake-5] Finished <<< class_loader ROS_NOBUILD in package class_loader
No Makefile in package class_loader
[rosmake-3] Starting >>> roslib [ make ]
[rosmake-5] Starting >>> orocos_kdl [ make ]
[rosmake-4] Finished <<< roscpp_serialization ROS_NOBUILD in package roscpp_serialization
No Makefile in package roscpp_serialization
[rosmake-4] Starting >>> message_runtime [ make ]
[rosmake-6] Finished <<< rosparam ROS_NOBUILD in package rosparam
No Makefile in package rosparam
[rosmake-3] Finished <<< roslib ROS_NOBUILD in package roslib
No Makefile in package roslib
[rosmake-7] Finished <<< rosmaster ROS_NOBUILD in package rosmaster
No Makefile in package rosmaster
[rosmake-5] Finished <<< orocos_kdl ROS_NOBUILD in package orocos_kdl
No Makefile in package orocos_kdl
[rosmake-3] Starting >>> rosunit [ make ]
[rosmake-5] Starting >>> python_orocos_kdl [ make ]
[rosmake-4] Finished <<< message_runtime ROS_NOBUILD in package message_runtime
No Makefile in package message_runtime
[rosmake-4] Starting >>> std_msgs [ make ]
[rosmake-6] Starting >>> rosbuild [ make ]
[rosmake-3] Finished <<< rosunit ROS_NOBUILD in package rosunit
No Makefile in package rosunit
[rosmake-3] Starting >>> roslz4 [ make ]
[rosmake-4] Finished <<< std_msgs ROS_NOBUILD in package std_msgs
No Makefile in package std_msgs
[rosmake-5] Finished <<< python_orocos_kdl ROS_NOBUILD in package python_orocos_kdl
No Makefile in package python_orocos_kdl
[rosmake-4] Starting >>> rosgraph_msgs [ make ]
[rosmake-5] Starting >>> bond [ make ]
[rosmake-3] Finished <<< roslz4 ROS_NOBUILD in package roslz4
No Makefile in package roslz4
[rosmake-6] Finished <<< rosbuild ROS_NOBUILD in package rosbuild
No Makefile in package rosbuild
[rosmake-1] Starting >>> geometry_msgs [ make ]
[rosmake-6] Starting >>> rosconsole [ make ]
[rosmake-3] Starting >>> rosbag_storage [ make ]
[rosmake-7] Starting >>> actionlib_msgs [ make ]
[rosmake-4] Finished <<< rosgraph_msgs ROS_NOBUILD in package rosgraph_msgs
No Makefile in package rosgraph_msgs
[rosmake-5] Finished <<< bond ROS_NOBUILD in package bond
No Makefile in package bond
[rosmake-1] Finished <<< geometry_msgs ROS_NOBUILD in package geometry_msgs
No Makefile in package geometry_msgs
[rosmake-7] Finished <<< actionlib_msgs ROS_NOBUILD in package actionlib_msgs
No Makefile in package actionlib_msgs
[rosmake-1] Starting >>> tf2_msgs [ make ]
[rosmake-6] Finished <<< rosconsole ROS_NOBUILD in package rosconsole
No Makefile in package rosconsole
[rosmake-5] Starting >>> sensor_msgs [ make ]
[rosmake-7] Starting >>> pluginlib [ make ]
[rosmake-1] Finished <<< tf2_msgs ROS_NOBUILD in package tf2_msgs
No Makefile in package tf2_msgs
[rosmake-6] Starting >>> roscpp [ make ]
[rosmake-3] Finished <<< rosbag_storage ROS_NOBUILD in package rosbag_storage
No Makefile in package rosbag_storage
[rosmake-4] Starting >>> kdl_conversions [ make ]
[rosmake-1] Starting >>> tf2 [ make ]
[rosmake-3] Starting >>> eigen_conversions [ make ]
[rosmake-5] Finished <<< sensor_msgs ROS_NOBUILD in package sensor_msgs
No Makefile in package sensor_msgs
[rosmake-5] Starting >>> visualization_msgs [ make ]
[rosmake-4] Finished <<< kdl_conversions ROS_NOBUILD in package kdl_conversions
No Makefile in package kdl_conversions
[rosmake-1] Finished <<< tf2 ROS_NOBUILD in package tf2
No Makefile in package tf2
[rosmake-7] Finished <<< pluginlib ROS_NOBUILD in package pluginlib
No Makefile in package pluginlib
[rosmake-5] Finished <<< visualization_msgs ROS_NOBUILD in package visualization_msgs
No Makefile in package visualization_msgs
[rosmake-3] Finished <<< eigen_conversions ROS_NOBUILD in package eigen_conversions
No Makefile in package eigen_conversions
[rosmake-6] Finished <<< roscpp ROS_NOBUILD in package roscpp
No Makefile in package roscpp
[rosmake-6] Starting >>> bondcpp [ make ]
[rosmake-7] Starting >>> rosout [ make ]
[rosmake-3] Starting >>> rospy [ make ]
[rosmake-6] Finished <<< bondcpp ROS_NOBUILD in package bondcpp
No Makefile in package bondcpp
[rosmake-7] Finished <<< rosout ROS_NOBUILD in package rosout
No Makefile in package rosout
[rosmake-7] Starting >>> roslaunch [ make ]
[rosmake-3] Finished <<< rospy ROS_NOBUILD in package rospy
No Makefile in package rospy
[rosmake-1] Starting >>> tf2_py [ make ]
[rosmake-3] Starting >>> nodelet [ make ]
[rosmake-7] Finished <<< roslaunch ROS_NOBUILD in package roslaunch
No Makefile in package roslaunch
[rosmake-7] Starting >>> rostest [ make ]
[rosmake-1] Finished <<< tf2_py ROS_NOBUILD in package tf2_py
No Makefile in package tf2_py
[rosmake-7] Finished <<< rostest ROS_NOBUILD in package rostest
No Makefile in package rostest
[rosmake-3] Finished <<< nodelet ROS_NOBUILD in package nodelet
No Makefile in package nodelet
[rosmake-7] Starting >>> message_filters [ make ]
[rosmake-5] Starting >>> topic_tools [ make ]
[rosmake-6] Starting >>> cv_bridge [ make ]
[rosmake-7] Finished <<< message_filters ROS_NOBUILD in package message_filters
No Makefile in package message_filters
[rosmake-7] Starting >>> image_transport [ make ]
[rosmake-5] Finished <<< topic_tools ROS_NOBUILD in package topic_tools
No Makefile in package topic_tools
[rosmake-6] Finished <<< cv_bridge ROS_NOBUILD in package cv_bridge
No Makefile in package cv_bridge
[rosmake-5] Starting >>> rosbag [ make ]
[rosmake-7] Finished <<< image_transport ROS_NOBUILD in package image_transport
No Makefile in package image_transport
[rosmake-5] Finished <<< rosbag ROS_NOBUILD in package rosbag
No Makefile in package rosbag
[rosmake-5] Starting >>> rostopic [ make ]
[rosmake-3] Starting >>> rosmsg [ make ]
[rosmake-5] Finished <<< rostopic ROS_NOBUILD in package rostopic
No Makefile in package rostopic
[rosmake-5] Starting >>> rosnode [ make ]
[rosmake-3] Finished <<< rosmsg ROS_NOBUILD in package rosmsg
No Makefile in package rosmsg
[rosmake-3] Starting >>> rosservice [ make ]
[rosmake-5] Finished <<< rosnode ROS_NOBUILD in package rosnode
No Makefile in package rosnode
[rosmake-5] Starting >>> actionlib [ make ]
[rosmake-3] Finished <<< rosservice ROS_NOBUILD in package rosservice
No Makefile in package rosservice
[rosmake-3] Starting >>> roswtf [ make ]
[rosmake-5] Finished <<< actionlib ROS_NOBUILD in package actionlib
No Makefile in package actionlib
[rosmake-5] Starting >>> tf2_ros [ make ]
[rosmake-6] Starting >>> dynamic_reconfigure [ make ]
[rosmake-3] Finished <<< roswtf ROS_NOBUILD in package roswtf
No Makefile in package roswtf
[rosmake-5] Finished <<< tf2_ros ROS_NOBUILD in package tf2_ros
No Makefile in package tf2_ros
[rosmake-5] Starting >>> tf [ make ]
[rosmake-6] Finished <<< dynamic_reconfigure ROS_NOBUILD in package dynamic_reconfigure
No Makefile in package dynamic_reconfigure
[rosmake-5] Finished <<< tf ROS_NOBUILD in package tf
No Makefile in package tf
[rosmake-5] Starting >>> tf_conversions [ make ]
[rosmake-7] Starting >>> interactive_markers [ make ]
[rosmake-5] Finished <<< tf_conversions ROS_NOBUILD in package tf_conversions
No Makefile in package tf_conversions
[rosmake-7] Finished <<< interactive_markers ROS_NOBUILD in package interactive_markers
No Makefile in package interactive_markers
[rosmake-2] Finished <<< g2o [SKIP] No rule to make target None
[rosmake-0] Finished <<< dvo_core [PASS] [ 1.27 seconds ]
[rosmake-0] Starting >>> dvo_ros [ make ]
[rosmake-0] Finished <<< dvo_ros [PASS] [ 2.22 seconds ]
[rosmake-0] Starting >>> dvo_slam [ make ]
[ rosmake ] Last 40 lineso_slam: 12.5 sec ] [ 1 Active 69/71 Complete ]
{-------------------------------------------------------------------------------
/home/raman/catkin_ws/src/dvo_slam/dvo_core/include/dvo/core/datatypes.h:36:24: warning: ‘dvo::core::InvalidDepth’ defined but not used [-Wunused-variable]
static const DepthType InvalidDepth = std::numeric_limits::quiet_NaN();
^
make[3]: *** [CMakeFiles/dvo_slam.dir/src/camera_keyframe_tracking.cpp.o] Error 1
In file included from /home/raman/catkin_ws/src/dvo_slam/g2o/include/g2o/core/block_solver.h:189:0,
from /home/raman/catkin_ws/src/dvo_slam/dvo_slam/src/keyframe_graph.cpp:50:
/home/raman/catkin_ws/src/dvo_slam/g2o/include/g2o/core/block_solver.hpp: In instantiation of ‘bool g2o::BlockSolver::buildStructure(bool) [with Traits = g2o::BlockSolverTraits<6, 3>]’:
/home/raman/catkin_ws/src/dvo_slam/dvo_slam/src/keyframe_graph.cpp:942:1: required from here
/home/raman/catkin_ws/src/dvo_slam/g2o/include/g2o/core/block_solver.hpp:180:5: error: request for member ‘resize’ in ‘schurMatrixLookup->g2o::SparseBlockMatrixHashMap::blockCols<Eigen::Matrix<double, 6, 6> >()’, which is of non-class type ‘int’
schurMatrixLookup->blockCols().resize(_Hschur->blockCols().size());
^
In file included from /home/raman/catkin_ws/src/dvo_slam/dvo_core/include/dvo/core/rgbd_image.h:29:0,
from /home/raman/catkin_ws/src/dvo_slam/dvo_slam/include/dvo_slam/keyframe_tracker.h:24,
from /home/raman/catkin_ws/src/dvo_slam/dvo_slam/src/keyframe_tracker.cpp:28:
/home/raman/catkin_ws/src/dvo_slam/dvo_core/include/dvo/core/datatypes.h: At global scope:
/home/raman/catkin_ws/src/dvo_slam/dvo_core/include/dvo/core/datatypes.h:33:28: warning: ‘dvo::core::Invalid’ defined but not used [-Wunused-variable]
static const IntensityType Invalid = std::numeric_limits::quiet_NaN();
^
/home/raman/catkin_ws/src/dvo_slam/dvo_core/include/dvo/core/datatypes.h:36:24: warning: ‘dvo::core::InvalidDepth’ defined but not used [-Wunused-variable]
static const DepthType InvalidDepth = std::numeric_limits::quiet_NaN();
^
make[3]: *** [CMakeFiles/dvo_slam.dir/src/keyframe_tracker.cpp.o] Error 1
In file included from /home/raman/catkin_ws/src/dvo_slam/dvo_core/include/dvo/core/rgbd_image.h:29:0,
from /home/raman/catkin_ws/src/dvo_slam/dvo_slam/include/dvo_slam/local_map.h:26,
from /home/raman/catkin_ws/src/dvo_slam/dvo_slam/include/dvo_slam/keyframe_graph.h:25,
from /home/raman/catkin_ws/src/dvo_slam/dvo_slam/src/keyframe_graph.cpp:21:
/home/raman/catkin_ws/src/dvo_slam/dvo_core/include/dvo/core/datatypes.h: At global scope:
/home/raman/catkin_ws/src/dvo_slam/dvo_core/include/dvo/core/datatypes.h:33:28: warning: ‘dvo::core::Invalid’ defined but not used [-Wunused-variable]
static const IntensityType Invalid = std::numeric_limits::quiet_NaN();
^
/home/raman/catkin_ws/src/dvo_slam/dvo_core/include/dvo/core/datatypes.h:36:24: warning: ‘dvo::core::InvalidDepth’ defined but not used [-Wunused-variable]
static const DepthType InvalidDepth = std::numeric_limits::quiet_NaN();
^
make[3]: *** [CMakeFiles/dvo_slam.dir/src/keyframe_graph.cpp.o] Error 1
make[3]: Leaving directory /home/raman/catkin_ws/src/dvo_slam/dvo_slam/build' make[2]: *** [CMakeFiles/dvo_slam.dir/all] Error 2 make[2]: Leaving directory/home/raman/catkin_ws/src/dvo_slam/dvo_slam/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/raman/catkin_ws/src/dvo_slam/dvo_slam/build'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package dvo_slam written to:
[ rosmake ] /home/raman/.ros/rosmake/rosmake_output-20160613-115235/dvo_slam/build_output.log
[rosmake-0] Finished <<< dvo_slam [FAIL] [ 12.52 seconds ]
[rosmake-0] Starting >>> dvo_benchmark [ make ]
[rosmake-0] Finished <<< dvo_benchmark Package dvo_benchmark cannot be built for dependent package(s) [u'dvo_slam'] failed.
[ rosmake ] Results:
[ rosmake ] Built 71 packages with 2 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /home/raman/.ros/rosmake/rosmake_output-20160613-115235

@Gaidline
Copy link

Go to /home/raman/.ros/rosmake/rosmake_output-20160613-115235/dvo_slam/build_output.log and check build log for missing includes. I had a similar problem with compiling dvo_core because the #include <limits> line was not added in surface_pyramid.cpp. The project was probably built with Mac compiler (answer).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants