Compiling the hello world example fails (2)

Anton Alexeev alexanto at
Mon Sep 9 11:15:00 PDT 2013

Ubuntu 13.04, x86

I've followed this instruction:

Everything was ok, no errors.

Then I've tried to compile hello world:

$ dmd test.d -I/home/virtualbox/dwt/imp 
-L-L/home/virtualbox/dwt/lib -L-lorg.eclipse.swt.gtk.linux.x86 

/usr/bin/ld: cannot find -lorg.eclipse.swt.gtk.linux.x86
/usr/bin/ld: cannot find -ldwt-base
collect2: ошибка: выполнение ld завершилось с кодом возврата 1
--- errorlevel 1

With -L--verbose flag:

There you can see that the linker tries to find 
liborg.eclipse.swt.gtk.linux.x86.a and not just 
org.eclipse.swt.gtk.linux.x86, so I've added "lib" to the file 
names and got this:

Any help?

More information about the Digitalmars-d-dwt mailing list