I'm just getting started with OpenCV 2.1, and followed the instructions on http://opencv.willowgarage.com/wiki/VisualC%2B%2B_VS2010
and I can build and compile with no issues, but when I run the application, I get an error message saying:
The application failed to initialize properly (0xc0150002). Click OK to terminate the application.
I am using Visual Studio 2010 on Windows XP 64-bit. I had the same issue on Windows 7 Home Premium 64-bit, but a windows XP professional (32-bit) running as a virtual machine on that Windows 7 PC worked fine. I don't know if it is a 64-bit thing or what.
I looked all over the interent, and unfortunatly I can't find anything that solved my issue. I have already installed the Visual C++ 2005 Redistributable, since that is was everyone said to do. I've also looked at this page: http://opencv.willowgarage.com/wiki/VC2008Express
, which was a little outdated (it refers to OpenCV1.1pre1 and Visual C++ 2008). I've been able to do the whole Cmake thing and compile the stuff myself, which goes fine AND the samples run fine, it's just my stuff when I try to follow the instructions that I run into problems.
Thanks in advance.