Skip to content

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.

3.0.0

Platform 32-bit 64-bit ARM64
Windows Visual C++ / GCC
Download | 347 KB
Windows Visual C++ / GCC
Download | 342 KB
Windows Visual C++ / GCC
Download | 285 KB
macOS - Clang
Download | 180 KB
Clang
Download | 180 KB

All OS

2.6.1

Platform 32-bit 64-bit ARM64
Windows Visual C++ / GCC
Download | 1.57 MB
Windows Visual C++ / GCC
Download | 1.74 MB
-
macOS - Clang
Download | 160 KB
Clang
Download | 170 KB

All OS

2.6.0

Platform 32-bit 64-bit ARM64
Windows Visual C++ / GCC
Download | 1.57 MB
Windows Visual C++ / GCC
Download | 1.74 MB
-
macOS - Clang
Download | 160 KB
Clang
Download | 160 KB

All OS

2.5.2

Platform 32-bit 64-bit
Windows Visual C++ / GCC
Download | 1.48 MB
Windows Visual C++ / GCC
Download | 1.66 MB

All OS

2.5.1

Platform 32-bit 64-bit
Windows Visual C++ / GCC
Download | 1.50 MB
Windows Visual C++ / GCC
Download | 1.68 MB
macOS - Clang (OS X 10.15+)
Download | 260 KB

All OS

2.5

Platform 32-bit 64-bit
Windows Visual C++ / GCC
Download | 1.51 MB
Windows Visual C++ / GCC
Download | 1.68 MB
macOS - Clang (OS X 10.7+)
Download | 150 KB

All OS

2.4

Platform 32-bit 64-bit
Windows Visual C++ / GCC
Download | 3.45 MB
Windows Visual C++ / GCC
Download | 3.62 MB
macOS - Clang (OS X 10.7+)
Download | 150 KB

All OS

2.3

Platform 32-bit 64-bit
Windows Visual C++ / GCC
Download | 3.31 MB
Windows Visual C++ / GCC
Download | 3.48 MB
macOS Clang - universal (OS X 10.7+)
Download | 210 KB
Clang - universal (OS X 10.7+)
Download | 210 KB

All OS

2.2

Platform 32-bit 64-bit
Windows Visual C++ / GCC
Download | 3.33 MB
Windows Visual C++ / GCC
Download | 3.40 MB
Linux GCC
Download | 1.48 MB
GCC
Download | 1.47 MB
macOS Clang - universal (OS X 10.7+)
Download | 1.74 MB
Clang - universal (OS X 10.7+)
Download | 1.74 MB

All OS

2.1

Platform 32-bit 64-bit
Windows Visual C++ / GCC
Download | 4.04 MB
Windows Visual C++ / GCC
Download | 10.0 MB
Linux GCC
Download | 410 KB
GCC
Download | 390 KB
macOS GCC - universal (OS X 10.5+)
Download | 620 KB
GCC - universal (OS X 10.5+)
Download | 620 KB
macOS Clang - universal (OS X 10.8+)
Download | 640 KB
Clang - universal (OS X 10.8+)
Download | 640 KB

All OS

2.0

Platform 32-bit 64-bit
Windows Visual C++ / GCC
Download | 4.21 MB
Windows Visual C++ / GCC
Download | 10.2 MB
Linux GCC
Download | 510 KB
GCC
Download | 480 KB
macOS GCC - universal (OS X 10.5+)
Download | 990 KB
GCC - universal (OS X 10.5+)
Download | 990 KB
macOS Clang - universal (OS X 10.8+)
Download | 990 KB
Clang - universal (OS X 10.8+)
Download | 990 KB

All OS