This tutorial explains step-by-step procedure to configure SFML (Simple Fast Multimedia Library) with Code::Blocks IDE . You must follow these steps sequentially before running the sofware. The graphical elements used in C++ Phone is based on SFML.
First, you must download the SFML SDK version 2.1 . Choose the download options according to your OS . For Windows users and running Code::Blocks choose for 32 bit GCC 4.7 TDM (SJLJ) - 32-bit as download option and for 64 bit GCC 4.7 TDM (SJLJ) - 64-bit
Go to Settings. Now choose Compiler Settings from the dropdown.
The following window will pop-up initially
Now add SFML_STATIC as show below
Now select Linker Settings
Now in the Link Libraries Add the following (the sequence must be maintained)
Select Search directories
Now choose Compiler and Add sfml-install-path/include as follows:
In Search directories choose Linker and Add sfml-install-path/lib as follows: