error LINK1104: can't open file 'opencv_core2411d.obj'

asked 2017-08-30 23:08:56 -0500

I am tried to use the OpenCV-2.4.2 library in visual studio 2013. unfortunately, every time I run any C++ code even "Filtering Image", the compiler generates this error Link: fatal error LINK1104: can't open file 'opencv_core2411d.obj'

Also, I'm using Windows 10 and please provide steps to successfully import opecv2.4.2 into visual studio and let me know why I am receiving this error.

Also, I put the opencv_calib3d2411d.lib to the additional dependencies.Also, I clicked on YES in Use Library Dependency.but Still, have the same problem.If you can give another solution, Its good.

edit retag flag offensive close merge delete

Comments

did you add opencv_core242.lib , opencv_imgproc242.lib ..... (all that list) to Linker->Input ?

Ziri gravatar imageZiri ( 2017-08-30 23:52:55 -0500 )edit

NO, I didn't add these. But I tried now and still have that error ( error LINK1104: can't open file 'opencv_core2411d.obj' )

Vimukthi Gunasekara gravatar imageVimukthi Gunasekara ( 2017-08-31 01:50:30 -0500 )edit

usually, if you get this error Visual Studio is not able to find the lib. Have you add the directory of this lib? Linker->General->Additional Library Directories I'm not 100% sure but if you have OpenCV2.4.2 the lib should have the name opencv_core242d, or?

VxW gravatar imageVxW ( 2017-08-31 04:13:00 -0500 )edit