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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fdbcc5a87c9a17ca X-Google-Attributes: gid103376,public From: "Anderson" Subject: Re: OpenGL Date: 2000/05/29 Message-ID: <3931c9e5@news.wa.apana.org.au>#1/1 X-Deja-AN: 628437114 References: <392b7034@news.wa.apana.org.au> X-Trace: 29 May 2000 09:37:41 +0800, dialup18.wa.apana.org.au Organization: APANA Western Australia (http://www.wa.apana.org.au/) X-MSMail-Priority: Normal X-Priority: 3 Newsgroups: comp.lang.ada X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Date: 2000-05-29T00:00:00+00:00 List-Id: I found out that some enviromental varibles needed to be set first, set ada_include_path=G:\adaold\bindings\glut-3.7 set ada_objects_path=G:\adaold\bindings\glut-3.7 which I put in a bat file before loading GNAT Also I noted that the GLUT.DLL need to be changed to another which suppored ADA. Thanks eveybody. "Anderson" wrote in message news:392b7034@news.wa.apana.org.au... > I can not get the ada Opengl sample package at > http://www.niestu.com/languages/oglada/ to work in GNAT (win98). > For example when try to run the fog.adb ie retruns this message when > building > ... > ./glut.o: In function 'glut glutcreatewindow$2: > F:/open ada/test/f:/openad~1/test/glut.adb:29:undefined reference to > 'glutCreatWindow' > ./glut.o: In function 'glut glutinitdisplaystring$2: > f:/open ada/test/f:/openad~1/test/glut.adb:29: undefined reference to > 'glutInitDisplayString' > ... (and so on for every gl function/procedure it uses) > > Now I do have the gl and glut files in the folder f:/open > ada/test/f:/openad~1/test/. > > Also how do you use a makefile in GNAT? > >