Build

From 7d7 Project

Jump to: navigation, search

Contents

Minimal Recommenced Hardware requirements

This is an approximation of what I think that is needed to work with sd7. If your are able to run it in a system with lower specs, please let us know by modifying this page.

Building Requirements

The better that your system is, the faster the application will be build. (You mainly need a lot of memory and processing manpower)

  • Operating System: Any that has the required compiler and tools and is capable to build everything (the application is being developed under Linux)
  • Processor: At least and AMD or Intel processor of 2 GHz or more (Dual core processors better)
  • RAM: At least 1 Gigabyte (gcc eats a lot of memory, be sure to have huge swap partition)
  • Video: A video card is not required to build, but you need it to run the application.
  • Disk Space: Based on the current size of my installation, you need at least 3 Gibabytes of free space, and more if you are really going to use this application. (Better to have at least 5 Gibabytes)

Running Requirements

These requirements are an approximate idea of the type of the system that you need to run the engine, but the real requirements depend of the type of application that you are going to build, and the amount of data that it's going to process.

  • Recommended OS: Any recent flavour of GNU/Linux. (Other Operating systems may work, or not)
  • Processor: At least a 1.5 Ghz processor.
  • Memory: I suggest at least 512 MBytes for low demanding applications, depending of the usage of the textures and the amount and complexity of the world to be loaded you may need more memory or the framerate may drop to 0 if your system starts to trash. (You may need more memory depending of the resources consumed by your desktop environment and other running applications)
  • Video:
    • Nvidia Geforce 4 or higher.
    • Ati Radeon 9600 or higher (untested (no available hardware to test))
    • Unknown with Intel and other integrated cards (please report it!!)


Downloading and Building 7d7

Linux and compatibles Instructions

Prerequisites

You at least need python, and several other tools that I will put it here later, the build system may warn you about some missing tools required to build everything.

Deb based systems (Debian/Ubuntu)

As root, or appending "sudo" run the next commands

Bourne Shell
  apt-get install python python-dev python-ctypes \ libexpat1 libexpat1-dev libfreeimage3 libfreeimage-dev \ subversion cvs gcc g++ autoconf automake libtool patch \ libxaw7 libxaw7-dev libpcre3 libpcre3-dev libglut3-dev \ cmake libzzip-dev libxxf86vm-dev libfreetype6-dev \ automake libtool zlib1g-dev pkg-config libxrandr-dev

Get the Bootstrap Script

Bourne Shell
  svn co https://7d7.almlys.org/svn/7d7/trunk sd7

Run The BootStrap Script

You have two ways, to compile everything from scratch, or to download a pre-compiled binary distribution.

Method 1 - Compile everything from scratch

Then run the bootstrap script with the next packages. (If your OS has already installed one of the libraries/packages, you may remove it from the command line.)

Bourne Shell
  cd sd7 python bootstrap/BootStrap.py auto cg ilmbase openexr \ freeimage gccxml pygccxml boost ois cegui ogre scons \ python-ogre

This will automatically download, build and install all required libraries and tools in order to build all dependencies used by sd7

If everything worked fine, then you should be able to launch sd7 without any problems.

If you get any error, then please report back here, to the bugtracker, or to our forums.

Method 2 - Download pre-compiled binary packages

Important!!, If you used Method 1 to build everything, the next command will destroy all your valuable work, and will overwrite everything wit a pre-compiled binary distribution.

Bourne Shell
  cd sd7 python bootstrap/BootStrap.py auto binary_depends

Testing that everything is working

To check that everything is working, please type:

Bourne Shell
  scripts/shell.sh python sd7/sd7Engine.py

If a black window pops up and stays, then the engine is running. If you see any error, or the window just vanishes, then I can say that It didn't work. Check the errors, and report back to here (forum/this_wiki/trac/etc)

No, you will see only a black window, it's just the engine, it's missing graphics an all the other stuff. In the future there will be a demonstration scene available.

FAQ

Windows?

Don't be to impatient, and wait, or just port it to it.

64 bits?

Should work, but it has not been tested yet.

It explodes

You were expecting that it was going to work at the first chance?, Please copy the output and report it to the 7d7 Trac bugtracker (use the forums in the meantime until Trac is being stalled).

WTF? That was all!!

Yes, that's it. There isn't much code yet. Please, come back in April and try again, things will be a whole lot different, I can asure you.

Retrieved from "http://7d7.almlys.org/Build"
Personal tools