title: ffmpeg shared libraries setup on visual studio 2013
body: <p>Setting up ffmpeg shared libraries that are downloaded from ffmpeg zenaroe (<a href="https://ffmpeg.zeranoe.com/builds/" rel="nofollow noreferrer">https://ffmpeg.zeranoe.com/builds/</a>) for windows_64bit. The IDE is VS2013. </p>
  
  <p>I downloaded dev and shared build for windows 64bit.</p>
  
  <p>And followed steps like bellow but when building, linker error happens. The object file is created so compiling seems done. But there seems to be a problem finding referenced functions at the linking stage.</p>
  
  <ol>
  <li>Create win32 project and main.cpp</li>
  <li>Copy ffmpeg_dev's include and lib folders to solution directory.</li>
  <li>Open project properties and add the include dir and the lib dir.</li>
  <li>Add lib names to linker input.</li>
  <li><p>Build</p>
  
  <p>main.cpp</p>
  
  <pre><code>extern "C"{
  #include &lt;libavformat\avformat.h&gt;
  }
  int main(void){
  
      av_register_all();
  
      return 0;
  }
  </code></pre></li>
  </ol>
  
  <p>The linker error is:  </p>
  
  <blockquote>
    <p>LNK2019 unresloved external symbol _av_register_all referenced in function _main.</p>
  </blockquote>