HongbiaoZ / dsv_planner

Dual-Stage Viewpoint Planner for Autonomous Exploration
160 stars 48 forks source link

compile failure because of opencv version #3

Open JeffreyYH opened 3 years ago

JeffreyYH commented 3 years ago

Hi Hongbiao,

Thanks for sharing the nice work! Can I ask which opencv version were you using? when I compiled dsv_planner, there are following errors related to opencv dsv_planner/devel/lib/libvolumetric_map_base.so: undefined reference tocv::Mat::updateContinuityFlag()'`

HongbiaoZ commented 3 years ago

Hi Jeffrey,

Thanks for your interest on our work. My OpenCV version is 3.2, the default version of ubuntu 18.04. Before you compile the whole workspace, please make sure you install all the dependency according to the instruction. Feel free to ask here if you get any other issue.

ArghyaChatterjee commented 2 years ago

Got the same error. I also have opencv 3.2 which is the default version comes with ros-melodic installation. Is there any way to define inside the package which specific version of opencv to use during compile & run ?

HongbiaoZ commented 2 years ago

There would be a way to define the version of OpenCV. You can google it. We have no plan to limit the version of OpenCV in our code. Sorry about that.