Ask Your Question

architector's profile - activity

2014-08-28 13:43:55 -0600 commented question Build OpenCV on a freeBSD 10

help me!!!

2014-08-28 09:34:51 -0600 commented question Build OpenCV on a freeBSD 10

On 2.4.9 version i have same problem: [ 17%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_libv4l.cpp.o /usr/local/src/opencv/modules/highgui/src/cap_libv4l.cpp:240:10: fatal error: 'asm/types.h' file not found

include <asm/types.h> /* for videodev2.h */

     ^

1 error generated. * Error code 1

2014-08-28 09:26:33 -0600 commented question Build OpenCV on a freeBSD 10

-- C/C++: -- Built as dynamic libs?: YES -- C++ Compiler: /usr/bin/CC (ver 3.3.0)

2014-08-28 08:52:13 -0600 asked a question Build OpenCV on a freeBSD 10

I'm trying to build OpenCV with cmake on a FreeBSD 10 machine by following steps:

cd /usr/local/src
git clone https://github.com/Itseez/opencv.git
cd opencv && mkdir release && cd release

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..

make

Then i get an error message:

[ 29%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_libv4l.cpp.o
/usr/local/src/opencvtest/modules/videoio/src/cap_libv4l.cpp:240:10: fatal error: 'asm/types.h' file not found
#include <asm/types.h>          /* for videodev2.h */
     ^

1 error generated. * Error code 1

please help me...