C++ – opencv 2.3.* imread not working

cjpegopencvwindows-7-x64

I cant get imread to work, its same problem as this guy:

OpenCV imwrite 2.2 causes exception with message "OpenCV Error: Unspecified error (could not find a writer for the specified extension)" on Windows 7

I just dont wannt use the workaround. Anyone know the problem?

Using windows 7 64bit

Best Answer

The problem was due to mixing up debugging and release builds. If building in debug mode, the debug libs are needed. On unix this dont seem to be a problem.

Related Topic