lv4l1 and lv4l2 problem with static install of OpenCV for ARM

asked 2017-04-27 08:17:20 -0600

Hi!

I'm trying to install OpenCV3.1 in Ubuntu 14.04 with the SHARED_LIBS=OFF to generate the .a libraries. I want to compile an app to load in an ARM embedded system. These are the steps I follow:

  1. cd ~/opencv3.1.0/platforms/linux
  2. mkdir build_hardfp
  3. cmake . and ccmake.
  4. In ccmake, I need to setup several options, such us WITH_V4L = ON (I want to use VideoCapture to open a webcam in my ARM). Configure and Generate are the final steps.
  5. Then I use make, when the installation is nearly the 60% it always returns me the same error: /user/local/arm-linux-gnueabi/../../../../arm-linux-gnueabi/bin/ld: cannot find -lv4l1 and -lv4l2.

As I said before I need to use V4L to open the webcam with my ARM, so it is mandatory to use this option. Already installed the libv4l-dev and others. However, my system doesnt have the folder that the installation is looking for. And the v4l libraries I have installed are in a x64 folder (i need the x32 ones)

Thanks!

edit retag flag offensive close merge delete