Windows 7 64 / Visual Studio 2008 / OpenCV2.1 error: "The application was unable to start correctly
Posted
by James
on Stack Overflow
See other posts from Stack Overflow
or by James
Published on 2010-04-22T11:37:15Z
Indexed on
2010/04/22
11:43 UTC
Read the original article
Hit count: 1402
Hey all,
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:
"The application was unable to start correctly (0xc0150002) Click OK to close the application"
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?
Any help, including the cause of these side-by-side errors, would be appreciated.
James
© Stack Overflow or respective owner