Talk:The Dark Mod - Compilation Guide

From The DarkMod Wiki
Jump to: navigation, search

Memo to myself, once the GPL-based TDM sources have been released:

Ubuntu 11.10 x64

sudo apt-get install g++ scons ia32-libs subversion m4 g++-multilib libglew1.6-dev 
libjpeg62-dev libpng12-dev libxxf86vm-dev libalut-dev libasound2-dev

Then just run the scons command to start compiling:

scons BUILD="release" BUILD_GAMEPAK="1"

Ubuntu 11.10 32 Bit

sudo apt-get install g++ scons m4 libglew1.6-dev libjpeg62-dev libpng12-dev libxxf86vm-dev libalut-dev libasound2-dev

Then just run the scons command to start compiling:

scons BUILD="release" BUILD_GAMEPAK="1"

--greebo 09:45, 4 January 2012 (EST)

Parallel Compiling

To enable parallel building, use the JOBS="N" option:

scons BUILD="release" BUILD_GAMEPAK="1" JOBS="8"


2.06 on Windows

  • DirectX SDK no longer used/needed
  • gamex86.dll no longer produced. ExtLibs.dll was added on the other hand.