Reply to topic

How to use OpenCV with KDevelop?

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
592
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.

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], exahamza, Google [Bot], jkurutz, Majestic-12 [Bot], razorrob, shevchuk, Sogou [Bot], Yahoo [Bot]