Changes between Version 1 and Version 2 of BuildInstructions


Ignore:
Timestamp:
Feb 15, 2009, 11:18:40 AM (15 years ago)
Author:
Philip Taylor
Comment:

basic Linux/OSX notes

Legend:

Unmodified
Added
Removed
Modified
  • BuildInstructions

    v1 v2  
    3333
    3434Now you should be able to build the code from within Visual Studio, and it probably should work without any errors. Run the game with F5 inside Visual Studio. If you want to run it outside the debugger, run `binaries/system/pyrogenesis_dbg.exe`.
     35
     36= Linux, OS X =
     37
     38This is much less streamlined than the process for Windows. But you're cooler than a Windows developer, so you should be able to cope.
     39
     40 * Install various standard tools and development libraries:
     41  * GCC
     42  * Subversion
     43  * NASM
     44  * SDL
     45  * Boost
     46  * zlib
     47  * libpng
     48  * Xerces-C++
     49  * OpenAL
     50  * libogg
     51  * libvorbis
     52  * cryptopp
     53  * !SpiderMonkey
     54  * wxWidgets (probably called wxgtk on Linux) (optional, but required for the editor tools)
     55  * gamin (Linux only)
     56  * BFD (typically called something like binutils-dev) (Linux only)
     57  * and maybe some other things?
     58 * For '''Ubuntu''' the following might help: ''sudo apt-get install build-essential libsdl1.2-dev libxerces27-dev zlib1g-dev libpng12-dev libjpeg62-dev libgamin-dev nasm libwxgtk2.8-dev libboost-dev libboost-signals-dev libopenal-dev libalut-dev libvorbis-dev libogg-dev libcrypto++-dev binutils-dev libnspr4-dev libdevil-dev''
     59 * For '''OS X''' you'll need [http://www.macports.org MacPorts] first. Then the following might help: ''sudo port install boost libsdl spidermonkey xercesc wxWidgets''
     60
     61 * You'll need a multi-threaded build of !SpiderMonkey. If you have a single-threaded version instead, you should get some compiler errors and you might need to compile the right version yourself.
     62
     63 * `svn co http://svn.wildfiregames.com/svn/ps/trunk/`
     64 * `( cd trunk/build/premake/src && make && cp bin/premake .. )`
     65 * `cd trunk/build/workspaces`
     66 * `./update-workspaces.sh` (you'll have to repeat this step each time a source file is added or removed)
     67 * `cd gcc`
     68 * `make -j3` (where `3` is the number of parallel builds to run, and could perhaps be one plus the number of CPU cores available)
     69 * Fix all the compiler errors somehow.
     70 * `( cd ../../binaries/system && ./pyrogenesis_dbg )`