DMD on Macbook M1 Pro unable to compile source code.

Nicholas Wilson iamthewilsonator at hotmail.com
Sun Mar 27 01:34:12 UTC 2022


On Sunday, 27 March 2022 at 01:13:40 UTC, Michael Brown wrote:
> Hello All,
>
> (please be patient with me, I am new to D)
>
> I recently installed DMD.2.099.0 on my
> MacBook Pro M1 (MacOS Monterey 12.3) a few days ago via
> the dmg instal file via url : 
> https://s3.us-west-2.amazonaws.com/downloads.dlang.org/releases/2022/dmd.2.099.0.dmg
>
> I was able to compile and run a test app after installation(if 
> I remember correctly);
> but for the last few days I haven't been able to compile for 
> the past few days.
> Whenever I attempt to compile using either DUB or DMD, I get 
> the following exception thrown below.
> I am trying to figure out what I am missing here, but the 
> exception doesn't make a whole lot of obvious sense to me
> and my Google searches are not turning up much.
>
> Any help provided would be greatly appreciated.  Thanks!!!!!

These questions are better suited to the learn forum.
The short answer is use LDC:

     https://github.com/ldc-developers/ldc/releases/tag/v1.28.1





More information about the Digitalmars-d mailing list