Official binding of SFML for C
SFML is a simple, fast, cross-platform and object-oriented multimedia API. It provides access to windowing, graphics, audio and network. It is originally written in C++, and this project is its official binding for the C language.
Development is focused on version 3 in the master branch. No more features are planned for the 2.x release series.
You can get the latest official release on SFML website. You can also get the current development version from the Git repository.
There is no tutorial for CSFML, but since it's a binding you can use the C++ resources:
Of course, you can also find the CSFML API documentation in the SDK.
Building CSFML follows typical CMake conventions. Here's how to get started.
dev CMake preset.
This will enable a number of useful settings related to developing the library.
If needed, set the SFML_ROOT CMake variable to tell CMake where to find your installation of SFML.
The CSFML_LINK_SFML_STATICALLY option must align with whether your installation of SFML uses static or shared libraries.install target will install all public headers and libraries.SFML and CSFML are open-source projects, and they need your help to go on growing and improving. Don't hesitate to post suggestions or bug reports on the forum, or post new bugs/features requests on the issue tracker. You can even fork the project on GitHub, maintain your own version and send us pull requests periodically to merge your work.
No open issues yet, or sync has not completed.