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: 103376,a949937a76bda3b7 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Setting up Opengl Date: Fri, 19 Nov 2010 20:24:18 +0000 Organization: A noiseless patient Spider Message-ID: References: <1b5c6b5d-c5aa-4e59-9079-940d3f269e29@q14g2000yqe.googlegroups.com> <976e2a89-130e-4150-8b50-97f68b97330a@z19g2000yqb.googlegroups.com> <4ce45a30$0$7670$9b4e6d93@newsspool1.arcor-online.net> <7a62e247-9a36-4471-a559-4ded9810adea@v12g2000vbh.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx01.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="31224"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18qIN9IRnRZs85U4aEns1LVXigzHRv/gm4=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) Cancel-Lock: sha1:AX74Ocwdk6jW/Q09xt42Fn4S7SA= sha1:F29Uxf5CnHFLdsGrTtOYHZAqnxY= Xref: g2news1.google.com comp.lang.ada:15622 Date: 2010-11-19T20:24:18+00:00 List-Id: Gautier write-only 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 ...