make error while building in docker
Closed this issue · 1 comments
Hi @laxnpander,
Im trying to run your application using docker.
While building the application Im encountering an error,
/root/OpenREALM/OpenREALM/modules/realm_vslam/realm_vslam_base/src/open_vslam.cpp:79:107: error: no match for 'operator=' (operand types are 'std::shared_ptr<Eigen::Matrix<double, 4, 4> >' and 'openvslam::Mat44_t {aka Eigen::Matrix<double, 4, 4>}') T_w2c_eigen = m_vslam->feed_monocular_frame(frame->getResizedImageRaw(), frame->getTimestamp() * 10e-9);
Please advise.
Fixed it!
changed the below line in modules/realm_vslam/realm_vslam_base/src/open_vslam.cpp: line no. 79
T_w2c_eigen = m_vslam->feed_monocular_frame(frame->getResizedImageRaw(), frame->getTimestamp() * 10e-9);
To
T_w2c_eigen = std::make_shared<openvslam::Mat44_t>(m_vslam->feed_monocular_frame(frame->getResizedImageRaw(), frame->getTimestamp() * 10e-9));
Closing the issue