Everything was working before. I decided to update Gtk using master.

x64 works fine.

x32 says

gtkd.lib : warning LNK4003: invalid library format; library ignored

I compiled with dmd -m32 build.d (and without -m32)

stuck it in the appropriate directory (using pragma(lib,))..

Says it's invalid.

Seems it is a project problem but the error makes no sense given that it seems to work.

The lib is here:

http://s000.tinyupload.com/index.php?file_id=75612329017202046194

I've also tried everything using -m32mscoff but same issue.

I as under the assumption that build.d would build for whatever architecture that it was built for?

I remember having to modify this before to get something like this to work but it was a while back and I think you messed with the build script quite a bit since then(by the looks of it).

Also the lib file is quite a bit smaller.

Any ideas what it might be?

Now if I link in the mscoff lib I do not get that error but I do get all the same missing externals.