Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You're not linking with required library. You need to check that which mode your using debug or release . opencv_calib3d246d.lib is use for debug mode , and for release you need to use the same without d like opencv_calib3d246.lib

For example

#ifdef DEBUG
 #pragma comment (lib , "opencv_calib3d246d.lib")
#else
 #pragma comment (lib , "opencv_calib3d246.lib")
#endif

You're not linking with required library. You need to check that which mode your using debug or release . opencv_calib3d246d.lib is use for debug mode , and for release you need to use the same without d like opencv_calib3d246.lib

For example

#ifdef DEBUG
 #pragma comment (lib , "opencv_calib3d246d.lib")
#else
 #pragma comment (lib , "opencv_calib3d246.lib")
#endif

You can also get help from here