错误分析
- videoio模块编译出错
- Windows SDK版本是10.0.10586,错误可能与这个有关
解决方案尝试
- 更换OpenCV版本
- 更换CMake版本
- 更换Windows SDK版本
问题解决
经过尝试,问题出在Windows SDK和版本上,默认是10.0.10586,编译不成功, 更换为10.0.10240后,编译还是不成功,切换到10.0.16299.0 编译通过。
问题遗留
看起来是由于windows的 sdk的版本问题。
当前的电脑的操作系统:
硬件信息:
i7--4710hq;
intel hd graphics 4600
gtx850m
_________________________________________________________________________________________________________________________________________________
每一个不曾起舞的日子,都是对生命的辜负。
But it is the same with man as with the tree. The more he seeks to rise into the height and light, the more vigorously do his roots struggle earthward, downward, into the dark, the deep - into evil.
其实人跟树是一样的,越是向往高处的阳光,它的根就越要伸向黑暗的地底。----尼采