title: Problems linking Nlopt-2.4.2 in visual studio 2017
body: <p>Some back story: I am trying to <a href="https://data.broadinstitute.org/alkesgroup/BOLT-LMM/" rel="nofollow noreferrer">get the bolt-lmm software</a> to compile on a Windows machine, because it would be a nice addition to the research group I am in. The developers of the software have only made a linux static executeable, but made the source code available. I am used to programming in R or python, and this is my first ever encounter with C++.</p>
  
  <p>I have solved a fair bit of problems, but for some reason I have not been able to get visual studio to link properly with <code>Nlopt-2.4.2</code>. </p>
  
  <p>I <a href="https://nlopt.readthedocs.io/en/latest/NLopt_on_Windows/" rel="nofollow noreferrer">downloaded it</a>
  and followed the steps given there on how to install it.</p>
  
  <p>I can tell I have done the same to link the Nlopt library to the project as is described in <a href="https://stackoverflow.com/questions/4445418/how-to-add-additional-libraries-to-visual-studio-project">How to add additional libraries to Visual Studio project?</a></p>
  
  <p>I still get errors like:</p>
  
  <pre><code>Error   LNK2019 unresolved external symbol __imp__nlopt_create referenced in function "public: __thiscall nlopt::opt::opt(enum nlopt::algorithm,unsigned int)" (??0opt@nlopt@@QAE@W4algorithm@1@I@Z)    boltCompiler    C:\Users\au483192\source\repos\boltCompiled\boltCompiler\NonlinearOptMulti.obj  1   
  </code></pre>
  
  <p>(there are a total of 12 of this type of error, and an error link 1120, which just tells me there are 12 unresolved eternals.)</p>
  
  <p>I hope this is enough information to provide a hint of what is going wrong.</p>