Open scottfurry opened 6 years ago
Thanks for the report. Upgrading deprecated methods is always a trade-off: on one hand we remove the warnings, but on the other we break compatibility with older SFML 2.x versions. Since the book claims to be compatible with SFML 2.0, while later 2.x versions will always be backwards-compatible, it might be better to ensure maximum compatibility.
However it seems like CMake finding SFML (2.5+) should also be updated, such a change could then come with a general overhaul (+fixing several compiler warnings meanwhile appearing).
i cannot compine 9 and 10. others seem working fine i am using linux and makefile to build
Make sure FLAC dev libs are installed
Building book examples against SFML latest (2.4.2) results in a few deprecation warnings. These warnings can be broken down into two cases:
Diff at pastebin updates code base to remove warnings during compile.