Building the Lol Engine for the NaCl platform

Setup on Linux

A Debian or Debian-like distribution is recommended. If you are on a 64-bit system, make sure it can execute 32-bit executables by enabling multiarch:

dpkg --add-architecture i386
apt-get update
apt-get install libc6:i386

Install the Native Client SDK.

Then add the following environment variables to .profile or .zshenv (note: change pepper_26 to whatever the SDK installer actually put in ~/nacl_sdk/):

export NACL_SDK_ROOT="$HOME/nacl_sdk/pepper_26"
export PATH="$PATH:$NACL_SDK_ROOT/toolchain/linux_x86_newlib/bin"

Build on Linux

Just run ./build/build-nacl32 or ./build/build-nacl64 in the Lol Engine directory.

The next builds should work with a simple call to make.

Last modified 10 years ago Last modified on Sep 12, 2013, 6:30:23 PM