Che windows usi? prova magari MinGWDeveloperStudio