I was so excited to get Visual Studio 2010 Ultimate running for the first time but I spent so much time trying to get OpenCV library working on it. Too much for the excitement.
I kept following this link for instructions
http://opencv.willowgarage.com/wiki/VisualC%2B%2B_VS2010
But I kept getting this weird Application Failed To Initialize Properly (0xc0150002) error.
After reading some blogs, forums, and then some. I realized that not even getting the Redistributable Package as some people suggested helped.
I even tried to compile OpenCV with CMake but even CMake would give me a hard time. It definitely wasn't my day. But enough complaining. So how I did I get around it?
It turned out that OpenCV works on the Visual Studio 2010 Express version with the instructions on the previous link. I got it working first on the Express version and then on the Ultimate version. It seems like there were some libraries of updates that were on the express version that the ultimate version needed. So much for being "ultimate". Well, that is enough for now. I hope this help. Happy coding. I am going to bed now :)
5 comments:
O yea computer vision rules :D have a look at http://aishack.in/ :D
when i reached your blog i thought it would be simple, but it doesn't work for my case.
i have windows 7, visual studio 2010 Ultimate edition C++ and openCV 2.1. I got the same error.
Then i installed visual studio 2010 express edition, repeated the installation steps from the link, and got the same error. has anybody dealed with the same problem?
Thank you so much
I have been stuck on this all day long
up for express .... :)
Make sure you recreate the project on Express. I used the old project to open on Express and didn't work. When it didn't work on ultimate at first I had opencv working on 2008 express first and then 2010 express. Maybe this would make a difference.
@clara
change the linker path from that of debug to that of release and it will work
Post a Comment