Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

DDT not working in Eclipse Mac OS El Capitan #121

Closed
MatthewFrench opened this issue Nov 4, 2015 · 4 comments
Closed

DDT not working in Eclipse Mac OS El Capitan #121

MatthewFrench opened this issue Nov 4, 2015 · 4 comments

Comments

@MatthewFrench
Copy link

screen shot 2015-11-04 at 4 45 28 pm

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.

@MatthewFrench
Copy link
Author

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.

@bruno-medeiros
Copy link
Contributor

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.

@MatthewFrench
Copy link
Author

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.

@bruno-medeiros
Copy link
Contributor

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. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants