On Sunday, 10 May 2015 at 14:41:17 UTC, Ali Çehreli wrote:
On 05/10/2015 12:45 AM, Marko Grdinic wrote:
I works just fine on Windows, but I am having difficulty
figuring out
what the trouble is on my Bodhi 1.4 Virtual Box. I've followed
the
instruction on the Codeblocks Wiki and set the parameters, but
when I
try to compile, it complains that it can't find Phobos.
/usr/bin/ld: cannot find -lphobos2
I've checked the search directories and the library
directories are
where it says they would be. I am not particularly familiar
with Linux
so I am not sure how to proceed from here.
Any advice?
dmd's -v flag may give some clues:
$ dmd foo.d -v
dmd outputs the config file that it uses and the linker flags
that it passes.
Ali
additionally if not using dmd it may have the libraries named
differently.
a quick google says Bodhi linux is based on Ubuntu which doesn't
ship dmd due to licensing issues AFAIK.