Thanks for your answer. Me too, I prefer working on linux but for some reasons I remain on windows until dmd goes 64-bit. For the record, std.stdio works fine: Compiling import std.stdio; int main(){ writefln("hello!\n"); return 0; } results in: C:\dmd2>dmd test.d C:\dmd2>test hello! So, the problem is somewhere in std.complex.