Subversion

NOTE: The Win32 binaries are uploaded into the Subversion repository. If you want to get a decent build of xreal.exe and all its tools just download XreaL/ and start XreaL/xreal.exe. You only need to download the maps separately.

Getting the Source Code and Media from the Subversion repository

This project’s SourceForge.net Subversion repository can be checked out through SVN with the following instruction set:

svn co https://xreal.svn.sourceforge.net/svnroot/xreal/trunk/xreal XreaL

If your on Windows, you’ll need TortoiseSVN, which can be found at: http://tortoisesvn.tigris.org

In order to check out the repository via TortoiseSVN simply “right click” in your XreaL target folder and select “SVN Checkout…” Use the following settings in the dialog:

URL of repository:  https://xreal.svn.sourceforge.net/svnroot/xreal/trunk/xreal
Revision:  HEAD revision

Compiling on Windows with Visual C++ 2008 Express Edition

  1. Download and install the Visual C++ 2008 Express Edition.
  2. Download and install the OpenAL SDK from http://www.openal.org.
  3. Add necessary include Directories in VC9 under Tools -> Options -> Project and Solutions -> VC++ Directories.
  4. Add necessary lib Directories in VC9 under Tools -> Options -> Project and Solutions -> VC++ Directories.
  5. Use the VC9 solutions to compile what you need:
  • XreaL/code/xreal.sln
  • XreaL/code/xmap2/xmap2.sln
  • XreaL/code/xrealradiant/tools/vcprojects/XreaLRadiant.sln

Compiling on GNU / Linux

You need the following dependencies in order to compile XreaL with all features:

  • SDL >= 1.2
  • FreeType >= 2.3.5
  • OpenAL >= 0.0.8 (if compiled with scons openal=1)
  • libcURL >= 7.15.5 (if compiled with scons curl=compile)
  • GTK+ >= 2.4.0 (if compiled with scons radiant=1, requires glib, atk, pango, iconv, etc)
  • gtkglext >= 1.0.0 (if compiled with scons radiant=1)
  • libxml2 >= 2.0.0 (if compiled with scons radiant=1 or scons xmap=1)
  • zlib >= 1.2.0 (if compiled with scons radiant=1 or scons xmap=1)
  • libglew >= 1.5.0 (if compiled with scons radiant=1)
  • libboost >= 1.3.5 (if compiled with scons radiant=1)

Compile XreaL for x86 processers:
>scons arch=linux-i386

Compile XreaL for x86_64 processers:
>scons arch=linux-x86_64

Type scons -h for more compile options.

You can leave a response, or trackback from your own site.

19 Comments

  • dacresni says:

    this game will be ready for mac soon If I have anything to do with it

  • D. Starr says:

    I recieved this build error when executing ’scons arch=darwin-ppc’

    scons: *** [base/cgameppc.dylib] Source `libcgame.so’ not found, needed by target `base/cgameppc.dylib’.

    any advice?

  • MSpreij says:

    @dacresni: I hope you have lots to do with it :-)

  • Adam Prall says:

    I know—half the machines here are booted into Windows 60% of the time—let’s bring that down to 20% for more Mac/Linux goodness…

  • Adam Prall says:

    I’d like to get this going on OS X, but it sounds like someone’s done that already (I hate reinventing wheels). Why does the FAQ mention: “Mac OS X: /Users/YOURUSERNAME/Library/Application Support/XreaL/” as the location for configs, etc.? Sounds like there’s an established Mac compilation commandset somewhere out there…

  • dacresni says:

    well, ~/Library/Application Support is the preferred location for supplemental files. ~/Library/Preferences is the place for your preference files

  • san says:

    Is there a roadmap for this project? What features are you currently working on and what features do you plan working on next? If there is some sort of list people can pick something and contribute!

  • yes when will this be setup for linux. i am just running linun. thanks

  • fireball says:

    thank you for your great works,I love this very much!

  • bch32 says:

    Unfortunately there is no binary working “out of the box”. I wish to try your game but I don’t know anything about compilling (win user) :(
    continue your effort, I’ll try to stay tune.
    B

  • admin says:

    The Win32 binaries are uploaded into the Subversion repository. If you want to get a decent build of xreal.exe and all its tools just download XreaL and start XreaL/xreal.exe .

  • Daywalker says:

    Can open the console (with tilde) but cant close the console wtf ?
    Have build the latest from svn on debian lenny 64 bits.

    The rest looks very ok. Thank you very much for all the hard work.

  • Daywalker says:

    Oops, can close console with and tilde … was using the button. Sorry for strange habbit.

  • DerSaidin says:

    Don’t forget to compile the maps, or download them from the Maps page.

  • Pablo Rosatti says:

    Can XREAL be compiled on Mingw? If it does, can u explain how?

  • Pablo Rosatti says:

    Why don’t you add a link to the latest binaries?

  • Michael says:

    Ok that takes me a while but I’ll get It. I compiled a project before. It looks really good so I gotta make sure that I figure it out.

  • luk says:

    Pablo, why don;t you use svn?

  • JiminyJew says:

    Yeah. Please change the following: svn info to svn co https://xreal.svn.sourceforge.net/svnroot/xreal xreal

    SourceForge says what you have above has been moved…but the address it gives also doesn’t work. This was found on http://sourceforge.net/projects/xreal/develop

    Thanks!

Leave a Reply