Ask Your Question
0

i am using open cv 2.4.8 with visual studio 2012 as i compile the code it gave a linker error 1181 even though i had added dependencies libraries.. it always say unable to open : opencv_calib3d248d.lib

asked 2016-08-10 08:34:25 -0600

using windows 10

edit retag flag offensive close merge delete

Comments

1

Please, stay away from OpenCV 2.4.8. We have evolved since then and are already at OpenCV 2.4.11 and OpenCV 3.1. You should use one of those versions to have optimal support!

StevenPuttemans gravatar imageStevenPuttemans ( 2016-08-12 03:38:46 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-08-11 17:02:44 -0600

Baschdi gravatar image

updated 2016-08-11 17:03:30 -0600

The linker needs the library path in order to link the library to the binaries. Make sure again the both Properties:

Project Properties > Linker > General > Additional Library Directories Project Properties > Linker > Input > Additional Dependencies

are set correctly.

Also take care to add the ".lib" - files, not the ".dll" ones. Watch out for the correct ending: *248d.lib of the files as 248d stands for OpenCV 2.4.8 - Debug.

If this does not work, try adding the location where your library is located to your PATH. If nothing works, make sure opencv_calib3d248d.lib even exists.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-08-10 08:34:25 -0600

Seen: 468 times

Last updated: Aug 11 '16