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 5 and OS X Base SDKs 10.8 and 10.9 on my machine, so that's what I provide.
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 | |
---|---|---|---|---|---|
clang++3.3 | C++11 | 10.8 | 10.7 | Download Tarball | |
clang++3.3 | C++11 | 10.9 | 10.7 | Download Tarball | |
clang++3.3 | C++03 | 10.8 | 10.7 | Download Tarball | |
clang++3.3 | C++03 | 10.9 | 10.7 | Download Tarball |
Experimental Builds
These were built with the -Ofast -flto flags. I doubt these optimization flags will make any noticeable difference, but I wanted to experiment with these and other options.
Compiler | C++ Version | Base SDK | Deployment Target | Download Tarball | |
---|---|---|---|---|---|
clang++3.3 | C++11 | 10.8 | 10.7 | Download Tarball | |
clang++3.3 | C++11 | 10.9 | 10.7 | Download Tarball | |
clang++3.3 | C++03 | 10.8 | 10.7 | Download Tarball | |
clang++3.3 | C++03 | 10.9 | 10.7 | Download Tarball |
An explanation of each category is given below.
- Compiler
- The compiler (and version) used to create the binaries. The exact version of Clang I used is: Apple LLVM version 5.0 (clang-500.2.78) (based on LLVM 3.3svn).
- 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. The C++11 versions link to libc++, while the C++03 versions link to libstdc++. I highly suggest you do not use the C++03 versions, even if you don't plan on using C++11. I only provide the C++03/libstdc++ versions for people who may have existing compatibility issues to work with.
- 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.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.