-
Notifications
You must be signed in to change notification settings - Fork 1
Development on Linux
Karn Kaul edited this page Nov 4, 2019
·
3 revisions
- SFML does not provide pre-built ext-libs for Linux; all external dependencies must be installed with their development headers and available in
PATH, to buildLittleEnginesuccessfully - libstdc++-7 (g++-7)
- (Optional) ninja, clang, llvm
Note:
apt_install_dependencies.shcan be used on Debian/Ubuntu-like distros to perform anapt-get installfor all such dependencies; for Arch/Manjaro distros, you'll have to ensure they are present.
- Build
LittleEngine/LEDemo/custom executable target:- Run CMake on the top-level
CMakeLists.txtand generate Ninja/Make/CodeBlocks projects usingDebug(default), andReleaseconfigurations. (EditCMAKE_BUILD_TYPEto change defaults.) - Build the generated project(s).
- Debugging:
- Set
Test/LEDemo/ custom executable as the debugging target.
- Set
- Run CMake on the top-level
Note: While it is feasible to build and run
LittleEngineon a Raspberry Pi 4, it is not recommended as the performance is atrocious.