Trouble installing LSD_SLAM on OS X 10.10.4
Hi there,
I am getting this error message while installing LSDSLAM from https://github.com/tum-vision/lsdslam
Full lsdslamviewer/build_output.log here
[ rosmake ] Last 40 linesd_slam_viewer: 48.8 sec ] [ 1 Active 40/42 Complete ]
{-------------------------------------------------------------------------------
/usr/local/include/boost/smart_ptr/shared_ptr.hpp:349:24: note: in instantiation of function template specialization 'boost::detail::sp_pointer_construct<const lsd_slam_viewer::LSDSLAMViewerParamsConfig::AbstractParamDescription, lsd_slam_viewer::LSDSLAMViewerParamsConfig::ParamDescription<int> >' requested here
boost::detail::sp_pointer_construct( this, p, pn );
^
/opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/cfg/cpp/lsd_slam_viewer/LSDSLAMViewerParamsConfig.h:529:45: note: in instantiation of function template specialization 'boost::shared_ptr<const lsd_slam_viewer::LSDSLAMViewerParamsConfig::AbstractParamDescription>::shared_ptr<lsd_slam_viewer::LSDSLAMViewerParamsConfig::ParamDescription<int> >' requested here
Default.abstract_parameters.push_back(LSDSLAMViewerParamsConfig::AbstractParamDescriptionConstPtr(new LSDSLAMViewerParamsConfig::ParamDescription<int>("minNearSupport", "int", 0, "only plot points that have #minNearSupport similar neighbours (higher values remove outliers)", "", &LSDSLAMViewerParamsConfig::minNearSupport)));
^
In file included from /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/src/main_viewer.cpp:22:
In file included from /opt/ros/indigo/include/ros/ros.h:38:
In file included from /opt/ros/indigo/include/ros/time.h:58:
In file included from /usr/local/include/boost/math/special_functions/round.hpp:14:
In file included from /usr/local/include/boost/math/policies/error_handling.hpp:31:
In file included from /usr/local/include/boost/format.hpp:38:
In file included from /usr/local/include/boost/format/internals.hpp:23:
In file included from /usr/local/include/boost/format/alt_sstream.hpp:21:
In file included from /usr/local/include/boost/shared_ptr.hpp:17:
In file included from /usr/local/include/boost/smart_ptr/shared_ptr.hpp:26:
In file included from /usr/local/include/boost/checked_delete.hpp:15:
/usr/local/include/boost/core/checked_delete.hpp:34:5: warning: delete called on 'lsd_slam_viewer::LSDSLAMViewerParamsConfig::GroupDescription<lsd_slam_viewer::LSDSLAMViewerParamsConfig::DEFAULT, lsd_slam_viewer::LSDSLAMViewerParamsConfig>' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete x;
^
/usr/local/include/boost/smart_ptr/detail/shared_count.hpp:134:20: note: in instantiation of function template specialization 'boost::checked_delete<lsd_slam_viewer::LSDSLAMViewerParamsConfig::GroupDescription<lsd_slam_viewer::LSDSLAMViewerParamsConfig::DEFAULT, lsd_slam_viewer::LSDSLAMViewerParamsConfig> >' requested here
boost::checked_delete( p );
^
/usr/local/include/boost/smart_ptr/shared_ptr.hpp:271:5: note: in instantiation of function template specialization 'boost::detail::shared_count::shared_count<lsd_slam_viewer::LSDSLAMViewerParamsConfig::GroupDescription<lsd_slam_viewer::LSDSLAMViewerParamsConfig::DEFAULT, lsd_slam_viewer::LSDSLAMViewerParamsConfig> >' requested here
boost::detail::shared_count( p ).swap( pn );
^
/usr/local/include/boost/smart_ptr/shared_ptr.hpp:349:24: note: in instantiation of function template specialization 'boost::detail::sp_pointer_construct<const lsd_slam_viewer::LSDSLAMViewerParamsConfig::AbstractGroupDescription, lsd_slam_viewer::LSDSLAMViewerParamsConfig::GroupDescription<lsd_slam_viewer::LSDSLAMViewerParamsConfig::DEFAULT, lsd_slam_viewer::LSDSLAMViewerParamsConfig> >' requested here
boost::detail::sp_pointer_construct( this, p, pn );
^
/opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/cfg/cpp/lsd_slam_viewer/LSDSLAMViewerParamsConfig.h:575:40: note: in instantiation of function template specialization 'boost::shared_ptr<const lsd_slam_viewer::LSDSLAMViewerParamsConfig::AbstractGroupDescription>::shared_ptr<lsd_slam_viewer::LSDSLAMViewerParamsConfig::GroupDescription<lsd_slam_viewer::LSDSLAMViewerParamsConfig::DEFAULT, lsd_slam_viewer::LSDSLAMViewerParamsConfig> >' requested here
__group_descriptions__.push_back(LSDSLAMViewerParamsConfig::AbstractGroupDescriptionConstPtr(new LSDSLAMViewerParamsConfig::GroupDescription<LSDSLAMViewerParamsConfig::DEFAULT, LSDSLAMViewerParamsConfig>(Default)));
^
4 warnings and 3 errors generated.
make[3]: *** [CMakeFiles/viewer.dir/src/main_viewer.cpp.o] Error 1
2 errors generated.
make[3]: *** [CMakeFiles/viewer.dir/src/PointCloudViewer.cpp.o] Error 1
3 warnings generated.
make[2]: *** [CMakeFiles/viewer.dir/all] Error 2
make[1]: *** [all] Error 2
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package lsd_slam_viewer written to:
[ rosmake ] /Users/megablanc/.ros/rosmake/rosmake_output-20150810-194041/lsd_slam_viewer/build_output.log
[rosmake-5] Finished <<< lsd_slam_viewer [FAIL] [ 48.92 seconds ]
It seems like I will have to edit some things in the source, but not ruling out that I'm just using the wrong C++ library or something.
PLEASE provide any information you have, even if its just explaining what the code in question is supposed to do, any sort of insight will help me to solve this, I am not looking for ready-made solutions at all, just help.
Thanks,
Nils
Asked by nnnnnnils on 2015-08-10 19:05:56 UTC
Comments
It looks like not all of the build output is there. Please put the contents of
/Users/megablanc/.ros/rosmake/rosmake_output-20150810-194041/lsd_slam_viewer/build_output.log
in a gist.github.com or as an edit to your question.Asked by William on 2015-08-10 19:34:03 UTC
Here it is (https://gist.github.com/nguillermin/e49573a44ae82b64d209).
Asked by nnnnnnils on 2015-08-10 20:40:02 UTC
Based on the errors, e.g. https://gist.github.com/nguillermin/e49573a44ae82b64d209#file-lsd_slam_viewer-build_output-log-L60, I'd say the developers of
lsd_slam
have never built on a mac. I'd open an issue against them. Unfortunately, this isn't a ROS specific issue, but just a c++ on OS X issue.Asked by William on 2015-08-10 21:02:51 UTC