DDT-IDE / DDT

DDT is an Eclipse-based IDE for the D programming language:
http://ddt-ide.github.io/
101 stars 16 forks source link

DDT not working in Eclipse Mac OS El Capitan #121

Closed MatthewFrench closed 8 years ago

MatthewFrench commented 8 years ago

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 commented 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.

bruno-medeiros commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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