This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to use OpenCV with KDevelop?

Tags: None
(comma "," separated)
alvdd
Registered Member
Posts
1
Karma
0

How to use OpenCV with KDevelop?

Fri Jul 03, 2020 8:33 am
Hi guys,
I'm a rookie in Linux and KDevelop and I need help. I've installed OpenCV following the official page tutorial. But now when I do a #include<opencv/whatever> the program doesn't compile. I added to the CMakeList project file this two lines at the end following a YT tutorial:

find_package(OpenCV REQUIRED)
target_link_libraries(kdeopencv ${OpenCV_LIBS})

but I doesn't work neither.
Can anybody help me? Thank you so much. :)
User avatar
Madman
Registered Member
Posts
593
Karma
1
OS

Re: How to use OpenCV with KDevelop?

Fri Jul 03, 2020 12:12 pm
I set up a little test project here, which appears to work. Can you give us the specific error message?


Madman, proud to be a member of KDE forums since 2008-Oct.
seolin
Registered Member
Posts
3
Karma
0
OS
Hello!

Thank you for this! Very useful.

Best regards.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]