cause 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.
--
Mike Wey
#x27;s complaining about should be in gtkd-1.a, since the libs
are in /usr/local/lib you could try:
gdc HelloWorld.d -I/home/me/GtkD/src -L-lggtkd-1 -L-ldl
--
Mike Wey
get it ? if no how get same thing
An use case:
ldc2 -shared -soname libFoo.so.1 foo.d -of libFoo.so.1.0
It has a -shared flag but you'll need to pass the soname on to the linker:
gdc -shared -Xlinker -soname=libFoo.so.1 foo.d -of libFoo.so.1.0
--
Mike Wey