问题
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
回答1:
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
回答2:
Pisca46 - Installing via 'brew install libsndfile' helped.
回答3:
On CentOS, the package has a different name :
sudo yum install libsndfile-devel
I also had to install the fftw-devel yum package
来源:https://stackoverflow.com/questions/30219360/seewave-install-error-sndfile-h-file-not-found-for-r-3-2-0-under-osx-yose