Going to bump this thread in hopes I get a more urgent response. I'm very much blocked on this until I can figure out why my project is trying to find mfc40.lib when I only have mfc71.lib on my system.
I looked through the C++ code for #pragma comment(lib, ... ) directives, I found none. I looked at my system include/library paths in Tools >> Options in Visual Studio 2003, I find nothing strange. Please help guys, I really need a quick solution!! I appreciate in advance any help! On Tue, Oct 18, 2011 at 3:10 PM, Robert Dailey <rcdai...@gmail.com> wrote: > I've enabled MFC by setting CMAKE_MFC_FLAG to 2. I'm using CMake 2.8.6 and > I'm generating for Visual Studio 7.1. > > When I'm linking, I get the following error: > > uploadlog fatal error LNK1104: cannot open file 'mfc40.lib' > > On my system I only have mfc71.lib. Why is it trying to load version 4.0? > > --------- > Robert Dailey >
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake