CSFML

Description

CSFML is the official binding of SFML for the C language. Its API is as close as possible to the C++ API (but in C style, of course), which makes it a perfect tool for building SFML bindings for other languages that don't directly support C++ libraries.

Since the CSFML API is similar to SFML, there's no tutorial for it; but you can follow the C++ tutorials available on this website, and adapt them to the C API very easily. The API documentation, generated from the source code, is available and included in the downloadable packages below.

Download

The following archives contain everything that you need in order to work with CSFML: headers, libraries, dependencies, and documentation.

Since it's a C library, there's only one archive per OS/architecture, which works for any compiler. The Windows archive contains the import libraries for Visual C++ and MinGW (gcc); those are compatible with every version of the corresponding compiler.

Current sources

The CSFML repository can be found at github.com. From there, you can download the current source code. You can also watch the open issues on the task tracker, or add new ones.

CSFML 2.6.0

Windows Visual C++ / GCC - 32-bitDownload1.57 MB Visual C++ / GCC - 64-bitDownload1.74 MB
All Source codeDownload0.47 MB

CSFML 2.5.2

Windows Visual C++ / GCC - 32-bitDownload1.48 MB Visual C++ / GCC - 64-bitDownload1.66 MB
All Source codeDownload0.31 MB

CSFML 2.5.1

Windows Visual C++ / GCC - 32-bitDownload1.50 MB Visual C++ / GCC - 64-bitDownload1.68 MB
macOS Clang - 64-bit (OS X 10.15+, compatible with C++11 and libc++)Download0.26 MB
All Source codeDownload0.31 MB

CSFML 2.5

Windows Visual C++ / GCC - 32-bitDownload1.51 MB Visual C++ / GCC - 64-bitDownload1.68 MB
macOS Clang - 64-bit (OS X 10.7+, compatible with C++11 and libc++)Download0.15 MB
All Source codeDownload0.29 MB

CSFML 2.4

Windows Visual C++ / GCC - 32-bitDownload3.45 MB Visual C++ / GCC - 64-bitDownload3.62 MB
macOS Clang - 64-bit (OS X 10.7+, compatible with C++11 and libc++)Download0.15 MB
All Source codeDownload0.27 MB

CSFML 2.3

Windows Visual C++ / GCC - 32-bitDownload3.31 MB Visual C++ / GCC - 64-bitDownload3.48 MB
macOS Clang - universal 32+64-bit (OS X 10.7+, compatible with C++11 and libc++)Download0.21 MB
All Source codeDownload0.25 MB

CSFML 2.2

Windows Visual C++ / GCC - 32-bitDownload3.33 MB Visual C++ / GCC - 64-bitDownload3.40 MB
Linux GCC - 32-bitDownload1.48 MB GCC - 64-bitDownload1.47 MB
macOS Clang - universal 32+64-bit (OS X 10.7+, compatible with C++11 and libc++)Download1.74 MB
All Source codeDownload0.25 MB

CSFML 2.1

Windows Visual C++ / GCC - 32-bitDownload4.04 MB Visual C++ / GCC - 64-bitDownload10.0 MB
Linux GCC - 32-bitDownload0.41 MB GCC - 64-bitDownload0.39 MB
macOS GCC - universal 32+64-bit (OS X 10.5+)Download0.62 MB
Clang - universal 32+64-bit (OS X 10.8+, compatible with C++11 and libc++)Download0.64 MB
All Source codeDownload0.25 MB

CSFML 2.0

Windows Visual C++ / GCC - 32-bitDownload4.21 MB Visual C++ / GCC - 64-bitDownload10.2 MB
Linux GCC - 32-bitDownload0.51 MB GCC - 64-bitDownload0.48 MB
macOS GCC - universal 32+64-bit (OS X 10.5+)Download0.99 MB
Clang - universal 32+64-bit (OS X 10.8+, compatible with C++11 and libc++)Download0.99 MB
All Source codeDownload0.25 MB