Changes between Version 175 and Version 176 of BuildInstructions
- Timestamp:
- May 27, 2012, 12:20:15 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildInstructions
v175 v176 1 1 [[TOC]] 2 3 [[br]]4 5 **NOTE: The build system has changed since Alpha 7 and the instructions are now subtly different.**6 7 **If you want to build Alpha 7 or previous versions of the game, use the [http://trac.wildfiregames.com/wiki/BuildInstructions?version=140 older version] of this page.**8 9 [[br]]10 2 11 3 This page describes how to get the very latest unstable version of the code. Unless you want to actively follow and contribute to development, **you probably want the [wiki:LatestRelease latest relatively-stable release] instead.** … … 36 28 == Windows == 37 29 38 The main supported OS are:30 The main supported versions are: 39 31 * Windows 7 40 32 * Windows Vista … … 43 35 Windows 2000 should work too but is rarely tested. 44 36 45 The main supported IDE are:37 The main supported IDEs are: 46 38 * Visual C++ 2010 47 39 * Visual C++ 2008 48 40 49 NOTE :Visual C++ 2005 may work with a sufficiently modern Platform SDK.50 51 NOTE :Only 32-bit builds are supported (though they can be compiled and run on 64-bit Windows)52 53 NOTE :We have noticied occasional trouble with the free Express Editions; please consider acquiring the full version (e.g. via university programs).41 '''Note:''' Visual C++ 2005 may work with a sufficiently modern Platform SDK. 42 43 '''Note:''' Only 32-bit builds are supported (though they can be compiled and run on 64-bit Windows) 44 45 '''Note:''' We have noticied occasional trouble with the free Express Editions; please consider acquiring the full version (e.g. via university programs). 54 46 In particular, failures of the built-in self-test test_wdbg_sym.h seem to occur with VC2008 EE but not VC2008 nor VC2010 (c.f. #884). 55 47 … … 77 69 * Open `build/workspaces/vc2010/pyrogenesis.sln`. (Use the `vc2005` directory for VC++ 2005 or the `vc2008` directory for VC++ 2008.) 78 70 79 === Type of builds===71 === Build configuration === 80 72 Make sure to select the "Release" configuration to build an optimised, more playable version of the game (the target will be `pyrogenesis.exe`). The "Debug" configuration can be more useful for debugging but has significantly reduced performance (the target will be `pyrogenesis_dbg.exe`). Both "Release" and "Debug" builds include debug symbols, see [wiki:DebuggingOnWindows Debugging on Windows] for more details on debugging. 81 73 … … 122 114 * zlib 123 115 124 *To compile editing tools (enabled by default; pass the flag `--disable-atlas` to `update-workspaces.sh` to disable):125 126 *To use shared system libraries instead of bundled copies (default) of libraries (pass the flag `--with-system-$COMPONENT` to `update-workspaces.sh` to use the non-bundled copy):127 128 129 116 To compile editing tools (enabled by default; pass the flag `--disable-atlas` to `update-workspaces.sh` to disable): 117 * wxWidgets (packages are probably called wxgtk) 118 To use shared system libraries instead of bundled copies (default) of libraries (pass the flag `--with-system-$COMPONENT` to `update-workspaces.sh` to use the non-bundled copy): 119 * ENet 1.3 (`--with-system-enet`) 120 * [https://developer.mozilla.org/en/SpiderMonkey/1.8.5 SpiderMonkey 1.8.5] (`--with-system-mozjs185`) 121 * [http://code.google.com/p/nvidia-texture-tools NVTT] (`--with-system-nvtt`) 130 122 131 123 ==== Debian (wheezy or later) / Ubuntu (12.04 or later) ==== … … 158 150 {{{ 159 151 #!sh 160 su -c 'yum -y install gcc-c++ python subversion zip cmake boost-devel \161 fam-devel libcurl-devel libjpeg-devel libpng-devel libvorbis-devel 152 su -c 'yum -y install gcc-c++ python subversion zip cmake boost-devel \ 153 fam-devel libcurl-devel libjpeg-devel libpng-devel libvorbis-devel \ 162 154 libxml2-devel openal-soft-devel pkgconfig SDL-devel wxGTK-devel' 163 155 }}} … … 168 160 {{{ 169 161 #!sh 170 sudo zypper install gcc-c++ python subversion zip cmake boost-devel \162 sudo zypper install gcc-c++ python subversion zip cmake boost-devel \ 171 163 fam-devel libcurl-devel libjpeg-devel libpng-devel libvorbis-devel \ 172 164 libxml2-devel openal-soft-devel pkg-config wxGTK-devel libSDL-devel … … 183 175 }}} 184 176 185 Note :Sometimes SVN stops before it has downloaded all files. You should check that it outputs something like `at revision rXXXX`. Otherwise run177 '''Note:''' Sometimes SVN stops before it has downloaded all files. You should check that it outputs something like `at revision rXXXX`. Otherwise run 186 178 187 179 {{{ … … 352 344 * cmake 353 345 * wxgtk2-unicode - required to build Atlas tools 354 * subversion - note the latest version for 8.2 Release is 1.6355 * Note:GCC 4.2.1 and zlib should already be installed by default346 * subversion 347 * '''Note:''' GCC 4.2.1 and zlib should already be installed by default 356 348 {{{ 357 349 #!sh … … 369 361 if not correct, you will get errors about missing "wx/*.h" includes. You can skip building Atlas altogether (and the wxWidgets dependency) by later passing the `--disable-atlas` option to `update-workspaces.sh`. 370 362 * You'll have to set this variable every time you run `update-workspaces.sh`, so it may be most convenient to put these commands into another shell script. 371 * Note:FreeBSD's `make` command is actually Berkeley [http://www.freebsd.org/cgi/man.cgi?query=make make], which is similar to but different than GNU make. Our build scripts will detect if you're on FreeBSD and use the `gmake` command instead. If for some reason this isn't correct, you can set the `MAKE` environment variable with the path and name of the correct GNU make.363 * '''Note:''' FreeBSD's `make` command is actually Berkeley [http://www.freebsd.org/cgi/man.cgi?query=make make], which is similar to but different than GNU make. Our build scripts will detect if you're on FreeBSD and use the `gmake` command instead. If for some reason this isn't correct, you can set the `MAKE` environment variable with the path and name of the correct GNU make. 372 364 * Follow the [#Building build] instructions above for Linux. 373 365