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.110.68 with SMTP id m4mr517676qap.2.1360837777410; Thu, 14 Feb 2013 02:29:37 -0800 (PST) X-Received: by 10.49.58.140 with SMTP id r12mr1569026qeq.35.1360837777388; Thu, 14 Feb 2013 02:29:37 -0800 (PST) Path: k2ni32900qap.0!nntp.google.com!p13no758403qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 14 Feb 2013 02:29:37 -0800 (PST) In-Reply-To: <9ced32c6-92ba-4e5e-a093-33c0f0ddd105@googlegroups.com> 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> <9ced32c6-92ba-4e5e-a093-33c0f0ddd105@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Linux (openSUSE), Ada (GNAT) + OpenGL (MESA) = possible? From: reinkor Injection-Date: Thu, 14 Feb 2013 10:29:37 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2013-02-14T02:29:37-08:00 List-Id: Sorry, I should use "gnatmake -Ptao_gl.gpr ..." ? Need to get things via teaspoon :-) reinert On Thursday, February 14, 2013 9:30:45 AM UTC+1, reinkor wrote: > Made an attempt: >=20 >=20 >=20 > gnatmake -gnat2012 Test.adb >=20 >=20 >=20 > Got: >=20 >=20 >=20 > tao_gl-functions.adb:18:69: missing ";" >=20 > tao_gl-functions.adb:19:09: "With" can only appear in context clause >=20 > tao_gl-functions.adb:20:40: missing ";" >=20 > tao_gl-functions.adb:21:09: "With" can only appear in context clause >=20 > tao_gl-functions.adb:22:36: missing ";" >=20 > tao_gl-functions.adb:23:09: "With" can only appear in context clause >=20 > tao_gl-functions.adb:24:20: missing ";" >=20 >=20 >=20 >=20 >=20 > ...etc... >=20 >=20 >=20 > I had to rename for example tao_gl.functions.adb to tao_gl-functions.adb >=20 >=20 >=20 > You use linux? (I used here linux/openSUSE 12.2). >=20 >=20 >=20 > reinert >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > On Wednesday, February 13, 2013 7:10:12 PM UTC+1, Shark8 wrote: >=20 > > On Wednesday, February 13, 2013 4:50:00 AM UTC-6, reinkor wrote: >=20 > >=20 >=20 > > > Could anybody give a hint on how to use OpenGL (Mesa) >=20 > >=20 >=20 > > > from Ada (GNAT) under linux (for example openSUSE 12.2)=20 >=20 > >=20 >=20 > > > reinert >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > > I have a working-but-partial OpenGL binding over here: https://github.c= om/OneWingedShark/TAO-GL >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > > It has at least all the functions included through OpenGL 1.1, though a= ll of them updated for the enumerations of the 4.3 version. (I haven't gott= en around to the additional [1.2+] functions yet; also it needs a bit of a = rework to be able to [automatically] take advantage of the dynamic enumerat= ions instead of only going with the bare-minimums.)