当我尝试在Mac OSX Lion上安装gem ruby-opengl 时,它不起作用。 我收到一条巨大的错误信息,结尾是:
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
rake aborted!
Command failed with status (1): [clang -fno-common -O3 -ggdb -Wextra -Wno-...]
Tasks: TOP => default => gl.bundle => gl-1.0-1.1.o
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [rake...]
Tasks: TOP => default => gl => ext/gl/gl.bundle
(See full trace by running task with --trace)
有人有想法解决这个问题吗?
答案 0 :(得分:4)
我发现有一个原始宝石的编辑版本。我在我的macosx lion安装上试用了它,它只是运行以下命令顺利运行:
gem install ruby-opengl2
你可以在网址找到分叉:https://github.com/pbosetti/ruby-opengl 我只是觉得原来的宝石不再被玷污了。
答案 1 :(得分:1)
看起来这是一个已知问题,并且已提交补丁。请参阅:http://rubyforge.org/tracker/index.php?func=detail&aid=29477&group_id=2103&atid=8185