在用VS2012+opencv2.4.4时出现如图:
(The Application was unable to start correctly (0xc0150002),Click OK to close the application.)
后来才发现在工程文件夹debug中要添加VS2010的DLL才不会报错(一开始我添加的是VS2008的DLL,所以才会有上图的报错)
我的软件是VS2010+opencv2.4.4。【PS:debug的DLL在你配置的opencv中,我的路径为D:\A_System_K\Opencv244\opencv\bin\Debug】
外文的提示:
【
|
I switched to Visual Studio 2008 and encountered no problems. You were right, the DLLs were built using the VS 2008 compiler. To get OpenCV 2.4 working on VS2010, we have to rebuild the source files using VS2010's compiler. (点击打开原文)
|