Ask Your Question
0

problem in installing opencv 2.4.5 in windows 7 in Visual C++ professional

asked 2013-05-14 06:40:05 -0600

updated 2013-05-14 06:57:47 -0600

After doing all the procedure of installation when I run the sample program which is given it shows the following error.

LINK : fatal error LNK1104: cannot open file 'opencv_core231d.lib'

The above file is not there in library. Now how to resolve this. Please help me. Its urgent.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-05-14 07:02:00 -0600

First error that you made is the following : installing openCV version 2.3.1 instead of version 2.4.5 or you followed a guide describing 2.3.1 and did download 2.4.5.

Some basics that you should check:

  1. At the linker include libraries, be sure that the name of the dll is exactly like it should be. For example, the core library should be : opencv_core245d.lib in debug mode and opencv_core245.lib in release mode.
  2. Be sure that you added the dll folder into your path variable of your system. In your case this should be something like: D:\opencv\build\x64\vc10\bin\ or D:\OpenCV2.4\build\x86\vc10\bin\ depending on which operating system you use.

Then head back for more help if this doesn't work.

edit flag offensive delete link more

Comments

I have downloaded opencv 2.4.5. and followed the procedure which is given in following link

http://docs.opencv.org/doc/tutorials/introduction/windows_visual_studio_Opencv/windows_visual_studio_Opencv.html#windows-visual-studio-how-to

If it is wrong then kindly let me know the exact procedure. Please reply.

Mallikarjun gravatar imageMallikarjun ( 2013-05-15 07:01:46 -0600 )edit

Giving me a guide will not tell me what goes wrong. Gives us your project configuration settings and check if your system path variable for opencv is placed correct.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-05-15 07:05:40 -0600 )edit

Question Tools

Stats

Asked: 2013-05-14 06:40:05 -0600

Seen: 511 times

Last updated: May 14 '13