Visual Studio 2015 C/C++ コンパイラを使用して OpenCV (3.0) の最新バージョンをコンパイルしようとしています。
GitHub から最新のソース コードをダウンロードし、CMake 3.4.0-rc1 でソリューションを生成しました。追加機能(Contrib モジュール、CUDA、VTK、OpenNI など)なしでライブラリをビルドしたいだけです。
ソリューションを生成した後 (CMake はエラーを表示しません)、Microsoft Visual Studio 2015 でビルドしようとしています。 」となり、ソート期間中に自動的に閉じます。
ビルドが停止すると、次のエラーが発生します。
binおよびlibフォルダーが空です( dll /lib は生成されません)。
コンパイラがクラッシュすると、出力ウィンドウに次のエラーが表示されます。
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
どんな助けでも大歓迎です、事前に感謝します! :)