I'm using the deimos libX11 bindings, DMD 2.058 OpenSUSE x86_64.
In Xlibint.d, my linker can't resolve '_XData16' (it's proto is
on line 624 of Xlibint).
Does anyone who knows X11 know what library I should be linking
to for that function? Or an easy way to grep the symbols in a
directory o
On Wednesday, 11 July 2012 at 23:18:25 UTC, cal wrote:
I'm using the deimos libX11 bindings, DMD 2.058 OpenSUSE x86_64.
In Xlibint.d, my linker can't resolve '_XData16' (it's proto is
on line 624 of Xlibint).
Does anyone who knows X11 know what library I should be linking
to for that functi
On 2012-07-12 01:50, cal wrote:
Hmm, looking at the .c header, the function is not even defined. I think
it is not used, and in this case turning macros into functions in the
binding generates linker errors. I don't know the best way to fix this
in the binding (I have simply commented out the fu
Am 12.07.2012 08:17, schrieb Jacob Carlborg:
> On 2012-07-12 01:50, cal wrote:
>
>> Hmm, looking at the .c header, the function is not even defined. I think
>> it is not used, and in this case turning macros into functions in the
>> binding generates linker errors. I don't know the best way to fix
On Thursday, 12 July 2012 at 16:43:28 UTC, mta`chrono wrote:
when marcos are turned into functions they introduce new
symbols. it's a
pity, but in that case you have to link to deimos. so deimos
will become
a wrapper rather than a binding.
The binding author can also opt to just translate the
On Thursday, 12 July 2012 at 16:43:28 UTC, mta`chrono wrote:
Am 12.07.2012 08:17, schrieb Jacob Carlborg:
On 2012-07-12 01:50, cal wrote:
Hmm, looking at the .c header, the function is not even
defined. I think
it is not used, and in this case turning macros into
functions in the
binding gene
Try -L-lX11
On Saturday, 14 July 2012 at 12:55:21 UTC, Minas Mina wrote:
Try -L-lX11
Yeah I was already linking X11. The problem was the binding, it
defined a function that was never defined in the original c
header, so it would not be able to find the function anywhere.
Commenting the defs out in the b
On 07/11/2012 07:50 PM, cal wrote:
On Wednesday, 11 July 2012 at 23:18:25 UTC, cal wrote:
I'm using the deimos libX11 bindings, DMD 2.058 OpenSUSE x86_64.
In Xlibint.d, my linker can't resolve '_XData16' (it's proto is on
line 624 of Xlibint).
Does anyone who knows X11 know what library I sho