我想使用Visual Studio 2015 C/C++编译器编译最新版本的OpenCV(3.0)。使用VC14平台工具集编译OpenCV 3.0时编译器崩溃
我已经从GitHub下载了最新的源代码并使用CMake 3.4.0-rc1生成了解决方案。我只想构建库没有任何附加功能(Contrib模块,CUDA,VTK,OpenNI等)
我生成解决方案后(CMake不显示任何错误)我试图构建它与Microsoft Visual Studio 2015.生成开始后,弹出窗口告诉“Microsoft C/C++编译器驱动程序已停止工作”并在排序期间自动关闭。
当构建停止时,我收到以下错误:
我斌和LIB文件夹是空(没有的DLL /生成库) 。
当编译器崩溃,在输出窗口,我得到以下错误:
1>D:\OPENCV-BUILD-VC14\cmake-output-3\modules\core\opencv_core_pch.cpp : fatal error C1001: An internal error has occurred in the compiler.
1> (compiler file 'f:\dd\vctools\compiler\utc\src\p2\main.c', line 246)
1> To work around this problem, try simplifying or changing the program near the locations listed above.
1> Please choose the Technical Support command on the Visual C++
1> Help menu, or open the Technical Support help file for more information
任何帮助表示赞赏,感谢你在前进! :)
我提到过我正在尝试构建不支持CUDA的库:-) – rhcpfan