Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dmd not autodetected on Linux (Debian) #909

Closed
nairboon opened this issue Dec 4, 2023 · 2 comments · Fixed by #910
Closed

dmd not autodetected on Linux (Debian) #909

nairboon opened this issue Dec 4, 2023 · 2 comments · Fixed by #910
Labels

Comments

@nairboon
Copy link
Contributor

nairboon commented Dec 4, 2023

Desktop (please provide environment info):

  • OS: Debian Bookworm
  • IDE: Intellij 2023.2
  • Plugin Version: 1.32.2

D compiler and tools (please provide version numbers):

  • dmd: 2.100.2

Describe the problem
In the 'New Project' dialog, the D compiler is not auto detected.

Because dmd is twice in the default search path:

new File("/usr/bin/dmd"), // Fedora (official .rpm), note that Arch also uses this path

final String executableName = SystemInfo.isWindows ? "dmd.exe" : "dmd";
File dmdBinary = new File(sdkHome, executableName);

@SingingBush
Copy link
Member

SingingBush commented Dec 5, 2023

This should be fixed by the #882 (feature/multiple_compiler_support branch) which I should have time to finish now

@iz0eyj
Copy link

iz0eyj commented May 26, 2024

Same here, latest plugin and Intellij version.
_t is impossible to assign SDK to a new project.

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

Successfully merging a pull request may close this issue.

3 participants