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.1 required=5.0 tests=BAYES_05,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,35f79e8475e3730a X-Google-Attributes: gid103376,public From: jm59@prism.gatech.edu (John M. Mills) Subject: Re: help with mesa,glut,linux Date: 1998/08/26 Message-ID: <6s1kd2$4q0@acmex.gatech.edu>#1/1 X-Deja-AN: 384999596 References: <35e41536.0@newsfeed.uu.se> Organization: Georgia Institute of Technology Newsgroups: comp.lang.ada Date: 1998-08-26T00:00:00+00:00 List-Id: Roger.Carlsson.3873@student.uu.se (Roger Carlsson) writes: >I am about to write programs using Mesa, glut, gnat 3.10 on redhat 5. >I need a small example program together with a makefile. Mesa and GLUT both come with examples, I recall, and if you don't have OpenGL on your system GLUT will use Mesa _perforce_. Perhaps you could translate a simple example from the GLUT sources to Ada. If you have built these on your system, you'll also have the examples' Makefile. You will have to provide an Ada 'spec' for your GLUT library entries (the ones you actually use), and 'with' that into your main. I have a cross- language example (Ada-Fortran-Ada) in: ftp://jmills.gtri.gatech.edu/pub/ada_fortran_calls.gz This is more complex than your problem, but may give you the approach. 'gcc' and 'gnat' are an easy match with regard to data types. Regards - jmm -- John M. Mills, Senior Research Engineer -- john.mills@gtri.gatech.edu Georgia Tech Research Institute, Georgia Tech, Atlanta, GA 30332-0834 Phone contacts: 404.894.0151 (voice), 404.894.6258 (FAX) "Lies, Damned Lies, Statistics, and Simulations."