Talk:The Dark Mod - Compilation Guide: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
(Created page with "Memo to myself, once the GPL-based TDM sources have been released: == Ubuntu 11.10 x64 == sudo apt-get install g++ scons m4 libglew1.6-dev g++-multilibs libpng12-dev libjpeg62...")
 
No edit summary
Line 3: Line 3:
== Ubuntu 11.10 x64 ==
== Ubuntu 11.10 x64 ==


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


Then just run the scons command to start compiling:
Then just run the scons command to start compiling:
Line 11: Line 11:
== Ubuntu 11.10 32 Bit ==
== Ubuntu 11.10 32 Bit ==


  sudo apt-get install g++ scons m4 libglew1.6-dev
  sudo apt-get install g++ scons m4 libglew1.6-dev libjpeg8-dev libpng12-dev


Then just run the scons command to start compiling:
Then just run the scons command to start compiling:
Line 18: Line 18:


--[[User:Greebo|greebo]] 09:45, 4 January 2012 (EST)
--[[User:Greebo|greebo]] 09:45, 4 January 2012 (EST)
== Parallel Compiling ==
To enable parallel building, don't use the JOBS="N" option (didn't work for me), pass the -jN switch to scons instead, e.g.:
scons BUILD="release" BUILD_GAMEPAK="1" -j4

Revision as of 15:59, 4 January 2012

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 libjpeg8-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 libjpeg8-dev libpng12-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, don't use the JOBS="N" option (didn't work for me), pass the -jN switch to scons instead, e.g.:

scons BUILD="release" BUILD_GAMEPAK="1" -j4