get that '-L"C:/Dev-Cpp/lib" ' out of there, first of all, then see what happens. There's no libraries in that directory that you want to link to, and right now it's probably using them instead of the openxdk libs. Since you're using a generated makefile I suppose you'll have to edit that in the build settings somewhere - someone familiar with dev-cpp should have a better idea than myself.