My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
HowToCompile  

Featured
Updated Mar 13, 2010 by jrs...@gmail.com

#How to compile game and the tools


How to compile ?


Linux

First of all, you'll need Mercurial,

(sudo apt-get install hg)

then get the source using:

hg clone https://uarpg.googlecode.com/hg/ uarpg

Before compiling get the following libraries:

  • libsdl-dev
  • libgl-mesa-dev
  • libopenal-dev
  • libvorbis-dev
  • libogg-dev

additional libraries for map editor and model viewer:

  • libgtk2.0-dev
  • libgtkglext1-dev

To begin compile, enter uarpg dir and type:

make

To compile map editor, proceed to uarpg/edmap directory and run:

make

Same procedure is suitable to model viewer, which is in uarpg/rmdview directory.


Windows

Get TortoiseHG from http://tortoisehg.bitbucket.org/

Pull the source.

Get decent C/C++ compiler, like Microsoft Visual C++ 8/9 or Mingw 4.x

Visual Studio 8/9

Download and install required libraries. They are:

SDL: http://www.libsdl.org/release/SDL-devel-1.2.14-VC8.zip

libogg & libvorbis(they need to be compiled):

http://downloads.xiph.org/releases/ogg/libogg-1.1.4.zip

http://downloads.xiph.org/releases/vorbis/libvorbis-1.2.3.zip

and OpenAL:

http://connect.creativelabs.com/openal/Downloads/OpenAL11CoreSDK.zip

Create an empty Win32 console application. Set character set to multi-byte. Add all source and header files to solution(except Ratmodel.h and Ratmodel.cpp). If you haven't set yet, set library and include directories through Tools>Options>VC++ Directories .

mingw

Download mingw from:

http://nuwen.net/mingw.html

With windows console go to the directory where you pulled code. Execute:

make win32


OS X

TODO: write something

Powered by Google Project Hosting