On Tuesday, 21 May 2013 at 06:59:55 UTC, Iain Buclaw wrote:
On 21 May 2013 04:58, Samms <mate...@gmail.com> wrote:

Basically, the command line should be:

gdc ./main.d /usr/include/d2/4.6/std/c/linux/X11/Xlib.d -o Refuja
-L/usr/include/X11/ -lXlib -lX11

with the "-L/usr/include/X11/" part being almost useless (more probably, you wanted to write: "-L/usr/lib", but that should be taken into account by default.

Samms, try this:

gdc ./main.d /usr/include/d2/4.6/std/c/linux/X11/Xlib.d -o Refuja -lXlib -lX11

Reply via email to