gem gosu 的 Debian 依赖项
我正在尝试
gem install gosu
,但收到很多有关缺少头文件(包括 sndfile.h)的编译器消息。是否有编译 gosu gem 所需的 debian 软件包列表?
I'm trying to
gem install gosu
but I'm getting a lot of compiler messages about missing header files, including sndfile.h. Is there a list of debian packages that are needed to compile the gosu gem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
请参阅 https://github.com/jlnr/gosu/wiki/Getting-在 Linux 上启动
build-essential freeglut3-dev libfreeimage-dev libgl1-mesa-dev libopenal-dev libpango1.0-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsndfile-dev libxinerama-dev
see https://github.com/jlnr/gosu/wiki/Getting-Started-on-Linux
build-essential freeglut3-dev libfreeimage-dev libgl1-mesa-dev libopenal-dev libpango1.0-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsndfile-dev libxinerama-dev
我在 OS X 10.9.4 上安装时遇到了类似的问题,尽管我不确定版本与它有多大关系,但 ruby 版本是 ruby-2.1.2
为了解决这个问题,我安装了这些额外的依赖项对于修复了问题的 Gosu:
然后照常运行 gem install gosu 。
I had similar issue whilst installing on OS X 10.9.4 although am not sure the version has much to do with it, but ruby version is ruby-2.1.2
To resolve this, I installed these additional dependencies for Gosu which fixed the problem:
Then run gem install gosu as usual.