On 2012-11-13 23:16, 1100110 wrote:

On Tue, 13 Nov 2012 10:53:14 -0600, Knud Sørensen
4tuu4k002@sneakemail.com wrote:

I use a C-libary which depend on glib.

I can see that I already got glib.d at

Now how does I get vibe/dmd to link to it ?


Check out the Thread "Linking to C libraries"

It should have all of the information you need. If not, just ask.

I found this page helpfu.


pkg-config --libs glib-2.0


I then used pragma(lib, "glib-2.0") and everything linked beautifully.