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.3

Windows Visual C++ / GCC - 32-bitDownload3.39 MB Visual C++ / GCC - 64-bitDownload3.45 MB
Linux GCC - 32-bitDownload1.53 MB GCC - 64-bitDownload1.51 MB
Mac OS X 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
Mac OS X 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
Mac OS X 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
Mac OS X 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