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=-3.2 required=3.0 tests=BAYES_00,NICE_REPLY_A, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Luke A. Guest" Newsgroups: comp.lang.ada Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h" Date: Wed, 28 Jun 2023 22:13:57 +0100 Organization: A noiseless patient Spider Message-ID: References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 28 Jun 2023 21:13:57 -0000 (UTC) Injection-Info: dont-email.me; posting-host="4777841efce09a1ddfcf776c4e845731"; logging-data="1976330"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX196drvGpimXh6GWpEUX4Retuf3t+rb6dIU=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Cancel-Lock: sha1:lKpjb81yHCkmDez+yY/i6yiIm9k= Content-Language: en-GB In-Reply-To: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com> Xref: news.eternal-september.org comp.lang.ada:65366 List-Id: On 28/06/2023 19:38, Kenneth Wolcott wrote: > Hi; > > Trying to build SDL Ada on a Mac Mini with M1 chip, running Ventura 13.4.1... > > sudo make DESTDIR=/opt/ext_ada_lib/sdlada SDL_PLATFORM=macosx SDL_MODE=release > mkdir -p gen/src/ > gprbuild -p -gnat2012 -XSDL_MODE=release -XSDL_PLATFORM=macosx \ > -Psdlada.gpr > Compile > [C] version_ttf.c > [redacted]/Ada/from_GitHub/sdlada-master/src/ttf/version_ttf.c:27:18: fatal error: SDL2_ttf/SDL_ttf.h: No such file or directory > 27 | #include > | ^~~~~~~~~~~~~~~~~~~~ > compilation terminated. > gprbuild: *** compilation phase failed > make: *** [lib/libadasdl.a] Error 4 Have you installed sdl ttf with brew? I cannot confirm this all works without brew.