I did this and it links just fine... hmmm. Let me grep my source tree for "mfc4" and see what I get. I really am running out of ideas, I don't know what else to look for.<br clear="all"><div><br></div><div>---------</div>
Robert Dailey<br>
<br><br><div class="gmail_quote">On Thu, Oct 20, 2011 at 11:46 AM, Bill Hoffman <span dir="ltr"><<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 10/20/2011 12:35 PM, Robert Dailey wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I just tried with VS2008 and I get the same:<br>
fatal error LNK1104: cannot open file 'mfc40.lib'<br>
<br>
Also I created a default MFC application using the new project wizard in<br>
VS2008 and it compiled & linked just fine, so it seems like maybe this<br>
is a CMake issue?<br>
<br>
</blockquote>
<br></div>
Can you take the default MFC app that you created, and write CMake files for it? Then see if that works?</blockquote></div>