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:620a:462b:b0:767:3541:413b with SMTP id br43-20020a05620a462b00b007673541413bmr72616qkb.1.1688425302640; Mon, 03 Jul 2023 16:01:42 -0700 (PDT) X-Received: by 2002:a05:6a00:1815:b0:66a:4083:5c99 with SMTP id y21-20020a056a00181500b0066a40835c99mr14843501pfa.1.1688425302039; Mon, 03 Jul 2023 16:01:42 -0700 (PDT) Path: eternal-september.org!news.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.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: Mon, 3 Jul 2023 16:01:41 -0700 (PDT) In-Reply-To: <01bd59d9-c5cb-4336-b123-5289165c5de8n@googlegroups.com> 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> <5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com> <21e6c8c0-ec62-4192-aa5d-39d38149821cn@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> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0d46efb3-210d-46d8-9e3c-4d3d938c1924n@googlegroups.com> Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h" From: Kenneth Wolcott Injection-Date: Mon, 03 Jul 2023 23:01:42 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 4269 Xref: news.eternal-september.org comp.lang.ada:65414 List-Id: On Monday, July 3, 2023 at 3:56:27=E2=80=AFPM UTC-7, Kenneth Wolcott wrote: > On Monday, July 3, 2023 at 1:11:29=E2=80=AFPM UTC-7, Luke A. Guest wrote:= =20 > > On 03/07/2023 20:58, Kenneth Wolcott wrote:=20 > > > I don't think that downloading the zip file from GitHub would be any = different than doing the git clone, but=20 > > Just clone it. > Hi Luke;=20 >=20 > I've cloned the package.=20 >=20 > I've manually applied the patch to the cloned package.=20 >=20 > I'm about to build it now (fingers crossed).=20 >=20 > Thanks,=20 > Ken Well, I must have made one or more mistakes in the manual patching of the f= iles (*SIGH*) make SDL_PLATFORM=3Dmacos_ports SDL_MODE=3Drelease mkdir -p gen/src/ gprbuild -p -gnat2012 -XSDL_MODE=3Drelease -XSDL_PLATFORM=3Dmacos_ports \ -Ptools.gpr Setup [mkdir] object directory for project Tools Compile [Ada] gen_keyboard.adb [Ada] scancodes.ads [Ada] utils.adb Bind [gprbind] gen_keyboard.bexch [Ada] gen_keyboard.ali Link [link] gen_keyboard.adb ./gen/release/tools/gen_keyboard > gen/src/sdl-events-keyboards.ads gprbuild -p -gnat2012 -XSDL_MODE=3Drelease -XSDL_PLATFORM=3Dmacos_ports \ -Psdlada.gpr sdlada.gpr:16:07: undefined attribute "default_swiches" sdlada.gpr:17:03: ";" after declarative items expected sdlada.gpr:26:09: a variable cannot be declared for the first time here sdlada.gpr:26:23: unknown variable "C_Switches" sdlada.gpr:34:08: undefined attribute "languages" sdlada.gpr:35:08: undefined attribute "source_dirs" sdlada.gpr:42:08: undefined attribute "library_name" sdlada.gpr:43:08: undefined attribute "object_dir" sdlada.gpr:44:08: undefined attribute "library_dir" sdlada.gpr:45:08: undefined attribute "library_kind" sdlada.gpr:47:04: a package cannot be declared here sdlada.gpr:79:04: a package cannot be declared here sdlada.gpr:108:05: expected "builder" gprbuild: "sdlada.gpr" processing failed make: *** [lib/libadasdl.a] Error 5 Ken