1 | initial version |
You're not linking with required library. You need to check that which mode your using debug or release . opencv_core242d.lib
is use for debug mode , and for release you need to use the same without d like opencv_core242.lib
For example
#ifdef DEBUG
#pragma comment (lib , "opencv_core242d.lib")
#else
#pragma comment (lib , "opencv_core242.lib")
#endif
2 | No.2 Revision |
You're not linking with required library. You need to check that which mode your using debug or release . opencv_core242d.lib
is use for debug mode , and for release you need to use the same without d like opencv_core242.lib
For example
#ifdef DEBUG
#pragma comment (lib , "opencv_core242d.lib")
#else
#pragma comment (lib , "opencv_core242.lib")
#endif
you can also check here