<div dir="ltr">Hi everyone,<div><br></div><div>I was wondering if anyone had had any luck installing LSD_SLAM from <a href="https://github.com/tum-vision/lsd_slam">https://github.com/tum-vision/lsd_slam</a> on OS X 10.10.4? I keep on running into this particular compilation error:</div><div><br></div><div>=================LONG CODE FRAGMENT BELOW=================</div><div><div>  /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</div><div>          boost::detail::sp_pointer_construct( this, p, pn );</div><div>                         ^</div><div>  /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</div><div>        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)));</div><div>                                              ^</div><div>  In file included from /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/src/main_viewer.cpp:22:</div><div>  In file included from /opt/ros/indigo/include/ros/ros.h:38:</div><div>  In file included from /opt/ros/indigo/include/ros/time.h:58:</div><div>  In file included from /usr/local/include/boost/math/special_functions/round.hpp:14:</div><div>  In file included from /usr/local/include/boost/math/policies/error_handling.hpp:31:</div><div>  In file included from /usr/local/include/boost/format.hpp:38:</div><div>  In file included from /usr/local/include/boost/format/internals.hpp:23:</div><div>  In file included from /usr/local/include/boost/format/alt_sstream.hpp:21:</div><div>  In file included from /usr/local/include/boost/shared_ptr.hpp:17:</div><div>  In file included from /usr/local/include/boost/smart_ptr/shared_ptr.hpp:26:</div><div>  In file included from /usr/local/include/boost/checked_delete.hpp:15:</div><div>  /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]</div><div>      delete x;</div><div>      ^</div><div>  /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</div><div>              boost::checked_delete( p );</div><div>                     ^</div><div>  /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</div><div>      boost::detail::shared_count( p ).swap( pn );</div><div>      ^</div><div>  /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</div><div>          boost::detail::sp_pointer_construct( this, p, pn );</div><div>                         ^</div><div>  /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</div><div>        __group_descriptions__.push_back(LSDSLAMViewerParamsConfig::AbstractGroupDescriptionConstPtr(new LSDSLAMViewerParamsConfig::GroupDescription<LSDSLAMViewerParamsConfig::DEFAULT, LSDSLAMViewerParamsConfig>(Default)));</div><div>                                         ^</div><div>  4 warnings and 3 errors generated.</div><div>  make[3]: *** [CMakeFiles/viewer.dir/src/main_viewer.cpp.o] Error 1</div><div>  2 errors generated.</div><div>  make[3]: *** [CMakeFiles/viewer.dir/src/PointCloudViewer.cpp.o] Error 1</div><div>  3 warnings generated.</div><div>  make[2]: *** [CMakeFiles/viewer.dir/all] Error 2</div><div>  make[1]: *** [all] Error 2</div></div><div>=================CODE FRAGMENT ENDS=================<br></div><div><br></div><div>It seems like this will require editing source but I'm sadly not familiar enough with C++ to have any idea what is going on (something I am try to remedy ASAP, ofc). Anyone have any insight as to the problem?</div><div><br></div><div>Thanks,</div><div><br></div><div>Nils</div></div>