title: How do I use C libraries installed using Homebrew
body: <p>I used Homebrew to install gphoto2 and libgphoto2 for use in a camera-control application using C++.  I have confirmed that header files were linked in /usr/local/includes: </p>
  
  <p><a href="https://i.stack.imgur.com/BvT5G.png" rel="nofollow">Screencap of includes folder on my system</a></p>
  
  <p>Based on the sample code available at <a href="https://github.com/gphoto/libgphoto2/tree/master/examples" rel="nofollow">https://github.com/gphoto/libgphoto2/tree/master/examples</a>, it seems like I should be able to use includes such as <code>#include &lt;gphoto2/gphoto2.h&gt;</code> to access the header files, but that approach has failed using both Clang and Xcode as the compiler.  The files are not found.  What am I doing wrong?  </p>