1 | initial version |
Solved by including the .o files directly:
LIBS += /home/denis/Cpp/opencv-3.0.0/modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap.cpp.o
LIBS += /home/denis/Cpp/opencv-3.0.0/modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_libv4l.cpp.o
LIBS += /home/denis/Cpp/opencv-3.0.0/modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_gstreamer.cpp.o
LIBS += /home/denis/Cpp/opencv-3.0.0/modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_images.cpp.o
LIBS += /home/denis/Cpp/opencv-3.0.0/modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_mjpeg_decoder.cpp.o
LIBS += /home/denis/Cpp/opencv-3.0.0/modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_mjpeg_encoder.cpp.o
Is there a way to have my function in the videoio library?