From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:6214:ab2:b0:635:db54:4885 with SMTP id ew18-20020a0562140ab200b00635db544885mr14508qvb.4.1688672239025; Thu, 06 Jul 2023 12:37:19 -0700 (PDT) X-Received: by 2002:a17:902:e843:b0:1b8:a70e:dd00 with SMTP id t3-20020a170902e84300b001b8a70edd00mr2512897plg.6.1688672238679; Thu, 06 Jul 2023 12:37:18 -0700 (PDT) Path: eternal-september.org!news.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 6 Jul 2023 12:37:17 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=98.59.238.112; posting-account=oHOvdQoAAACYgyEBjgPNvKFOGxg8pNns NNTP-Posting-Host: 98.59.238.112 References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com> <016412bf-0247-466b-add9-8b5d41c6a9d7n@googlegroups.com> <6de97f96-fae6-4e13-9439-e8f550287835n@googlegroups.com> <2566ce87-a407-48a9-a805-afb4582a542bn@googlegroups.com> <7023751f-54a8-4392-b60f-611d5a8dfcb2n@googlegroups.com> <01bd59d9-c5cb-4336-b123-5289165c5de8n@googlegroups.com> <0d46efb3-210d-46d8-9e3c-4d3d938c1924n@googlegroups.com> <4ead2fde-6bc6-4bb3-97d0-4000b79f7d45n@googlegroups.com> <87lefwwpce.fsf@nosuchdomain.example.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h" From: Kenneth Wolcott Injection-Date: Thu, 06 Jul 2023 19:37:19 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 4169 Xref: news.eternal-september.org comp.lang.ada:65425 List-Id: On Tuesday, July 4, 2023 at 2:00:11=E2=80=AFAM UTC-7, Luke A. Guest wrote: > On 04/07/2023 00:58, Kenneth Wolcott wrote:=20 > > On Monday, July 3, 2023 at 4:24:37=E2=80=AFPM UTC-7, Keith Thompson wro= te:=20 > >> Kenneth Wolcott writes:=20 > >> [...]=20 > >>> After adding a semi-colon at the following line in sdlada.gpr=20 > >>>=20 > >>> for Default_Swiches ("Ada") use ("-gnat202", "-gnata");=20 > >> [...]=20 > >>=20 > >> Unless "-gnat202" requests the version of Ada that was current during= =20 > >> the reign of Septimius Severus, you probably want to use "-gnat2022".= =20 > >> (Options can be abbreviated, but "-gnat202" may become ambiguous if=20 > >> there's a new Ada standard before 2030.)=20 > >>=20 > >> Also "Default_Swiches" is mispelled.=20 > >>=20 > >> If the typos are the result of re-typing that line, I strongly suggest= =20 > >> copy-and-pasting any code you post.=20 > >>=20 > >> --=20 > >> Keith Thompson=20 > >=20 > > Thank you, Keith :-)=20 > >=20 > > Fixed those two typos.=20 > >=20 > > Here's the current output from trying to build:=20 > >=20 > > make SDL_PLATFORM=3Dmacos_ports SDL_MODE=3Ddebug=20 > > mkdir -p gen/src/=20 > > gprbuild -p -gnat2012 -XSDL_MODE=3Ddebug -XSDL_PLATFORM=3Dmacos_ports \= =20 > > -Psdlada.gpr=20 > > sdlada.gpr:26:09: a variable cannot be declared for the first time here= =20 > > sdlada.gpr:26:23: unknown variable "C_Switches"=20 > > gprbuild: "sdlada.gpr" processing failed=20 > > make: *** [lib/libadasdl.a] Error 5=20 > >=20 > > Thanks,=20 > > Ken > This makes no sense, line 26 is this: > Source_Platform :=3D "../../src/" & Platform; Hi Luke; Is it possible for us to arrange a process to send the patch to me in ano= ther means? If Google Groups blocks attachments and I'm getting massively = confused with the content being pasted inside the posting, we need to deriv= e another means of communicating. I can share a different email address whi= ch is already being heavily spammed... Thanks, Ken