Error LNK1107: Invalid or Corrupt File, can't read at 0x2b8
I have Windows 8 operating system, Visual Studio 2013, I followed all steps to integrate opencv into visual studio. The following error appears:
Error LNK1107: Invalid or Corrupt File, can't read at 0x2b8 (File opencv_calib3d248.dll)
I checked identifying and integrating dll files, and I wrote all them in the linker !! Still the error appears, how can I solve the problem!
you're expected to link against .lib files there, not .dll
and also, opencv_calib3d248d.lib for the debug build, opencv_calib3d248.lib for release, similar for all the other libs.
I link against .lib files and the executable is created without errors. But when I run the executable the error message resurfaces - the filename for me is opencv_core2410d.dll