build problem with 2.0.70

Jacob Carlborg via Digitalmars-d-dwt digitalmars-d-dwt at puremagic.com
Wed Mar 16 10:36:07 PDT 2016


On 16/03/16 09:24, Saša Janiška wrote:

> OK.
>
> Here is another issue:
>
> $ dmd main.d -I/home/gour/repos/external/dwt/imp -J/home/gour/repos/external/dwt/org.eclipse.swt.gtk.linux.x86/res -L-L/home/gour/repos/external/dwt/lib -L-l:org.eclipse.swt.gtk.linux.x86 -L-l:dwt-base -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-ldl -L-lglib-2.0 -L-lcairo -L-lgnomeui-2
> /usr/bin/ld: cannot find -l:org.eclipse.swt.gtk.linux.x86
> /usr/bin/ld: cannot find -l:dwt-base
> collect2: error: ld returned 1 exit status
> --- errorlevel 1
>
> I cloned dwt repo in ~/repos/external/dwt.
>
> What's wrong?

Currently I don't have access to a Linux machine so I can't try the 
above myself. But the easiest is to pass the full path of the libraries 
directly to DMD. It will to the right thing.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-dwt mailing list