title: Cannot open source file in visual studio 2015
body: <p>I am trying to compile <a href="https://github.com/jp9000/obs-studio" rel="nofollow noreferrer">OBS studio</a> with <a href="https://github.com/jp9000/obs-studio/wiki/Install-Instructions" rel="nofollow noreferrer">this tutorial</a> in windows using Visual Studio Community 2015. I have created a project in visual studio and copied the entire git repo into the project by dragging the files into the solution explorer. This project has dependencies on libav, x264, and curl. They are given as .lib, .dll, and header files.</p>
  <p>The problem is I keep getting &quot;cannot open source file&quot;. I have the the header files in a separate folder from the dll's and lib's (dll and lib are in the same folder). Under the project settings-&gt;VC++ Directories I added the include directory, and also added the library directory. Then I added the lib's specifically under Linker-&gt;input-&gt;additional Dependencies. Then I added the directory that contains the .dll files to the environment variable PATH.</p>
  <p>After all this, I still keep getting the same error, as well as a few other errors. Here is a screen shot of one source file that has the issue.</p>
  <p><a href="https://i.stack.imgur.com/EvhNz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EvhNz.png" alt="cannot open source file" /></a></p>
  <p>These are my settings.</p>
  <p><a href="https://i.stack.imgur.com/iLbA6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iLbA6.png" alt="Directories" /></a></p>
  <p><a href="https://i.stack.imgur.com/vITWm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vITWm.png" alt="Libraries" /></a></p>
  <p><a href="https://i.stack.imgur.com/vtW0A.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vtW0A.png" alt="enter image description here" /></a></p>
  <p>For the path, I have tried with and without the trailing forward slash.</p>