Compile X Window Manager

Mike Wey mike-wey at example.com
Tue May 21 10:20:51 PDT 2013


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 <matesax at 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.

-- 
Mike Wey


More information about the D.gnu mailing list