jserv / lsd_slam

LSD-SLAM
GNU General Public License v3.0
49 stars 41 forks source link

installation problem #1

Closed ningt closed 9 years ago

ningt commented 9 years ago

Hi thank you for making this! I had some problems with installation, can you have a look?

tning@ubuntu:~/Documents/lsd_slam/lsd_slam_core/src/Build$ make
[  4%] Building CXX object CMakeFiles/lsdslam.dir/GUI.cpp.o
In file included from /usr/include/boost/date_time/gregorian/gregorian.hpp:25:0,
             from /usr/include/boost/date_time/posix_time/time_formatters.hpp:12,
             from /usr/include/boost/date_time/posix_time/posix_time.hpp:24,
             from /home/tning/Documents/lsd_slam/lsd_slam_core/src/util/ThreadMutexObject.h:12,
             from /home/tning/Documents/lsd_slam/lsd_slam_core/src/GUI.h:22,
             from /home/tning/Documents/lsd_slam/lsd_slam_core/src/GUI.cpp:8:
/usr/include/boost/date_time/gregorian/formatters.hpp: In function ‘std::basic_string<_CharT>boost::gregorian::to_sql_string_type(const boost::gregorian::date&) [with charT = char]’:
/usr/include/boost/date_time/gregorian/formatters.hpp:118:38:   instantiated from here
/usr/include/boost/date_time/gregorian/formatters.hpp:109:5: error: ambiguous overload for ‘operator<<’ in ‘ss << ymd.boost::date_time::year_month_day_base<boost::gregorian::greg_year, boost::gregorian::greg_month, boost::gregorian::greg_day>::year’
loki1725 commented 9 years ago

Have you had any luck resolving this problem? I've run into installation challenges as well, ad was wondering if we could maybe help each other out.

ningt commented 9 years ago

@loki1725 Are you using Ubuntu 12.04 or 14.04? I switch to 14.04 and seems it has a newer version of boost, now I can build the project.