zdzhaoyong / Map2DFusion

This is an open-source implementation of paper: Real-time Incremental UAV Image Mosaicing based on Monocular SLAM.
http://zhaoyong.adv-ci.com/map2dfusion/
GNU Lesser General Public License v3.0
326 stars 139 forks source link

Impossible to compile #11

Closed giovannicimolin closed 6 years ago

giovannicimolin commented 6 years ago

I can't compile your software in any way.

How did you build yours? Which system? GCC version? Opencv version? Is there some code missing?

I get this error when I try to compile:

Map2DRender.cpp: In member function ‘virtual void Map2DFusion::MultiBandBlender::prepare(cv::Rect)’:
Map2DRender.cpp:87:31: error: no match for ‘operator=’ (operand types are ‘__gnu_cxx::__alloc_traits<std::allocator<cv::Mat> >::value_type {aka cv::Mat}’ and ‘cv::UMat’)
         dst_pyr_laplace_[0] = dst_;

And many others changing the system version and library versions...

zdzhaoyong commented 6 years ago

This error is caused since you are using OpenCV3, please use opencv 2.4 and qt4 instead.

hededesedede commented 5 years ago

@giovannicimolin I didn't complie from cmake for windows. can you help me and give me the code for visual studio or qt? please