matl
matl

Reputation: 135

opencv - sailfishOS IDE

I want to create an Sailfish app for Jolla with C++ and openCV. I worked with openCV and standard computers, but I have no experience with openCV and mobile devices. How do I have to integrate the openCV libraries into the sailfishOS IDE?

If I integrate the standard libraries like in x64 / x86 programs:

INCLUDEPATH += /usr/include/opencv \
               /usr/include/opencv2 \
LIBS += -lopencv_core

and include them with:

#include <cv.h>

it is not posiible to use the opencv functions.

Has anybody experiences with openCV, the SailfishOS IDE and Jolla?

Upvotes: 2

Views: 427

Answers (1)

smoku
smoku

Reputation: 1484

OpenCV is already packaged for Mer: https://build.merproject.org/package/show/home:cckwes/opencv

You just need to build it for SailfishOS, install the -devel package under SDK and you're ready to go.

Upvotes: 2

Related Questions