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: a07f3367d7,46b35c6f5f1a761d X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.189.78 with SMTP id dd14mr355633qab.0.1360830645847; Thu, 14 Feb 2013 00:30:45 -0800 (PST) X-Received: by 10.49.47.109 with SMTP id c13mr1639976qen.3.1360830645828; Thu, 14 Feb 2013 00:30:45 -0800 (PST) Path: k2ni32873qap.0!nntp.google.com!p13no16113760qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 14 Feb 2013 00:30:45 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.156.33.125; posting-account=bPTmZAoAAAC_6HP9XLKB9aAAxBa6BuOR NNTP-Posting-Host: 193.156.33.125 References: <5f621dd4-c254-4ab4-9d41-7752a5cfc565@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <9ced32c6-92ba-4e5e-a093-33c0f0ddd105@googlegroups.com> Subject: Re: Linux (openSUSE), Ada (GNAT) + OpenGL (MESA) = possible? From: reinkor Injection-Date: Thu, 14 Feb 2013 08:30:45 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2013-02-14T00:30:45-08:00 List-Id: Made an attempt: gnatmake -gnat2012 Test.adb Got: tao_gl-functions.adb:18:69: missing ";" tao_gl-functions.adb:19:09: "With" can only appear in context clause tao_gl-functions.adb:20:40: missing ";" tao_gl-functions.adb:21:09: "With" can only appear in context clause tao_gl-functions.adb:22:36: missing ";" tao_gl-functions.adb:23:09: "With" can only appear in context clause tao_gl-functions.adb:24:20: missing ";" ...etc... I had to rename for example tao_gl.functions.adb to tao_gl-functions.adb You use linux? (I used here linux/openSUSE 12.2). reinert On Wednesday, February 13, 2013 7:10:12 PM UTC+1, Shark8 wrote: > On Wednesday, February 13, 2013 4:50:00 AM UTC-6, reinkor wrote: >=20 > > Could anybody give a hint on how to use OpenGL (Mesa) >=20 > > from Ada (GNAT) under linux (for example openSUSE 12.2)=20 >=20 > > reinert >=20 >=20 >=20 > I have a working-but-partial OpenGL binding over here: https://github.com= /OneWingedShark/TAO-GL >=20 >=20 >=20 > It has at least all the functions included through OpenGL 1.1, though all= of them updated for the enumerations of the 4.3 version. (I haven't gotten= around to the additional [1.2+] functions yet; also it needs a bit of a re= work to be able to [automatically] take advantage of the dynamic enumeratio= ns instead of only going with the bare-minimums.)