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:622a:1aa5:b0:3ff:2517:172 with SMTP id s37-20020a05622a1aa500b003ff25170172mr13313qtc.0.1687987114895; Wed, 28 Jun 2023 14:18:34 -0700 (PDT) X-Received: by 2002:a05:6808:1898:b0:3a1:d419:9c64 with SMTP id bi24-20020a056808189800b003a1d4199c64mr3247551oib.5.1687987114602; Wed, 28 Jun 2023 14:18:34 -0700 (PDT) Path: eternal-september.org!news.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.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: Wed, 28 Jun 2023 14:18:34 -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> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5442a053-9c59-4be4-8485-b0df2e589aedn@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: Wed, 28 Jun 2023 21:18:34 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2545 Xref: news.eternal-september.org comp.lang.ada:65367 List-Id: On Wednesday, June 28, 2023 at 2:14:00=E2=80=AFPM UTC-7, Luke A. Guest wrot= e: > On 28/06/2023 19:38, Kenneth Wolcott wrote:=20 > > Hi;=20 > >=20 > > Trying to build SDL Ada on a Mac Mini with M1 chip, running Ventura 13.= 4.1...=20 > >=20 > > sudo make DESTDIR=3D/opt/ext_ada_lib/sdlada SDL_PLATFORM=3Dmacosx SDL_M= ODE=3Drelease=20 > > mkdir -p gen/src/=20 > > gprbuild -p -gnat2012 -XSDL_MODE=3Drelease -XSDL_PLATFORM=3Dmacosx \=20 > > -Psdlada.gpr=20 > > Compile=20 > > [C] version_ttf.c=20 > > [redacted]/Ada/from_GitHub/sdlada-master/src/ttf/version_ttf.c:27:18: f= atal error: SDL2_ttf/SDL_ttf.h: No such file or directory=20 > > 27 | #include =20 > > | ^~~~~~~~~~~~~~~~~~~~=20 > > compilation terminated.=20 > > gprbuild: *** compilation phase failed=20 > > make: *** [lib/libadasdl.a] Error 4 > Have you installed sdl ttf with brew? I cannot confirm this all works=20 > without brew. Hi Luke; I heavily use MacPorts. I keep hearing that it is a very bad idea to have = MacPorts and HomeBrew concurrently installed on the same machine. Is it at= all possible to do this without HomeBrew? Apparently I did not read your d= ocumentation carefully enough...I thought that having SDL installed via Hom= eBrew was optional, not required. Thanks, Ken