Closed MatthewFrench closed 8 years ago
I managed to fix the dub dependency errors by sim linking DMD into /bin from /Library/D/dmd/bin/dmd. It now builds.
However I still have the Error: Not Found for the D Standard Library. Not quite sure how to fix that one.
Mac OS has some weird thing where the PATH environment variable is not the same for UI applications started from the desktop and bash programs. Therefore DUB started from Eclipse is not finding DMD. TO confirm this is the case, start eclipse from the bash shell, and see if that works.
This also explains the error of DDT not finding the D Standard Library, because it looks for it relatively from where if finds the compiler executable (/bin/dmd in this case), but that's not the actual dmd location.
That worked, except I had to install DMD through brew. It didn't like DMD from the installer on the website.
I wonder why the paths are different.
Btw, I'm really excited to use your tool. I've been using Xamarin and it crashes so much and is so slow and it's auto complete is unreliable. Absolute poopy sauce.
I've never used Mac OS, so dunno why the PATH issue, but it's something several users keep stumbling by.
Thanks for the support, hope you enjoy DDT. :)
I installed DMD, Dub and followed the installation instructions for DDT and a new project just doesn't work. I'm not sure if it's having issues with DMD or Dub.
I know DMD is located at: /Library/D/dmd/bin/
I installed DMD from the official package installer on the dlang website.