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

Compilation error on ubuntu LTS12.04 and ROS hydro #38

Open
yincanben opened this issue Nov 8, 2014 · 3 comments
Open

Compilation error on ubuntu LTS12.04 and ROS hydro #38

yincanben opened this issue Nov 8, 2014 · 3 comments

Comments

@yincanben
Copy link

Thank you for providing this package,I want to compile this package,but when I tried to run :rosmake --pre-lcean ccny_rgbd_tools ,I have got this error:

/usr/include/boost/smart_ptr/shared_ptr.hpp:187:50: error: cannot convert ‘int_’ to ‘rgbdtools::FeatureDetector_’ in initialization
/usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::shared_ptr(Y_) [with Y = int, T = rgbdtools::FeatureDetector]’:
/usr/include/boost/smart_ptr/shared_ptr.hpp:392:9: instantiated from ‘void boost::shared_ptr::reset(Y_) [with Y = int, T = rgbdtools::FeatureDetector]’
/home/ycb13/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/apps/visual_odometry.cpp:235:58: instantiated from here
/usr/include/boost/smart_ptr/shared_ptr.hpp:187:50: error: cannot convert ‘int_’ to ‘rgbdtools::FeatureDetector_’ in initialization
make[3]: *** [CMakeFiles/feature_viewer_node.dir/src/apps/feature_viewer.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 90%] Building CXX object CMakeFiles/keyframe_mapper_node.dir/src/apps/keyframe_mapper.cpp.o
[ 92%] Building CXX object CMakeFiles/keyframe_mapper_node.dir/src/util.cpp.o
make[3]: Leaving directory /home/ycb13/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/build' make[2]: *** [CMakeFiles/feature_viewer_node.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... make[3]: *** [CMakeFiles/visual_odometry_node.dir/src/apps/visual_odometry.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory/home/ycb13/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/build'
make[2]: *** [CMakeFiles/visual_odometry_node.dir/all] Error 2
/home/ycb13/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/util.cpp: In function ‘void ccny_rgbd::pathEigenAffineToROS(const AffineTransformVector&, ccny_rgbd::PathMsg&)’:
/home/ycb13/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/util.cpp:333:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/ycb13/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/util.cpp: In function ‘void ccny_rgbd::pathROSToEigenAffine(const PathMsg&, ccny_rgbd::AffineTransformVector&)’:
/home/ycb13/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/util.cpp:347:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/ycb13/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/apps/keyframe_mapper.cpp: In member function ‘void ccny_rgbd::KeyframeMapper::buildOctomap(octomap::OcTree&)’:
/home/ycb13/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/apps/keyframe_mapper.cpp:755:63: warning: ‘void octomap::OccupancyOcTreeBase::insertScan(const octomap::Pointcloud&, const point3d&, const pose6d&, double, bool, bool) [with NODE = octomap::OcTreeNode, octomap::point3d = octomath::Vector3, octomap::pose6d = octomath::Pose6D]’ is deprecated (declared at /opt/ros/hydro/include/octomap/OccupancyOcTreeBase.h:142) [-Wdeprecated-declarations]
/home/ycb13/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/apps/keyframe_mapper.cpp: In member function ‘void ccny_rgbd::KeyframeMapper::buildColorOctomap(octomap::ColorOcTree&)’:
/home/ycb13/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/apps/keyframe_mapper.cpp:796:63: warning: ‘void octomap::OccupancyOcTreeBase::insertScan(const octomap::Pointcloud&, const point3d&, const pose6d&, double, bool, bool) [with NODE = octomap::ColorOcTreeNode, octomap::point3d = octomath::Vector3, octomap::pose6d = octomath::Pose6D]’ is deprecated (declared at /opt/ros/hydro/include/octomap/OccupancyOcTreeBase.h:142) [-Wdeprecated-declarations]
Linking CXX shared library ../lib/librgbd_image_proc_app.so
make[3]: Leaving directory /home/ycb13/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/build' [ 92%] Built target rgbd_image_proc_app Linking CXX executable ../bin/keyframe_mapper_node /usr/bin/ld: warning: libpcl_sample_consensus.so.1.8, needed by /usr/local/lib/libpcl_filters.so, may conflict with libpcl_sample_consensus.so.1.7 /usr/bin/ld: warning: libpcl_search.so.1.8, needed by /usr/local/lib/libpcl_filters.so, may conflict with libpcl_search.so.1.7 /usr/bin/ld: warning: libpcl_kdtree.so.1.8, needed by /usr/local/lib/libpcl_filters.so, may conflict with libpcl_kdtree.so.1.7 /usr/bin/ld: warning: libpcl_octree.so.1.8, needed by /usr/local/lib/libpcl_filters.so, may conflict with libpcl_octree.so.1.7 /usr/bin/ld: warning: libpcl_features.so.1.8, needed by /usr/local/lib/libpcl_segmentation.so, may conflict with libpcl_features.so.1.7 /usr/bin/ld: warning: libpcl_common.so.1.7, needed by /usr/lib/libpcl_kdtree.so, may conflict with libpcl_common.so.1.8 make[3]: Leaving directory/home/ycb13/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/build'
[ 92%] Built target keyframe_mapper_node
make[2]: Leaving directory /home/ycb13/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/build' make[1]: *** [all] Error 2 make[1]: Leaving directory/home/ycb13/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/build'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package ccny_rgbd written to:
[ rosmake ] /home/ycb13/.ros/rosmake/rosmake_output-20141108-165322/ccny_rgbd/build_output.log
[rosmake-0] Finished <<< ccny_rgbd [FAIL] [ 45.64 seconds ]
[ rosmake ] Halting due to failure in package ccny_rgbd.
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:
[ rosmake ] Cleaned 72 packages.
[ rosmake ] Built 72 packages with 1 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /home/ycb13/.ros/rosmake/rosmake_output-20141108-165322

Can you help me to solve this problem?In advance thank you!

@DhruvaKumar
Copy link

^ +1

Were you able to fix it?

@aaravrav142
Copy link

I have the same problem? Did you solved it?

@DhruvaKumar
Copy link

I couldn't solve the problem on hydro. I switched to fuerte and it worked.

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

3 participants