From: Talha Syed Date: 2006-10-19T01:10:30+09:00 Subject: Re: Ruby Open GL on OS X? John Gabriele wrote: > On 10/15/06, Talha Syed wrote: >> Hi all. >> >> [snip] >> >> So, does anyone know of a good, easy to install OpenGL/GLUT library that >> I can use on Mac OS X? Thanks in advance for the replies! > > Well, we haven't made a release yet, but you might grab (via svn) and > build the files from http://rubyforge.org/projects/ruby-opengl/ and > give it a shot. I think it should work for Mac OS X. > > ---John Thanks for all the replies. Man, have I been having a tough time with ruby-opengl. The rakefile simply aborts with the following error: -------------------------------- Pro530Rage:~/Desktop/gzz/trunk talhasyed$ rake --trace (in /Users/talhasyed/Desktop/gzz/trunk) ** Invoke default (first_time) ** Invoke ext/gl/gl.bundle (first_time) ** Invoke ext/gl/gl.o (first_time) ** Invoke ext/gl/gl.c (first_time, not_needed) ** Execute ext/gl/gl.o ============================== compiling: ext/gl/gl.c --> ext/gl/gl.o cc -g -O2 -pipe -fno-common -I/usr/local/lib/ruby/1.8/i686-darwin8.8.1 -F/System/Library/Frameworks -c -o ext/gl/gl.o ext/gl/gl.c {standard input}:unknown:FATAL:can't create output file: ext/gl/gl.o rake aborted! Command failed with status (1): [cc -g -O2 -pipe -fno-common -I/usr/local/l...] /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:722:in `sh' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:729:in `sh' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:812:in `sh' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:807:in `sh' /Users/talhasyed/Desktop/gzz/trunk/rakefile:69 /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in `invoke' /usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in `invoke_prerequisites' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in `invoke_prerequisites' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke' /usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in `invoke_prerequisites' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in `invoke_prerequisites' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke' /usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 /usr/local/bin/rake:18 -------------------------------- I have XCode installed, so cc and gcc should run pefectly. If anyone does a lot of C, do the above errors ring a bell? Do Yoshi's bindings work in Mac OSX, because I think I will try those next. -- Posted via http://www.ruby-forum.com/.