DWT Cloning / Build fails

Chris via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Apr 14 06:56:24 PDT 2016


For the record, on my Linux (Ubuntu 15), I had to tweak the 
command for the example:

dmd main.d -I<dwt>/imp -J<dwt>/org.eclipse.swt.gtk.linux.x86/res 
-L-L<dwt>/lib \
   -L-l:org.eclipse.swt.gtk.linux.x86.a \
   -L-l:dwt-base.a -L-lgtk-x11-2.0 -L-lgdk-x11-2.0 -L-latk-1.0 
-L-lgdk_pixbuf-2.0 \
   -L-lgthread-2.0 -L-lpangocairo-1.0 -L-lfontconfig -L-lXtst 
-L-lXext -L-lXrender \
   -L-lXinerama -L-lXi -L-lXrandr -L-lXcursor -L-lXcomposite 
-L-lXdamage -L-lX11 \
   -L-lXfixes -L-lpango-1.0 -L-lgobject-2.0 -L-lgmodule-2.0 
-L-lgnomevfs-2 -L-ldl -L-lglib-2.0 \
   -L-lcairo -L-lgnomeui-2

I had to add ".a" to `-L-l:dwt-base` and 
`-L-l:org.eclipse.swt.gtk.linux.x86`, and add `-L-lgnomevfs-2` as 
well.


More information about the Digitalmars-d-learn mailing list