ubuntu - Cross Compile OpenCV Cannot Find libv4l1 -


i following tutorial this blog cross compiling opencv arm. host system ubuntu 12.04 64 bit , compiler gcc-arm-linux-gnueabi 4.5.1.

when running make, following error

scanning dependencies of target opencv_createsamples [ 98%] building cxx object apps/haartraining/cmakefiles/opencv_createsamples.dir/createsamples.cpp.o linking cxx executable ../../bin/opencv_createsamples /usr/local/arm/4.5.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lv4l1 collect2: ld returned 1 exit status make[2]: *** [bin/opencv_createsamples] error 1 make[1]: *** [apps/haartraining/cmakefiles/opencv_createsamples.dir/all] error 2 make: *** [all] error 2 

it seems opencv looking libv4l1. doing aptitude search, found out in machine have installed libv4l , libv4l2. in this web, found libv4l1 deprecated ubuntu 12.04. suggestion? thanks!

you need libv4l1 target environment. libv4l1 machine of no use.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

How can I fetch data from a web server in an android application? -

jquery - How can I dynamically add a browser tab? -