error LNK1104: cannot open file 'opencv_calib3d310d.lib' C:\project27july\myNewOpenCV\myNewOpenCV\LINK myNewOpenCV

asked 2016-07-27 04:17:35 -0500

pariwesh07 gravatar image

i have vs 2013 proffesional and using opencv3.1.0 i setup everything properly but while compiling this error occurs Error 1
error LNK1104: cannot open file 'opencv_calib3d310d.lib' C:\project27july\myNewOpenCV\myNewOpenCV\LINK myNewOpenCV

i have added following Additional dependencies is it fine or something missing where is the issue opencv_calib3d310d.lib opencv_core310d.lib opencv_features2d310d.lib opencv_flann310d.lib opencv_highgui310d.lib opencv_imgcodecs310d.lib opencv_imgproc310d.lib opencv_ml310d.lib opencv_objdetect310d.lib opencv_photo310d.lib opencv_shape310d.lib opencv_stitching310d.lib opencv_superres310d.lib opencv_ts310d.lib opencv_video310d.lib opencv_videoio310d.lib opencv_videostab310d.lib

edit retag flag offensive close merge delete

Comments

if you downoaded some binary pack, you'll likely have a single opencv_world_310d.lib instead of those in your list. please check, what's actually on your disk !

berak gravatar imageberak ( 2016-07-27 04:21:07 -0500 )edit

yes it is exactly same opencv_world310.but if i not added above list it will give following error Error 1 error LNK2019: unresolved external symbol "void __cdecl cv::fastFree(void *)" (?fastFree@cv@@YAXPAX@Z) referenced in function "public: __thiscall cv::Mat::~Mat(void)" (??1Mat@cv@@QAE@XZ) C:\project27july\myNewOpenCV\myNewOpenCV\main.obj myNewOpenCV Error 2 error LNK2019: unresolved external symbol "private: char * __thiscall cv::String::allocate(unsigned int)" (?allocate@String@cv@@AAEPADI@Z) referenced in function "public: __thiscall cv::String::String(char const *)" (??0String@cv@@QAE@PBD@Z) C:\project27july\myNewOpenCV\myNewOpenCV\main.obj myNewOpenCV Error 3 error LNK2019: unresolved external symbol "private: void __thiscall cv::String::deallocate(void)" (?deallocate@String@cv@@AA

pariwesh07 gravatar imagepariwesh07 ( 2016-07-27 04:49:34 -0500 )edit