I am using opencv library. I want do
#include <jni.h>
#include <string>
#include "opencv2/opencv.hpp"
#include "opencv2/stitching.hpp"
using namespace std;
using namespace cv;
...
Ptr<cv::Stitcher> stitcher = Stitcher::create();
but I have error:
undefined reference to `cv::Stitcher::create(cv::Stitcher::Mode)'