On Tuesday, 21 May 2013 at 17:20:37 UTC, Mike Wey wrote:
On 05/21/2013 03:06 PM, Samms wrote:
On Tuesday, 21 May 2013 at 12:46:35 UTC, eles wrote:
On Tuesday, 21 May 2013 at 12:36:27 UTC, Samms wrote:
On Tuesday, 21 May 2013 at 08:35:09 UTC, eles wrote:
On Tuesday, 21 May 2013 at 06:59:55 UTC, Iain Buclaw wrote:
On 21 May 2013 04:58, Samms <mate...@gmail.com> wrote:

This problem is resolved...

I know. I was offering a simpler solution (command line), that's all.

But your code is wrong...

gdc ./main.d /usr/include/d2/4.6/std/c/linux/X11/Xlib.d -o Refuja
 -lXlib -lX11
/usr/bin/ld: cannot find -lXlib
collect2: ld returned 1 exit status

Thats because there is no libXlib only libX11.

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

Should work without any errors.

You were right.

Reply via email to