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: Tue, 4 Jul 2023 10:00:08 +0100 Organization: A noiseless patient Spider Message-ID: References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@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> <0d46efb3-210d-46d8-9e3c-4d3d938c1924n@googlegroups.com> <4ead2fde-6bc6-4bb3-97d0-4000b79f7d45n@googlegroups.com> <87lefwwpce.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 4 Jul 2023 09:00:08 -0000 (UTC) Injection-Info: dont-email.me; posting-host="02518e99bc896200b22bfcbee2fb18e9"; logging-data="66120"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18phiu0z5i43IuDoeJLXea7b3QGOuQkgE0=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Cancel-Lock: sha1:7nejXd6Wb/6PMxXr8/nfbJjChkI= In-Reply-To: Content-Language: en-GB Xref: news.eternal-september.org comp.lang.ada:65421 List-Id: On 04/07/2023 00:58, Kenneth Wolcott wrote: > On Monday, July 3, 2023 at 4:24:37 PM UTC-7, Keith Thompson wrote: >> Kenneth Wolcott writes: >> [...] >>> After adding a semi-colon at the following line in sdlada.gpr >>> >>> for Default_Swiches ("Ada") use ("-gnat202", "-gnata"); >> [...] >> >> Unless "-gnat202" requests the version of Ada that was current during >> the reign of Septimius Severus, you probably want to use "-gnat2022". >> (Options can be abbreviated, but "-gnat202" may become ambiguous if >> there's a new Ada standard before 2030.) >> >> Also "Default_Swiches" is mispelled. >> >> If the typos are the result of re-typing that line, I strongly suggest >> copy-and-pasting any code you post. >> >> -- >> Keith Thompson > > Thank you, Keith :-) > > Fixed those two typos. > > Here's the current output from trying to build: > > make SDL_PLATFORM=macos_ports SDL_MODE=debug > mkdir -p gen/src/ > gprbuild -p -gnat2012 -XSDL_MODE=debug -XSDL_PLATFORM=macos_ports \ > -Psdlada.gpr > sdlada.gpr:26:09: a variable cannot be declared for the first time here > sdlada.gpr:26:23: unknown variable "C_Switches" > gprbuild: "sdlada.gpr" processing failed > make: *** [lib/libadasdl.a] Error 5 > > Thanks, > Ken This makes no sense, line 26 is this: Source_Platform := "../../src/" & Platform;