Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

‘seewave' install error “'sndfile.h' file not found” (for R 3.2.0 under OSX Yosemite)

When updating to R 3.2.0 I had to reinstall seewave.

I managed to install the required packages fftw, tuneR, rgl, and rpanel.

But, when trying to compile seewave I got the message:

stft.c:3:11: fatal error: 'sndfile.h' file not found
like image 991
Pisca46 Avatar asked May 13 '15 15:05

Pisca46


1 Answers

On linux it is sufficient to install libsndfile library, for example with

sudo apt-get install libsndfile1-dev

On OS X just do:

brew install libsndfile
like image 154
user44509 Avatar answered Nov 03 '22 21:11

user44509