Going to bump this thread in hopes I get a more urgent response. I&#39;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.<div><br></div><div>
I looked through the C++ code for #pragma comment(lib, ... ) directives, I found none. I looked at my system include/library paths in Tools &gt;&gt; Options in Visual Studio 2003, I find nothing strange.</div><div><br></div>
<div>Please help guys, I really need a quick solution!! I appreciate in advance any help!</div><div><br><div class="gmail_quote">On Tue, Oct 18, 2011 at 3:10 PM, Robert Dailey <span dir="ltr">&lt;<a href="mailto:rcdailey@gmail.com">rcdailey@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I&#39;ve enabled MFC by setting CMAKE_MFC_FLAG to 2. I&#39;m using CMake 2.8.6 and I&#39;m generating for Visual Studio 7.1.<div>
<br></div><div>When I&#39;m linking, I get the following error:<br><div><div><div><br></div><div>
    uploadlog fatal error LNK1104: cannot open file &#39;mfc40.lib&#39;</div></div><div><br></div><div>On my system I only have mfc71.lib. Why is it trying to load version 4.0?</div><div><br></div><div>---------</div>Robert Dailey<br>


</div></div>
</blockquote></div><br></div>