Using OpenCV with C++ on Slackware
I want to use OpenCv with C++ but I am having troubles.
On my desktop, running Slackware64 14.1, the SlackBuilds process craps out with a series of errors related to "'GstMiniObjectClass' does not name a type" This is trying to install opencv-3.0.0
On my laptop, running Slackware64 14.2 I have been rather more successful but not quite enough. After installing opencv-4.0.1 I was able to use the library through python (both 2.7 and 3.6) and I can compile a simple C++ program but when I try to run it, the dynamic library isn't found. I'm not sure where these dynamic libraries are so I can't tell the system where to look. Maybe this should be part of the SlackBuilds install process?
Any advice or suggestions are welcome. Thanks.
|