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: Thu, 29 Jun 2023 14:39:37 +0100 Organization: A noiseless patient Spider Message-ID: References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com> <5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com> <21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 29 Jun 2023 13:39:37 -0000 (UTC) Injection-Info: dont-email.me; posting-host="9bb87ce4a1063252a21a0715e161b0ea"; logging-data="2291648"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18X9J5HvRdPCKb0Agk/3o7TJGPcKy7evqw=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Cancel-Lock: sha1:t1OATIG84s18aEVDX2JbAYO9Auo= Content-Language: en-GB In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:65375 List-Id: On 29/06/2023 14:12, Simon Wright wrote: > Kenneth Wolcott writes: > >> Since I'm [...] using gnatmake > > I don't understand why you'd want to use gnatmake? Most people who > provide packaged libraries (e.g. sdlada) include a GPR file which saves > you a raft of pain if you use it. OK, you have to learn something about > gprbuild, but then you have to learn how to drive gnatmake (e.g. the > previous discussion about -I). Also, sdlada includes 3 C source files, > and so far as I know gnatmake doesn't know how to build C files, whereas > gprbuild does and build/gnat/sdlada.gpr drives the needed compilations. Yeah, unfortunately I cannot remove the C files as they turn C macros into variables and are useful at runtime, see the sdlada repo for someone who wants to get rid of them.