From: Benjohn Barnes Date: 2006-07-14T06:07:47+09:00 Subject: Re: [ANN] ruby-opengl I think you're aware of this, but it seems to build and run fine on OS-X 10.4. Here's the compiler output though, if you'd like to see the warnings: > ruby-opengl-0.34pre2 # ruby extconf.rb > checking for main() in -lGL... no > checking for main() in -lMesaGL... no > checking for main() in -lGL... yes > checking for main() in -lGLU... yes > creating Makefile > checking for main() in -lglut... no > creating Makefile > ruby-opengl-0.34pre2 # make > Now Making glut extension module... > gcc -fno-common -I. -I/System/Library/Frameworks/OpenGL.framework/ > Headers -I/System/Library/Frameworks/GLUT.framework/Headers -I. -I/ > usr/lib/ruby/1.8/powerpc-darwin8.0 -I/usr/lib/ruby/1.8/powerpc- > darwin8.0 -I. -c glut.c > glut.c: In function 'glut_KeyboardFunc': > glut.c:194: warning: passing argument 1 of 'glutKeyboardFunc' from > incompatible pointer type > cc -bundle -framework OpenGL -framework GLUT -framework > Foundation -L"/usr/lib" -L"/System/Library/Frameworks/ > OpenGL.framework/Libraries/" -o glut.bundle glut.o -lruby -lGLU - > lGL -lruby > Now Making opengl extension module... > gcc -fno-common -I. -I/System/Library/Frameworks/OpenGL.framework/ > Headers -I/System/Library/Frameworks/GLUT.framework/Headers -I. -I/ > usr/lib/ruby/1.8/powerpc-darwin8.0 -I/usr/lib/ruby/1.8/powerpc- > darwin8.0 -I. -c glu.c > glu.c: In function 'glu_PickMatrix': > glu.c:1210: warning: passing argument 2 of 'ary2cint' from > incompatible pointer type > glu.c: In function 'glu_Project': > glu.c:1249: warning: passing argument 2 of 'ary2cint' from > incompatible pointer type > glu.c: In function 'glu_UnProject': > glu.c:1294: warning: passing argument 2 of 'ary2cint' from > incompatible pointer type > glu.c: In function 'glu_ErrorString': > glu.c:1400: warning: pointer targets in passing argument 1 of > 'rb_str_new2' differ in signedness > glu.c: In function 'glu_GetString': > glu.c:1414: warning: pointer targets in passing argument 1 of > 'rb_str_new2' differ in signedness > gcc -fno-common -I. -I/System/Library/Frameworks/OpenGL.framework/ > Headers -I/System/Library/Frameworks/GLUT.framework/Headers -I. -I/ > usr/lib/ruby/1.8/powerpc-darwin8.0 -I/usr/lib/ruby/1.8/powerpc- > darwin8.0 -I. -c ogl.c > gcc -fno-common -I. -I/System/Library/Frameworks/OpenGL.framework/ > Headers -I/System/Library/Frameworks/GLUT.framework/Headers -I. -I/ > usr/lib/ruby/1.8/powerpc-darwin8.0 -I/usr/lib/ruby/1.8/powerpc- > darwin8.0 -I. -c rbogl.c > cc -bundle -framework OpenGL -framework GLUT -framework > Foundation -L"/usr/lib" -L"/System/Library/Frameworks/ > OpenGL.framework/Libraries/" -o opengl.bundle glu.o ogl.o rbogl.o - > lruby -lGLU -lGL -lruby Thanks very much, I think I'll be using this :) Cheers, Benj