Ask Your Question
0

Please help! error link calib3d300d.lib [closed]

asked 2015-11-02 07:35:19 -0600

jmader gravatar image

updated 2015-11-02 08:26:53 -0600

berak gravatar image

Hello guys,

I'm new to OpenCV and I have a problem linking to OpenCV libs.

I already set my envirnoment variables (OPENCV_DIR C:\OpenCV\opencv\build\x64\vc12) and created my property sheets for Debug and Release (Additional Include Directories $(C/C++ OPENCV_DIR)....\include and Linker Additional Library Directories $(OPENCV_DIR)\lib and also added Linker>Input Additional Dependencies opencv_calib3d300d.lib;opencv_core300d;...;opencv_videostab300d.lib;).

So my problem is: When I want to run the standard test for OpenCV (http://docs.opencv.org/3.0-beta/_down...) I always get the error message "LNK1104 Can not open file "opencv_calib3d300d.lib"".

I am using VS15 and OpenCV3.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by berak
close date 2015-11-02 08:56:38.035203

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-11-02 07:42:20 -0600

berak gravatar image

updated 2015-11-02 08:58:37 -0600

take a look at your opencv/build/bin or lib dir. the prebuild packages come with a huge opencv_world300 lib/dll, (which contains all other modules) not with single-module ones, like opencv_calib3d300

if so, just link against opencv_world300(d).lib , and remove the other entries from your projecct

edit flag offensive delete link more

Comments

Thanks a lot! It worked!

jmader gravatar imagejmader ( 2015-11-02 08:49:26 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-11-02 07:35:19 -0600

Seen: 273 times

Last updated: Nov 02 '15