comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Setting up Opengl
Date: Fri, 19 Nov 2010 20:24:18 +0000
Date: 2010-11-19T20:24:18+00:00	[thread overview]
Message-ID: <m2tyjd5afh.fsf@pushface.org> (raw)
In-Reply-To: aa6bb21c-3e4a-47a8-b94e-72d6059b751c@g26g2000vba.googlegroups.com

Gautier write-only <gautier_niouzes@hotmail.com> writes:

>> I'd have posted a traceback but atos (this is on a Mac) only gave me
>> the line numbers for the main file (where it calls the main loop) and
>> the one in the exception message. Maybe the library wasn't built with -
>> g?

> Then, you start the game:
>   GLUT.MainLoop;  -- Let's rock !
>
> With all that, the traceback probably cannot go further than the
> latter instruction.

Another one: moving the first screen of globe_3d_demo way off screen,

Exception name: CONSTRAINT_ERROR
Message: globe_3d_demo.adb:814 range check failed
Call stack traceback locations:
0x1001c2507 0x101076915 0x1001b6171 0x1000013a1

$ atos -arch x86_64 -o globe_3d_demo 0x1001c2507 0x101076915 0x1001b6171 0x1000013a1
globe_3d_demo__main_operations.3364 (in globe_3d_demo) + 738
0x101076915
_ada_globe_3d_demo (in globe_3d_demo) (globe_3d_demo.adb:1115)
main (in globe_3d_demo) (b~globe_3d_demo.adb:371)

I suppose that "globe_3d_demo__main_operations.3364 (in globe_3d_demo) +
738" is in fact globe_3d_demo.adb:814 ...



      reply	other threads:[~2010-11-19 20:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-17 18:10 Setting up Opengl Szymon Ząbkiewicz
2010-11-17 20:39 ` Gautier write-only
2010-11-17 21:05   ` Szymon Ząbkiewicz
2010-11-17 22:41     ` Georg Bauhaus
2010-11-18  8:38       ` Gautier write-only
2010-11-18 19:53         ` Simon Wright
2010-11-18 22:52           ` Georg Bauhaus
2010-11-19  9:52             ` Gautier write-only
2010-11-19 20:14             ` Simon Wright
2010-11-20 12:07             ` Gautier write-only
2010-11-19  9:54           ` Gautier write-only
2010-11-19 12:02             ` sjw
2010-11-19 13:18               ` Gautier write-only
2010-11-19 20:24                 ` Simon Wright [this message]
replies disabled

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