Thanks, I also found that I need to include the flag -I/usr/include/dmd/phobos to get it to compile. I tried doing:

export PATH=$PATH:/usr/include/dmd/phobos

but apparently I still need the -I flag. Is there another way to get around this?

Does your /etc directory contain dmd.conf file? You can add standard flags there

Example of dmd.conf:

[Environment]
DFLAGS=-I/usr/include/dmd/phobos -I/usr/include/dmd/druntime/import

Yes, my dmd.conf file already has those paths.

Reply via email to