title: Compile and link 3rd party library in Visual Studio
body: <p>I am fairly new to C programming and I haven't used Visual Studio or a third party library before. I'm trying to do something simple with FMOD and need to link <code>fmodvclib</code>, <code>fmod.h</code>, and of course <code>fmod.dll</code>.</p>
  
  <p>I've put <code>fmodex_vc.lib</code> in the additional dependencies and the path to the low level libraries in the include and library directories as well as additional include libraries but when I build it gives me:</p>
  
  <pre><code>"cannot open source file "fmod.h"
  identifier "FSOUND_SAMPLE" is undefined
  Cannot open include file: 'fmod.h': No such file or directory
  </code></pre>
  
  <p>but even weirder is:</p>
  
  <pre><code>cannot open source file "stdio.h"
  </code></pre>
  
  <p>here is the code:</p>
  
  <pre><code>#include "fmod.h"
  #include &lt;stdio.h&gt;
  
  FSOUND_SAMPLE* handle;
  
  int main(void)
  {
      int input;
  
      FSOUND_Init(44100, 32, 0);
  
      handle = FSOUND_Sample_Load(0, "test.ogg", 0, 0, 0);
      FSOUND_PlaySound(0, handle);
  
      while (input != 0)
      {
          scanf_s("&amp;d", &amp;input);
      }
  
      FSOUND_Sample_Free(handle);
      FSOUND_Close();
  }
  </code></pre>
  
  <p>Any help would be appreciated!</p>