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
Post a Comment