[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

ruby-opengl glut on osx

tsuraan

1/23/2006 3:05:00 PM

I grabbed the port of ruby-opengl for OSX from
http://www.lazyatom.com/software/opengl-0.... and installed it.
When I try to run any program (or even require 'opengl', I get the
following error, which kills ruby:

objc: failed objc_getClass(NSObject) for GLUTApplication->isa->isa
objc: please link appropriate classes in your program

Trace/BPT trap

I don't know much about OSX programming, so I have no idea what this
means. When the library links, it does link against the OpenGL and
GLUT frameworks, so I would think it would know where to find the glut
and OpenGL stuff, but maybe it doesn't. Any help would be much
appreciated.


5 Answers

james.adam

1/23/2006 3:26:00 PM

0

I have an updated version of my patched OpenGL module - I'll post
details in a reply to this thread in the next few days.

- james

On 1/23/06, tsuraan <tsuraan@gmail.com> wrote:
> I grabbed the port of ruby-opengl for OSX from
> http://www.lazyatom.com/software/opengl-0.... and installed it.
> When I try to run any program (or even require 'opengl', I get the
> following error, which kills ruby:
>
> objc: failed objc_getClass(NSObject) for GLUTApplication->isa->isa
> objc: please link appropriate classes in your program
>
> Trace/BPT trap
>
> I don't know much about OSX programming, so I have no idea what this
> means. When the library links, it does link against the OpenGL and
> GLUT frameworks, so I would think it would know where to find the glut
> and OpenGL stuff, but maybe it doesn't. Any help would be much
> appreciated.
>
>


tsuraan

1/23/2006 5:57:00 PM

0

On 23/01/06, James Adam <james.adam@gmail.com> wrote:
> I have an updated version of my patched OpenGL module - I'll post
> details in a reply to this thread in the next few days.

Thanks!


anne001

1/23/2006 7:26:00 PM

0

I would be interested.

I was able to get opengl and glut to work on tiger, but only when the
file is in the install folder opengl-0.32g
http://groups.google.com/group/comp.lang.ruby/browse_frm/thread/63a62226ede67ed7/084df49e33769742?q=opengl+anne001&rnum=2#084df4...

so I am interested if there is another way of installing opengl, so I
can have my files anywhere on my computer.

james.adam

1/29/2006 12:18:00 AM

0

I've uploaded my updated version of the OpenGL extensions to the following URL:

http://www.lazyatom.com/software/opengl-0....

You should have the Developer Tools and the GLUT framework sources
(available from Apple) installed for this. It builds and links against
the Apple-native OpenGL/GLUT libraries, so no X11 is involved.

- james

On 1/24/06, anne001 <anne@wjh.harvard.edu> wrote:
> I would be interested.
>
> I was able to get opengl and glut to work on tiger, but only when the
> file is in the install folder opengl-0.32g
> http://groups.google.com/group/comp.lang.ruby/browse_frm/thread/63a62226ede67ed7/084df49e33769742?q=opengl+anne001&rnum=2#084df4...
>
> so I am interested if there is another way of installing opengl, so I
> can have my files anywhere on my computer.
>
>
>


anne001

1/29/2006 1:17:00 AM

0

Great! Did anyone try it on tiger?