I have not tried getting GD to run, but I have some information: I suspect that the GNUWin32 code was compiled with gcc. If you are using MS tools, it is unlikely to work. The rule with Win32 systems is, "You must use the same tools for everything." That said, there may be exceptions: I've heard of folks using gcc for some code, MSVC++ for some other code and the MS linker to glue it all together and it worked. I have also heard other folks say that does not work. Your best advice is to compile and link everything with the same tool.