I am working on a project of porting my OpenCV code from Windows to raspberry pi but I am having hard time finding a way to get OpenCV C++ working. I've found many guides but they seemed to only have libraries and code support for only C.
The only promising one I found was this: RaspiCam: C++ API for using Raspberry camera with/without OpenCv
Which I got it installed but once I try to compile the simpletest_raspicam_cv.cpp using
Code: Select all
g++ simpletest_raspicam_cv.cpp -o simpletest_raspicam_cv -I/usr/local/include/ -lraspicam -lraspicam_cv -lmmal -lmmal_core -lmmal_util -lopencv_core -lopencv_highgui I get this:
Code: Select all
/usr/bin/Id: cannot find =lmmal
/usr/bin/Id: cannot find =lmmal_core
/usr/bin/Id: cannot find =lmmal_utilI am using Raspbian.
Thank you