I grepped everything possible, I found nothing related to mfc4. This is getting scary...<div><br></div><div>Since I&#39;m not a CMake developer or expert, can someone guide me with steps on how to debug this issue? If I need to debug CMake itself from source, that is acceptable but hopefully we don&#39;t need to start there.</div>
<div><br></div><div>Once I open the generated VS2008 solution, is there anything in project settings I can look at to maybe see something suspicious? Just let me know what I need to do and I&quot;ll post the information you need.</div>
<div><br></div><div>Thanks in advance...<br clear="all"><div><br></div><div>---------</div>Robert Dailey<br>
<br><br><div class="gmail_quote">On Thu, Oct 20, 2011 at 12:01 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 did this and it links just fine... hmmm. Let me grep my source tree for &quot;mfc4&quot; and see what I get. I really am running out of ideas, I don&#39;t know what else to look for.<br clear="all"><div><br></div><div>---------</div>

Robert Dailey<div><div></div><div class="h5"><br>
<br><br><div class="gmail_quote">On Thu, Oct 20, 2011 at 11:46 AM, Bill Hoffman <span dir="ltr">&lt;<a href="mailto:bill.hoffman@kitware.com" target="_blank">bill.hoffman@kitware.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>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 &#39;mfc40.lib&#39;<br>
<br>
Also I created a default MFC application using the new project wizard in<br>
VS2008 and it compiled &amp; 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>
</div></div></blockquote></div><br></div>