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

DMD not found in PATH #150

Closed p0nce closed 7 years ago

p0nce commented 7 years ago

DDT doesn't find DMD :

capture d ecran 2016-10-20 a 19 01 30

But DMD is in the PATH:

$ dmd --version
DMD64 D Compiler v2.072.0-b2
Copyright (c) 1999-2016 by Digital Mars written by Walter Bright
bruno-medeiros commented 7 years ago

If using the command line you invoke dub build on the project directory, does that work? Also is that Linux or OS X?

p0nce commented 7 years ago

dub buildworks. OSX.

bruno-medeiros commented 7 years ago

This is not a DDT issue, but rather OSX which has different PATH environment variable for command line apps, and UI apps like Eclipse (similar issue: https://github.com/DDT-IDE/DDT/issues/121#issuecomment-154047064 ). See http://superuser.com/questions/28344/path-env-variable-on-mac-os-x-and-or-eclipse for a possible solution.