Ask Your Question
0

installing opencv 3 on visual studio 2010?

asked 2015-03-08 09:26:34 -0600

mahsa106l gravatar image

Hi all I'm an amateur in working with opencv and visual studio and want to start learning opencv I have downloaded opencv 3 and visual studio 2010 and my lap top is 64 bit with windows 8 now that I want to run a sample of program I get this error: 1>LINK : fatal error LNK1181: cannot open input file 'opencv_calib3d240d.lib'

I have used " http://www.anlak.com/2012/10/using-op... " tutorial for the installation but it does not work!

what is the problem?

edit retag flag offensive close merge delete

Comments

May be you should read http://docs.opencv.org/doc/tutorials/.... Use CMAKE. With windows 7 and openCV3 and VS2012 there is no problem.

LBerger gravatar imageLBerger ( 2015-03-08 10:25:37 -0600 )edit

As suggested by @kbarni, make sure the version names are correct, but like @LBerger said, please follow official tutorials only, the ones out there on the net are literally filled with bugs and errors.

StevenPuttemans gravatar imageStevenPuttemans ( 2015-03-09 07:26:39 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2015-03-09 07:08:35 -0600

kbarni gravatar image

updated 2015-03-09 07:54:01 -0600

Of course it can't find that LIB file, because it doesn't exist!!! That file is for OpenCV 2.4.0, as it's name suggests.

Don't just copy and paste some outdated tutorial and wait it to work.

You'll need to set correctly the "Additional library directories" and the "Additional dependencies" (opencv-...300d.lib or opencv_...300.lib) from that directory. Make sure that the OpenCV version (32/64 bit) matches your project.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-03-08 09:26:34 -0600

Seen: 3,766 times

Last updated: Mar 09 '15