Link
: Fatal error lnk1104: one reason why the file "mfc71.lib" cannot be opened
Http://blog.csdn.net/mxclxp/article/details/8161200
Refer:
Http://stackoverflow.com/questions/7851325/why-is-my-lib-forcing-the-inclusion-of-mfc40-lib
The following is another example --
[Environment]
Windows xp OS;
Visual Studio 2008;
It was originally developed by vs2003. An error occurred after migration to vs2008.
[Analysis]
Mfc71.lib is the MFC class library used by vs2003. Although both vs2003 and 2008 are installed on my machine, however, an error is reported because I cannot find mfc71.lib in the path of the vs2008 class library. Furthermore, we should not find mfc71.lib in the path of vs2008 class library, but use its corresponding mfc90.lib.
[Countermeasure]
Open project properties,
Linker> input> ignore specific Libraries
Mfc71.lib; mfcs71.lib, Re-compile. The options in the corresponding. vcproj file are: ignoredefalibrlibrarynames = "mfc71.lib; mfcs71.lib"
[Note] Not every migration project will report the above error. It is not clear which setting of the migrated project makes it necessary for vs2008 to find the old MFC. If you can find it, it may be more appropriate to directly modify it.