ipa320 / ipa_coverage_planning

Algorithms for floor plan segmentation and systematic coverage driving patterns
267 stars 106 forks source link

cannot catkin build package in melodic #22

Open PhilipAmadasun opened 1 year ago

PhilipAmadasun commented 1 year ago

I get CV related errors when I try to catkin build package in melodic:

error: ‘CV_DIST_L2’ was not declared in this scope
error: ‘CV_FILLED’ was not declared in this scope
error: ‘CV_RETR_CCOMP’ was not declared in this scope
.................................

Perhaps my openCV version is not compatible I'm not sure. I need to make sure what the problem is.

ipa-foj commented 1 year ago

Dear Philip,

thanks for the interest in our software. Could you please tell me which branch you're trying to build and what version of OpenCV you have installed?

Best regards

PhilipAmadasun commented 1 year ago

I have opencv libraries for python and c++, but I don't just have opencv installed outside of those. What version should I install?

On Sun, Dec 4, 2022 at 11:09 PM ipa-foj @.***> wrote:

Dear Philip,

thanks for the interest in our software. Could you please tell me which branch you're trying to build and what version of OpenCV you have installed?

Best regards

— Reply to this email directly, view it on GitHub https://github.com/ipa320/ipa_coverage_planning/issues/22#issuecomment-1336842121, or unsubscribe https://github.com/notifications/unsubscribe-auth/AND3KDWHGPQSZB746TKN5ZTWLWIJ3ANCNFSM6AAAAAASSGM54M . You are receiving this because you authored the thread.Message ID: @.***>

ipa-foj commented 1 year ago

Could you please run apt-cache policy libopencv-dev and paste the output to here? In principle in melodic we assume the (standard) version 3.2.0 for this.

Also we provide the melodic_dev branch for versions before noetic, so you should also switch to this branch if you want to use the code in melodic. Can you please also make sure you checked out to this branch?

PhilipAmadasun commented 1 year ago

libopencv-dev: Installed: 3.2.0+dfsg-4ubuntu0.1 Candidate: 3.2.0+dfsg-4ubuntu0.1 Version table: *** 3.2.0+dfsg-4ubuntu0.1 500 500 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages 500 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages 100 /var/lib/dpkg/status 3.2.0+dfsg-4build2 500 500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

On Fri, Dec 9, 2022 at 12:08 AM ipa-foj @.***> wrote:

Could you please run apt-cache policy libopencv-dev and paste the output to here? In principle in melodic we assume the (standard) version 3.2.0 for this.

Also we provide the melodic_dev branch for versions before noetic, so you should also switch to this branch if you want to use the code in melodic. Can you please also make sure you checked out to this branch?

— Reply to this email directly, view it on GitHub https://github.com/ipa320/ipa_coverage_planning/issues/22#issuecomment-1343982242, or unsubscribe https://github.com/notifications/unsubscribe-auth/AND3KDX4OU2QJTDVPK52A5LWMLSI5ANCNFSM6AAAAAASSGM54M . You are receiving this because you authored the thread.Message ID: @.***>

AlexWanghaoming commented 5 months ago

libopencv-dev: Installed: 3.2.0+dfsg-4ubuntu0.1 Candidate: 3.2.0+dfsg-4ubuntu0.1 Version table: 3.2.0+dfsg-4ubuntu0.1 500 500 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages 500 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages 100 /var/lib/dpkg/status 3.2.0+dfsg-4build2 500 500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages On Fri, Dec 9, 2022 at 12:08 AM ipa-foj @.> wrote: Could you please run apt-cache policy libopencv-dev and paste the output to here? In principle in melodic we assume the (standard) version 3.2.0 for this. Also we provide the melodic_dev branch for versions before noetic, so you should also switch to this branch if you want to use the code in melodic. Can you please also make sure you checked out to this branch? — Reply to this email directly, view it on GitHub <#22 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AND3KDX4OU2QJTDVPK52A5LWMLSI5ANCNFSM6AAAAAASSGM54M . You are receiving this because you authored the thread.Message ID: @.***>

Have you solved this? I met the same error as you and my libopencv-dev version is 3.2.0+dfsg-4ubuntu0.1