Why openCV does not work in VC++ 2008 and 2010?
I'm newbie in OpenCV. I created a project as Win32 application, not console application. The first openCV call
m_image = cvLoadImage(filename,1) fails with message
An unhandled exception of type 'System.Runtime.InteropServices.SEHException' occurred in UnuaProjekto.exe
The variable filename contains a valid path (returned from OpenFileDialog) to a BMP file.
What can I try?
Thanks
Comments
- do yourself a favour, and start with an empty project
- check , what you linked. right vs version ? got all debug/release correct ?
- avoid the outdated c-api (cv* functions, IplImages), use the c++ api instead.