In that case I'm pretty sure it's a problem with your putting together of codeblocks and mingw but I'm going further and further into the realms of educated guesses here. As a final check, if you make a new project, try that code, then if it works, link sfml and try that code, then if that works, try the tutorial circleshape program.