Skip to content

Building Julius

José Cadete edited this page Sep 30, 2021 · 4 revisions

To build Julius, you'll need:

  • a compiler: gcc, clang, Visual Studio and MinGW(-w64) are all known to be supported
  • git
  • cmake
  • SDL2
  • SDL2_mixer
  • libpng - optional, a bundled copy will be used if not found

After cloning the repo, run the following commands:

$ mkdir build && cd build
$ cmake ..
$ make

This results in a julius executable.

See Running Julius for instructions on how to configure Julius for your platform.

CMake options

  • -DSYSTEM_LIBS=OFF - use the bundled copies of optional libraries even if a system version is available
  • -DTARGET_PLATFORM - the platform you're building for. Can be vita, switch, android or emscripten. Please refer to the specific building pages for more detailed instructions
  • -DDRAW_FPS=OFF - whether to show the current fps on the city screen

Detailed instructions

For detailed building instructions, please check out the respective page: