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=-0.9 required=3.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Received: by 2002:ad4:57a7:0:b0:634:dbb5:a34c with SMTP id g7-20020ad457a7000000b00634dbb5a34cmr310530qvx.8.1687997862153; Wed, 28 Jun 2023 17:17:42 -0700 (PDT) X-Received: by 2002:aca:620a:0:b0:39e:985f:26ab with SMTP id w10-20020aca620a000000b0039e985f26abmr8345746oib.6.1687997861883; Wed, 28 Jun 2023 17:17:41 -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 17:17:41 -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> <5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com> <21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <71cb7cd8-4c03-4eac-aaa6-0b32ddf14b81n@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: Thu, 29 Jun 2023 00:17:42 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 3193 Xref: news.eternal-september.org comp.lang.ada:65370 List-Id: On Wednesday, June 28, 2023 at 3:45:41=E2=80=AFPM UTC-7, Luke A. Guest wrot= e: > On 28/06/2023 22:53, Kenneth Wolcott wrote:=20 >=20 > >> I heavily use MacPorts. I keep hearing that it is a very bad idea to h= ave MacPorts and HomeBrew concurrently installed on the same machine. Is it= at all possible to do this without HomeBrew? Apparently I did not read you= r documentation carefully enough...I thought that having SDL installed via = HomeBrew was optional, not required. > I didn't get it working on Mac myself, I originally started to get it=20 > going using the downloadable binaries you can just drag n drop.=20 >=20 > Others got it working with brew, afaik. > > Since I'm not using ALIRE (ALR), but using gnatmake (I'm on a Mac mini = with an M1 chip, ALR refuses to get most packages because I don't have a na= tive Ada compiler), I thought that the HomeBrew mention was in regards to u= sing the SDLAda package via ALIRE.=20 > >=20 > > So that's a different problem requiring a different post :-) > You're probably better off using git to grab it, then modify the=20 > makefile and gpr's for a specific macos macports port, add a new=20 > Platform_Type, macosx_macports and add what you need inside the sdlada.gp= r.=20 >=20 > Then you can call make SDL_PLATFORM=3Dmacosx_macports SDL_MODE=3Drelease = to=20 > build it.=20 >=20 > Check whatever sdl2-config --cflags produces on that port.=20 >=20 > If the headers are in different directories, you'll need to modify the=20 > version*.c files with extra #ifdef's for macports. Hi Luke; Thank you for more information. This looks a little bit deeper than I feel comfortable :-( I'll think about this a bit more and experiment further, but this is defi= nitely in uncharted territory for me. Thanks, Ken