title: Error Building Windows 7 Driver
body: <p>I have this driver that will not compile. I've been searching the errors on the net and have came up with no solution. Any thoughts?</p>
  
  <pre><code>#include &lt;wdm.h&gt;
  
  VOID Unload(IN PDRIVER_OBJECT pDriverObject)
  {
      DbgPrint("Received signal to unload the driver");
      return;
  }
  
  NTSTATUS DriverEntry(IN PDRIVER_OBJECT pDriverObject, IN PUNICODE_STRING regPath)
  {
      DbgPrint("Driver has been loaded");
      (*pDriverObject).DriverUnload = Unload;
      return(STATUS_SUCCESS);
  }
  </code></pre>
  
  <p>Errors Below:</p>
  
  <pre><code>1&gt;------ Build started: Project: KMDF Test, Configuration: Win7 Debug Win32 ------
  1&gt;  Stamping Win7Debug\KMDFTest.inf [Version] section with DriverVer=12/04/2012,10.12.25.726
  1&gt;  cl wpp
  1&gt;wpp : error : (WppCreateFile)Cannot open file trace.h, error 2
  2&gt;------ Build started: Project: KMDF Test Package, Configuration: Win7 Debug Win32 ------
  2&gt;C:\Program Files\Windows Kits\8.0\build\WindowsDriver8.0.common.targets(1347,5): error MSB3030: Could not copy the file "C:\Users\Administrator\documents\visual studio 2012\Projects\KMDF Test\Win7Debug\KMDFTest.sys" because it was not found.
  ========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
  </code></pre>