I think SFML is a great library. It's so great, in fact, that I want you to use it! I encourage you to build it yourself (seriously, it's actually really easy!), but for those of you who reeeally don't want to for some reason, I provide unofficial nightly* builds of SFML for OS X.*"Nightly" is a little bit of a lie, because SFML doesn't get updated daily so a "nightly" build doesn't make a lot of sense. These builds are, however, up to date and straight from the git master branch, unlike the official releases which happen much less frequently (though they're good too).
If you want nightly builds for Windows, head on over to eXpl0it3r's Unofficial Nightly Builds for Windows. I will provide OS X nightly builds here.
All binaries are 32 and 64-bit x86 universal libraries. I currently only have Xcode 4 and OS X Base SDKs 10.7 and 10.8 on my machine. If you need something with a base SDK < 10.7, well... I have yet to get around to figuring out how to make that work nicely.
Once you download these files, follow the SFML Xcode Tutorial to learn how to get started and integrate these binaries into your system.
|Compiler||C++ Version||Base SDK||Deployment Target||Download Tarball|
An explanation of each category is given below.
- The compiler (and version) used to create the binaries. You probably want to pick the libraries built with the same compiler you're going to use. I recommend the Clang libraries, because I recommend you use Clang. Compiler versions are: Clang: Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn); G++: i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00).
- C++ Version
- The version of C++ the binary targets. This is mostly important because if you want to use C++11, you have to link to a different standard library than if you're using C++03, and mixing the two can cause conflicts. If you're going to use C++03 when making your program, get the C++03 version. If you're going to use C++11 (which I hope you do!), get the C++11 version.
- Base SDK
- This is the base OS X SDK that the library uses. You should use the same base SDK in your program as the SFML binaries you choose. To simplify things, I suggest getting the one that matches the version of OS X that you have.
- Deployment Target
- This is the version of OS X that you're actually targeting. If you distribute your app, users will need to have this version or later.
- Download Tarball
- The link to download the tarball (it's like a zip)!
- Download Installer
- Someday, I'd like to make installers to simplify the process even further. I haven't gotten around to that yet, unfortunately.