Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sfml/csfml
Official binding of SFML for C
https://github.com/sfml/csfml
audio graphics hacktoberfest multimedia opengl sfml
Last synced: 5 days ago
JSON representation
Official binding of SFML for C
- Host: GitHub
- URL: https://github.com/sfml/csfml
- Owner: SFML
- License: other
- Created: 2011-07-06T20:35:15.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-12-24T17:31:59.000Z (9 days ago)
- Last Synced: 2024-12-27T21:35:42.683Z (6 days ago)
- Topics: audio, graphics, hacktoberfest, multimedia, opengl, sfml
- Language: C
- Homepage: https://www.sfml-dev.org
- Size: 2.08 MB
- Stars: 354
- Watchers: 27
- Forks: 123
- Open Issues: 9
-
Metadata Files:
- Readme: readme.md
- Funding: .github/FUNDING.yml
- License: license.md
Awesome Lists containing this project
README
[![SFML logo](https://www.sfml-dev.org/images/logo.png)](https://www.sfml-dev.org)
# CSFML - Simple and Fast Multimedia Library 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.
## State of Development
Development is focused on the next major version in the `master` branch. No more features are planned for the 2.x release series.
- The [`master`](https://github.com/SFML/CSFML/tree/master) branch contains work in progress for the next major version CSFML 3. As such it's considered unstable, but any testing and feedback is highly appreciated.
- The [`2.6.1`](https://github.com/SFML/CSFML/tree/2.6.1) tag is the latest official CSFML release and will be the last minor release in the 2.x series.
- The [`2.6.x`](https://github.com/SFML/CSFML/tree/2.6.x) branch contains the latest bugfix work on CSFML 2.6.x, matching SFML's `2.6.x` branch.## Authors
- Laurent Gomila ([email protected])
- Lukas Dürrenberger ([email protected])
- Chris Thrasher ([email protected])
- Zachariah Brown ([email protected])## Download
You can get the latest official release on [SFML website](https://www.sfml-dev.org/download/csfml). You can also get the current development version from the [Git repository](https://github.com/SFML/CSFML).
## Learn
There is no tutorial for CSFML, but since it's a binding you can use the C++ resources:
* The [official tutorials](https://www.sfml-dev.org/tutorials/)
* The [online API documentation](https://www.sfml-dev.org/documentation/)
* The [community wiki](https://github.com/SFML/SFML/wiki/)
* The [community forum](https://en.sfml-dev.org/forums/) (or [French](https://fr.sfml-dev.org/forums/))Of course, you can also find the CSFML API documentation in the SDK.
## Building
Building CSFML follows typical CMake conventions.
Here's how to get started.1. Install SFML.
This may be done in a variety of ways including using a system package manager or building and installing SFML from source.
The major version of SFML must match the major version of CSFML.
2. Configure CSFML.
If you are building CSFML for the purpose of contributing, we recommend using the `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.
3. Build CSFML.
The `install` target will install all public headers and libraries.## Contribute
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](https://en.sfml-dev.org/forums/), or post new bugs/features requests on the [issue tracker](https://github.com/SFML/CSFML/issues/). You can even fork the project on GitHub, maintain your own version and send us pull requests periodically to merge your work.