Menu
Lumberyard
User Guide (Version 1.13)

Building the Lumberyard Executable for Linux

This feature is in preview release and is subject to change.

After compiling the assets on a Windows computer, you must build the Lumberyard executable for use on a Linux computer.

To build the Lumberyard executable for Linux

  1. On your Linux computer, in a terminal, unpack the deployed archive by running the following command:

    tar -xvf YYYY-MM-DD_HH-mm-ss.tar
  2. Change directory to the MultiplayerSample/dev directory.

  3. (Optional) Verify that you are using the supported versions of the dependencies by running the following command:

    sudo sh Tools/LmbrSetup/Linux/setup.sh
  4. Run SetupAssistantBatch to create symlinks:

    Tools/LmbrSetup/Linux/SetupAssistantBatch --none --3rdpartypath absolute path to the 3rdParty folder --enablecapability compilegame --enablecapability compileengine

    Tip

    Using an invalid third-party path may create invalid symlinks. Type the following to remove broken or invalid symlinks: rm -rf Code/Tools/SDKs Code/Sandbox/SDKs Code/SDKs

  5. Edit the system_linux_pc.cfg file (located in the /dev/MultiplayerSample_pc_Paks_Dedicated directory) to set log_RemoteConsoleAllowedAddresses to your IP address.

  6. Build the Lumberyard executable for Linux:

    • To build profile, run the following command:

      • (Optional for nonrelease builds)

        ./lmbr_waf.sh build_linux_x64_profile -p host_tools
      • ./lmbr_waf.sh build_linux_x64_profile_dedicated -p game_and_engine
    • To build debug, run the following command:

      • (Optional for nonrelease builds)

        ./lmbr_waf.sh build_linux_x64_debug -p host_tools
      • ./lmbr_waf.sh build_linux_x64_debug_dedicated -p game_and_engine