Re: Unable to build deimos/libX11 with ldc2

2013-08-19 Thread Paul Z. Barsan
On Monday, 19 August 2013 at 19:25:03 UTC, Adam D. Ruppe wrote: BTW what do you plan to do with the libx11? It's a dependency for Cairo. I want to use Cairo for drawing stuff on the screen. This library is also used by GTK 3 to render all their widgets.Besides that, it supports multiple platf

Re: Unable to build deimos/libX11 with ldc2

2013-08-19 Thread Adam D. Ruppe
BTW what do you plan to do with the libx11? You might find my simpledisplay.d (also depends on color.d) interesting from my miscellaneous github: https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff It provides a class called SimpleWindow that supports basic dra

Re: Unable to build deimos/libX11 with ldc2

2013-08-19 Thread Paul Z. Barsan
Oh, sorry for using the wrong forum section. I used the dmd compiler and the build went fine. Is pretty weird though because ldc2 is the default compiler used to build libX11. I filed an issue report for deimos/libX11 on their project page.

Re: Unable to build deimos/libX11 with ldc2

2013-08-19 Thread David Nadlinger
On Monday, 19 August 2013 at 18:05:41 UTC, Paul Z. Barsan wrote: deimos/X11/Xlibint.d(895): Error: Function type does not match previously declared function with the same mangled name: Data Without having looked at the libX11 sources at all, the error message implies that there are multiple "e

Unable to build deimos/libX11 with ldc2

2013-08-19 Thread Paul Z. Barsan
I got ldc2 from github and built it following this tutorial: http://wiki.dlang.org/Building_LDC_from_source . The ldc build and install went fine but when I try to build libX11 with it, I get the following errors: $make -j2 sh: arch: command not found Makefile:159: warning: overriding recip