Ask Your Question
0

Unable to link to 'opencv_calib3d230d.obj

asked 2013-01-31 00:08:24 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

I am trying to use OpenCv in Visual Studio 2012. I followed every single step this question has provided and every other that can be found on the internet. I even tried to work with different versions of opencv but the error didn't go away.

The error is:

error LNK1104: cannot open file 'opencv_calib3d230d.obj'

All the required libraries are included in linker configurations of visual Studio. Envoirnmental variable "Path" has also been updated but still the error is there.

What can I do to solve this problem? I have search for calib3d230d.obj every where but it is not inside the extracted folder.

I downloaded OpenCv superpack.exe from HERE

Regards

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-01-31 00:19:28 -0500

updated 2013-01-31 00:38:32 -0500

In the linker->input-> additional dependency when you append library name you have to mention it by .lib extension.

for example opencv_highgui242d.lib instead of opencv_highgui242d .

edit flag offensive delete link more

Comments

I did that already but the error is still there

baba1 gravatar imagebaba1 ( 2013-01-31 00:25:06 -0500 )edit
0

answered 2013-01-31 08:38:00 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

Possibly you can search for opencv_calib3d230d.obj on your machine and add the directory containing that to your linker dependencies.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-01-31 00:08:24 -0500

Seen: 115 times

Last updated: Jan 31 '13