comp.lang.ada
 help / color / mirror / Atom feed
* Ada OpenGL question
@ 2009-09-15 17:18 Olivier Scalbert
  2009-09-15 18:19 ` Ludovic Brenta
  0 siblings, 1 reply; 5+ messages in thread
From: Olivier Scalbert @ 2009-09-15 17:18 UTC (permalink / raw)


Hi all,

I have found some OpenGL code there:
http://adaopengl.sourceforge.net/downloads.php

I manage to get it compiled on my linux box but when I run it, I have:

raised SYSTEM.ASSERTIONS.ASSERT_FAILURE : Handlers for "expose_event" on 
a GtkGLArea should be functions

So it looks I have problem with callbacks somewhere around:
Destroy_CB.Connect(MyGL, "destroy", Destroy_CB.To_Marshaller( Quit'Access));

Expose_CB.Connect(MyGL, "expose_event", Expose_CB.To_Marshaller( 
Expose'Access));

Resize_CB.Connect(MyGL, "configure_event", Resize_CB.To_Marshaller( 
Reshape'Access));


All the files are located there:
http://scalbert.dyndns.org/ada/adagtkgl/

If somebody can help me, I would appreciate !

Thanks,

Olivier



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-09-16 11:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-15 17:18 Ada OpenGL question Olivier Scalbert
2009-09-15 18:19 ` Ludovic Brenta
2009-09-16  6:43   ` Olivier Scalbert
2009-09-16  7:34     ` Ludovic Brenta
2009-09-16 11:51       ` Olivier Scalbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox