Can't compile OpenCV 3.1 : Missing videoio.h, videodev.h, avformat.h

 

from https://raspberrypi.stackexchange.com/questions/42283/cant-compile-opencv-3-1-on-raspberry-pi-missing-videoio-h-videodev-h

Scouring internet for possible solution of the exact same issue I faced landed me here and no solution specified worked. What I did notice though is:-

  1. Not all steps described in the pyimagesearch blog were followed - missed some steps - checked one by one though not sure this was the root cause.

  2. OpenCV 3.1.0 has a bug and you need to set INSTALL_C_EXAMPLES=OFF. This info is available as an update in the pyimagesearch blog of

    26-10-2015:- "Update (3 January 2016): In order to build OpenCV 3.1.0 , you need to set -D INSTALL_C_EXAMPLES=OFF (rather than ON ) in the cmake command. There is a bug in the OpenCV v3.1.0 CMake build script that can cause errors if you leave this switch on. Once you set this switch to off, CMake should run without a problem"

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值