IntelliJ Plugin cannot get completion/DCD to work

Paul O'Neil redballoon36 at
Tue Aug 21 01:16:34 UTC 2018

On 8/20/18 6:33 PM, Damian Sobieralski wrote:

> 2018-08-20T18:22:40.306:first.d:visit:497 Could not resolve location of 
> module 'core/sys/netbsd/sys/mman'
> 2018-08-20T18:22:40.574:first.d:visit:418 Could not resolve location of 
> module 'ldc/intrinsics'
> 2018-08-20T18:22:40.949:main.d:main:168 Import directories:
>      /usr/include/dmd/druntime/import
>      /usr/include/dmd/phobos
> 2018-08-20T18:22:40.949:main.d:main:174 114251 symbols cached.
> 2018-08-20T18:22:40.949:main.d:main:175 Startup completed in 1125 
> milliseconds.

Each of the D compilers (dmd, ldc, gdc) comes with their own version of 
the standard libraries.  It looks like you are using LDC (the 
'ldc/intrinisics' module looks like it's LDC only) and not DMD to 
compile your code, but the import directories are from DMD.  I would try 
changing the paths in ~/.config/dcd/dcd.conf to point at the LDC 
includes instead, which are probably at /usr/include/ldc .

More information about the Digitalmars-d-ide mailing list