IntelliJ Plugin cannot get completion/DCD to work
Damian Sobieralski
dsobiera at yahoo.com
Tue Aug 21 10:14:57 UTC 2018
On Tuesday, 21 August 2018 at 01:16:34 UTC, Paul O'Neil wrote:
> 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 .
Thanks for your reply, Paul.
I didn't install ldc. Or, at least, not that I am aware of. I
installed the x86_64 dmd .deb from
https://dlang.org/download.html#dmd
sudo dpkg -l dmd*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version
Architecture Description
+++-======================================-========================-========================-==================================================================================
ii dmd 2.081.2-0
amd64 Digital Mars D Compiler
sudo dpkg -l ldc*
dpkg-query: no packages found matching ldc*
Looking at my filesystem I don't see any /usr/include/ldc
What I did notice since this post is that on Windows if I built
dcd via --arch=x86 (vs x86_64) the code completion does now work
on Windows 10 w/ Intellij on there.
dub build --build=release --config=client --arch=x86
dub build --build=release --config=server --arch=x86
I haven't been able to get an x86 build on Ubuntu (yet) due to
some linking issues at the end of the build process. I'm
wondering if my 64 bit system is missing some 32 bit libs to do
that.
More information about the Digitalmars-d-ide
mailing list