gcc - sndfile.h not found on OS X -


i'm trying install libsndfile on osx, , used homebrew (brew install libsndfile). when try compile example code #include <sndfile.h> using gcc says sndfile.h cannot found, when check in /usr/local/include it's right there. there i'm missing?

depending on compiler you're using may need add:

-i/usr/local/include  

to command line, e.g.

gcc -wall -i/usr/local/include foo.c -o foo 

Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -