title: fatal error LNK1104: cannot open file 'kernel32.lib' in assembly
body: <p>I am trying to write my first assembly language, "Hello World", but I keep on getting this error that says:</p>
  
  <blockquote>
    <p>fatal error LNK1104: cannot open file 'kernel32.lib'</p>
  </blockquote>
  
  <p>Did I install the linker wrong or is there anything wrong with my code? here is my code </p>
  
  <pre><code>.386
  .model flat, stdcall
  option casemap:none
  
  include \masm32\include\windows.inc
  include \masm32\include\kernel32.inc
  include \masm32\include\masm32.inc
  
  includelib \masm32\lib\kernel32.lib
  includelib \masm32\lib\masm32.lib
  
  .data
  
      HelloWorld db "Hello World!", 0
  
  .code
  start:
  
      invoke StdOut, addr HelloWorld
      invoke ExitProcess, 0
  
  end start
  </code></pre>