From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,efe941d6d79d0fa7,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!195.238.0.231.MISMATCH!news.skynet.be!195.238.0.222.MISMATCH!newsspl501.isp.belgacom.be!tjb!not-for-mail Date: Tue, 15 Sep 2009 19:18:13 +0200 From: Olivier Scalbert User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Ada OpenGL question Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4aafcc54$0$2860$ba620e4c@news.skynet.be> Organization: -= Belgacom Usenet Service =- NNTP-Posting-Host: a5029778.news.skynet.be X-Trace: 1253035092 news.skynet.be 2860 81.242.189.125:34798 X-Complaints-To: usenet-abuse@skynet.be Xref: g2news2.google.com comp.lang.ada:8330 Date: 2009-09-15T19:18:13+02:00 List-Id: 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