I’ve downloaded and installed google-sparse_has_map with
./configure
make
make install
As instructed, without a problem, but when I included it in XCode, like this:
#include <google/sparse_hash_map>
I receive the following error:
Google/sparse_hash_map: No such file or directory.
It is installed in /usr/local/include/
how do I show this directory to XCode?
Take a look at my graphic below:
You need to tell Xcode where the library and the include files are. Add paths to the “Header Search Paths” and “Library Search Paths” of your project settings.