

After closing the graphics window by pressing the red X, verify the message process returned 0 appears in the console.Run the program by clicking on the Run icon in the toolbar, using the menus Build->Run, or pressing Ctrl+F10, and verify you see the following graphics window.If you have problems, check the In Case of Trouble section below. You should see an output like this showing the compiler did not report any errors: When you build, you will see a pane at the bottom of Code::Blocks called Build Log.Build the project by clicking on the Build icon in the toolbar, using the menus Build->Build, or pressing Ctrl+F9.
#CODE BLOCKS FOR WINDOWS 7 64 BIT CODE#
View the source code for the default SFML project file by expanding the Sources tree and clicking on main.cpp.In the "SFML project" compiler configuration screen verify the compiler is the GNU GCC Compiler and press the Finish button.In the "SFML project" path screen set the path to the location you installed SFML ( C:\CodeBlocks\sfml ) and press the Next button.In the "SFML project" name screen enter a project name where shown and press the Next button.In the "SFML project" link library screen select Dynamic Link Library as shown and press the Next button.

In the "SFML project" version screen select SFML 2.0 as shown and press the Next button.In the "SFML project" start screen press the Next button.Select the "SFML project" wizard by clicking the SFML project icon shown and pressing the Go button.Run Code::Blocks and click the "Create a new project" link or follow the menus: File -> New -> Project.We can use these instructions as a starting point for other new projects as well. In this section we create a test project to verify the SFML installation. Creating an SFML Project from the SFML Project Wizard If you are reinstalling Code::Blocks, you may get a message, "Path already in the extra paths list!" If so, click OK and continue. Press the OK button at the bottom of the dialog.

#CODE BLOCKS FOR WINDOWS 7 64 BIT HOW TO#
How to Install SFML in Code::Blocks for WindowsĬompiler menu to open the Compiler settings dialog.
