title: Eclipse can't link to kernel32.lib
body: <p>I've installed Eclipse CDT so I'll be able to write and compile C code.</p>
  
  <p>The compilation progress fails and the following error appears:</p>
  
  <pre><code>LNK1104 : cannot open file kernel32.lib
  </code></pre>
  
  <p>I've been searching for this file in my computer and found out it appears in some folders,</p>
  
  <pre><code>C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib
  C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib
  </code></pre>
  
  <p>How could I "refer" eclipse to one of this certain paths so the <code>kernel32.lib</code> file will be found and I'll be able to compile and run <code>C</code> files?</p>
  
  <p><strong>EDIT</strong>
  Thanks to @mux answer the     <code>LNK1104 : cannot open file kernel32.lib</code> is now gone , but a new error appears now :     <code>LNK1104 : cannot open file 'C:\Program.lib'</code> .
  Once again, any suggestion will be helpful.</p>