Which IDE are you trying to setup with D? I've not had any issues... You may try DlangIDE possibly?
https://github.com/buggins/dlangide