![]() ![]() ![]() Add them as this : sfml-graphics sfml-window sfml-system SFML is made of 5 modules, everyone having a library of their own : system, window, graphics, network and audio. Select Release build options, then linker settings. Then you need to link the SFML libraries. Then click the Linker tab, and add a path to the libraries ( PATH\SFML\lib ) Add a path to the SFML headers, usually PATH\SFML\include. While selecting global build proprieties, go to search directories, then compiler. Right click on your project, go to build proprieties. Then, we need to tell the compiler where to look for the SFML headers and tell the linker where to look for the SFML libraries. Then, extract it to a convenient location. Likewise, if you are using Visual Studio, then you probably have the Visual C++ compiler, and you need to get the version which suits your version of Visual Studio. If that's the case, then download the SFML GCC 4.8.1 TDM (SJLJ) - 32-bit version. If you are using Codeblocks, then you probably are using MinGW, which should have GCC 4.8.1. Make sure you select the package which corresponds to the version that you use. ![]() There are multiple variants of gcc for Windows, which are incompatible with each other (different exception management, threading model, etc.). Download an appropriate SFML version from the download link. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |