LINK : fatal error LNK1104: cannot open file 'mfc90.lib' (Bug #2995)

Added by Khaled Chabani over 4 years ago. Updated over 4 years ago.

Status:Cancelled Start date:2013-04-30
Priority:Low Due date:
Assignee:- % Done:


Target version:-
Affected version:pre 2.4 (deprecated) Operating System:
Difficulty: HW Platform:
Pull request:


I am trying to run the blob detection code found here Shervin Emami)

I have linked all the library files correctly and still I am getting this error
LINK : fatal error LNK1104: cannot open file 'mfc90.lib'

I use Visual Studio 2010 and OpenCV2.1.

Can anybody tell me causing the error? how to correct? ?


Updated by Vadim Pisarevsky over 4 years ago

mfc90.dll/.lib are from Visual Studio 2008.

  • Status changed from Open to Cancelled
  • Priority changed from High to Low

Updated by Khaled Chabani over 4 years ago

But I used Visual Studio 2010 with OpenCV2.1 and I have the library mfc100.dll in ..\Microsoft Visual Studio 10.0\VC\atlmfc\lib.
have you any idea how to resolved this problem ? or how to parameterize my projet for use mfc100.lib library ?
Thanks Vadim

Updated by Anna Kogan over 4 years ago

Hello Khaled,
I suggest you ask your question on You may find there solution for your problem or same questions already answered.

Also available in: Atom PDF