Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot catkin build package in melodic #22

Open
PhilipAmadasun opened this issue Dec 2, 2022 · 5 comments
Open

cannot catkin build package in melodic #22

PhilipAmadasun opened this issue Dec 2, 2022 · 5 comments

Comments

@PhilipAmadasun
Copy link

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
Copy link
Contributor

ipa-foj commented Dec 5, 2022

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
Copy link
Author

PhilipAmadasun commented Dec 8, 2022 via email

@ipa-foj
Copy link
Contributor

ipa-foj commented Dec 9, 2022

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
Copy link
Author

PhilipAmadasun commented Dec 9, 2022 via email

@AlexWanghaoming
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants