title: Unresolved external symbol when linking to third party libraries from UE4
body: <p>EDIT:
  Updated post to avoid linking to third party sites and to collect all required information here.</p>
  
  <p>Any information is appreciated. If you need more info, please inform me and I will edit the post with the new details.
  Here is some useful information to start with.</p>
  
  <p><a href="http://pastebin.com/i9qcSw2Z" rel="nofollow">Errors.</a></p>
  
  <p><a href="http://pastebin.com/aB3suBqR" rel="nofollow">Source code.</a></p>
  
  <p>I am trying to use a third party SDK consisting of one lib file and essentially one header file. I manage to get the intellisense to work, but I get linker errors even though I have modified my project's build.cs file to add the library path.</p>
  
  <pre><code>public OculusTest(TargetInfo Target)
      {
          PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" });
          // Add static libs
          PublicAdditionalLibraries.Add(Path.Combine(ThirdPartyPath, "RPLidar/Libraries", "rplidar_driver.lib"));
          // Add a path with the .h that has the function definitions
          PublicIncludePaths.Add(Path.Combine(ThirdPartyPath, "RPLidar", "Includes"));
      }
  </code></pre>
  
  <p>I also checked if I was missing something, but in a standalone C++ project I use the same files and only the same files and it does work. The files in question are </p>
  
  <blockquote>
    <p>RPLidar.h and rplidar_driver.lib</p>
  </blockquote>
  
  <p>As such I assume the error is in me failing to tell the Unreal compiler where to find the lib file.</p>
  
  <p>Thank you in advance for all information regarding this way too stubborn error.</p>