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,FREEMAIL_FROM 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: g2news2.google.com!postnews.google.com!g26g2000vba.googlegroups.com!not-for-mail From: Gautier write-only Newsgroups: comp.lang.ada Subject: Re: Setting up Opengl Date: Fri, 19 Nov 2010 05:18:19 -0800 (PST) Organization: http://groups.google.com 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> NNTP-Posting-Host: 206.122.158.4 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1290172699 8082 127.0.0.1 (19 Nov 2010 13:18:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 19 Nov 2010 13:18:19 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g26g2000vba.googlegroups.com; posting-host=206.122.158.4; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:16583 Date: 2010-11-19T05:18:19-08:00 List-Id: On 19 nov, 13:02, sjw: > I'd been waving the pointer about wildly (!) so that the viewpoint was > moving all over the place, it crashed when I moved to the first image > with the (9?) squares with '3'. OK, I guess I have a clue then: this object is manually built, probably with a wrong vertex numbering on one face. > 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? There is -g in the "Debug" mode, but probably it doesn't help because the main display operations are called from the GLUT framework. You give the routines' addresses to GLUT: ReshapeFunc( Window_Resize'Address ); DisplayFunc( Main_operations'Address ); IdleFunc( Main_operations'Address ); GLUT.Devices.Initialize; Then, you start the game: GLUT.MainLoop; -- Let's rock ! With all that, the traceback probably cannot go further than the latter instruction. ______________________________________________________________ Gautier's Ada programming -- http://gautiersblog.blogspot.com/ NB: follow the above link for a working e-mail address