Currently I\'m working on a project that uses OpenCV3 for realtime video processing (applying a set of color filters), and I managed to get the it to work with Java without
There are dependencies between the OpenCV static libraries. So you need to include them in exactly the right order. .a and .o includes are order dependent in GCC, files that have dependencies must be included before the files they depend on:
CV_LIBS = \
$(CV_LIB_FOLDER)/libopencv_calib3d.a \
$(CV_LIB_FOLDER)/libopencv_highgui.a \
$(CV_LIB_FOLDER)/libopencv_video.a \
$(CV_LIB_FOLDER)/libopencv_objdetect.a \
$(CV_LIB_FOLDER)/libopencv_imgproc.a \
$(CV_LIB_FOLDER)/libopencv_imgcodecs.a \
$(CV_LIB_FOLDER)/libopencv_core.a \
$(CV_LIB_FOLDER)/libopencv_hal.a