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

detectLDCInstall uses incorrect paths to find librarySourceFolders #103

Closed dmakarov closed 9 years ago

dmakarov commented 9 years ago

Neither "../include/dlang/ldc" nor "../import/core" are correct locations of D import files in the recent installations of LDC. It should be "../include/d". (This is in CompilerInstallDetector.java lines 81 -- 97)

bruno-medeiros commented 9 years ago

"../import/core" is not a root location of the D import files. For the LDC downloadable archive, it's "../import" and "../import/ldc" (this last one contains object.di).

If you have another layout, I can add it, let me know:

dmakarov commented 9 years ago

The ldc is on OS X, installed and built from git source with default configuration settings. The object.di is in /usr/local/include/d/ldc/, std and core dirs are in /usr/local/include/d/. The executable is in ../../../bin relative to /usr/local/include/d/std.

Another distro is the dmd package from Homebrew on Mac OS X. object.di is in /usr/local/include/d2/, std and core dirs are also in/usr/local/include/d2/and executable is/usr/local/binor (../../../binrelative to/usr/local/include/d2/std/`.