‘seewave’安装错误“‘sndfile.h’文件未找到"(OSX Yosemite下的R 3.2.0) [英] ‘seewave' install error “'sndfile.h' file not found” (for R 3.2.0 under OSX Yosemite)

查看:61
本文介绍了‘seewave’安装错误“‘sndfile.h’文件未找到"(OSX Yosemite下的R 3.2.0)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新到 R 3.2.0 时,我不得不重新安装 seewave.

When updating to R 3.2.0 I had to reinstall seewave.

我设法安装了所需的包 fftwtuneRrglrpanel.

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

但是,在尝试编译 seewave 时,我收到消息:

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

stft.c:3:11: fatal error: 'sndfile.h' file not found

推荐答案

在 linux 上安装 libsndfile 库就足够了,例如用

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

sudo apt-get install libsndfile1-dev

在 OS X 上:

brew install libsndfile

这篇关于‘seewave’安装错误“‘sndfile.h’文件未找到"(OSX Yosemite下的R 3.2.0)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆