title: "error LNK2019: unresolved external symbol" error in Visual Studio 2010
body: <p>I'm trying to compile and run a C code that is using <code>libsndfile</code> library for sound files processing.</p>
  
  <p>I have added the header file using this path:
  <code>project's Properties (in C/C++ -&gt; General -&gt; Additional Include Directories)</code></p>
  
  <p>Also i have linked the library using this path:
  <code>Project Properties -&gt; Linker -&gt; Input -&gt; Additional Dependencies.</code></p>
  
  <p>But while debugging, i get the following errors:</p>
  
  <p><code>1&gt;sil.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
  1&gt;sil.obj : error LNK2019: unresolved external symbol _sf_write_sync referenced in function _main
  1&gt;sil.obj : error LNK2019: unresolved external symbol _sf_write_double referenced in function _main
  1&gt;sil.obj : error LNK2019: unresolved external symbol _sf_close referenced in function _main
  1&gt;sil.obj : error LNK2019: unresolved external symbol _sf_read_double referenced in function _main
  1&gt;sil.obj : error LNK2019: unresolved external symbol _sf_open referenced in function _main
  1&gt;c:\users\anam\documents\visual studio 2010\Projects\silence\Debug\silence.exe : fatal error LNK1120: 5 unresolved externals</code></p>
  
  <p>Can someone please identify the problem here? I'm new at using Visual Studio and I really need help!</p>