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:
Screencap of includes folder on my system
Based on the sample code available at https://github.com/gphoto/libgphoto2/tree/master/examples, it seems like I should be able to use includes such as #include <gphoto2/gphoto2.h>
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?