Windows 7的64 / Visual Studio 2008中/ OpenCV2.1错误:"应用程序无法正常启动(0xhex).."无法正常、应用程序、错误、Studio

由网友(别在我面前犯贱)分享简介:我要建OpenCV2.1从部门高层在64位模式,当我对我的code(即在XP 32位模式下工作)链接库,我得到的对话框:I'm building OpenCV2.1 from top of branch in 64 bit mode, when I link the libraries against my code...

我要建OpenCV2.1从部门高层在64位模式,当我对我的code(即在XP 32位模式下工作)链接库,我得到的对话框:

I'm building OpenCV2.1 from top of branch in 64 bit mode, when I link the libraries against my code (that works in 32 bit mode on XP), I get the dialog:

应用程序无法正常启动(0xc0150002)单击确定关闭应用程序

"The application was unable to start correctly (0xc0150002) Click OK to close the application"

当我启动应用程序。在事件查看器指向OpenCV的DLL的&放大器之一;说,这是一个边并排的错误,但我肯定OpenCV的建设和放大器;我的code为64位编译,并在这个过程中没有任何错误。我试过用/ MTD选项和放摆弄;它并不能帮助。部分(几乎)相关的问题建议安装VS2008再发行组件包,但我建设使用VS2008亲,这似乎是疯狂?是否仍然有必要在我的情况下安装包?

When I start the application. The event viewer is pointing at one of the OpenCV dll's & says it's a Side-by-Side error, but I'm definitely building OpenCV & my code as a 64 bit compile, and there are no errors during that process. I've tried fiddling with the /MTd options & it doesn't help. Some (almost) related questions have suggested installing the VS2008 redistributable package, but I'm building using vs2008 pro, that seems like madness? Is it still necessary to install the package in my case?

任何帮助,包括这些并排端错误的原因,将AP preciated。

Any help, including the cause of these side-by-side errors, would be appreciated.

詹姆斯

推荐答案

我有,当我刚刚下载的OpenCV-2.1.0-Win32的vs2008.exe同样的麻烦。

i had the same trouble when i just downloaded OpenCV-2.1.0-win32-vs2008.exe.

所有你需要的是rebuid OpenCV的库和DLL这里下面的说明 http://opencv.willowgarage.com/wiki/VisualC++_VS2010_CMake 。

all you need is to rebuid OpenCV libs and dlls following instructions here http://opencv.willowgarage.com/wiki/VisualC++_VS2010_CMake.

CMake的2.8.2就够了顺便说一句。

CMake 2.8.2 is enough BTW.

阅读全文

相关推荐

最新文章