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=0.3 required=5.0 tests=BAYES_00,STOX_REPLY_TYPE, STOX_REPLY_TYPE_WITHOUT_QUOTES,XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,29464d9ef5486201,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.183.135 with SMTP id em7mr503570wic.0.1362276833363; Sat, 02 Mar 2013 18:13:53 -0800 (PST) Path: bp2ni69216wib.1!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.87.MISMATCH!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsreader4.netcologne.de!news.netcologne.de!newsfeed1.swip.net!news.astraweb.com!border6.a.newsrouter.astraweb.com!cyclone01.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!feed.xsnews.nl!border-1.ams.xsnews.nl!post-feeder-01.xsnews.nl!frontend-F09-03.ams.textnews.kpn.nl From: "ldries46" Newsgroups: comp.lang.ada Subject: Strange behavior of OpenGLUT Date: Wed, 27 Feb 2013 10:15:52 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 15.4.3555.308 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308 Message-ID: <512dcf0d$0$17990$703f8584@textnews.kpn.nl> Organization: KPN.com NNTP-Posting-Host: 77.168.179.107 X-Trace: 1361956621 textnews.kpn.nl 17990 77.168.179.107@kpn/77.168.179.107:51562 X-Received-Bytes: 1984 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Date: 2013-02-27T10:15:52+01:00 List-Id: I am using Open GL in one of my programs therefore I do include the Open GL library, the open GLU library and the Open Glut library with the following calls: with OpenGL; use OpenGL; with OpenGL.GLU; use OpenGL.GLU; with OpenGL.GLUT; use OpenGL.GLUT; I show the strange behavior by the next code: procedure display is -- chanced: GLvoid display( GLvoid ); begin glClear( GL_COLOR_BUFFER_BIT ); --correctly compiled ShowAxis; Wall; drawTriangles; glFlush; --correctly compiled glutSwapBuffers; --NOT correctly compiled end display; then I get the following error message: undefined reference to 'glutSwapBuffers' while in the OpenGL.Glut package the following is presented: procedure glutSwapBuffers; All calls to OpenGL.Glut subprograms in the file are found to have the same error but every variable from this file is correctly compiled All calls op OpenGL subprograms are also correctly compiled. I am using the OpenGL-glut.ads by David Holm 2002-2003 What do I have to do to get this correctly compiled using GNAT GPS 2012 L. Dries