Skip to content

Development on Linux

Karn Kaul edited this page Nov 4, 2019 · 3 revisions

Linux (x64 / ARMv8)

Building LittleEngine

Requirements

  1. 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 build LittleEngine successfully
  2. libstdc++-7 (g++-7)
  3. (Optional) ninja, clang, llvm

Note: apt_install_dependencies.sh can be used on Debian/Ubuntu-like distros to perform an apt-get install for all such dependencies; for Arch/Manjaro distros, you'll have to ensure they are present.

Ninja / Make / Code::Blocks

  1. Build LittleEngine / LEDemo /custom executable target:
    1. Run CMake on the top-level CMakeLists.txt and generate Ninja/Make/CodeBlocks projects using Debug (default), and Release configurations. (Edit CMAKE_BUILD_TYPE to change defaults.)
    2. Build the generated project(s).
    3. Debugging:
      1. Set Test / LEDemo/ custom executable as the debugging target.

Note: While it is feasible to build and run LittleEngine on a Raspberry Pi 4, it is not recommended as the performance is atrocious.

Clone this wiki locally