Difference between revisions of "TORCS"

From CBLFS
Jump to navigationJump to search
Line 17: Line 17:
 
| http://prdownloads.sourceforge.net/torcs/TORCS-1.2.4-src-robots-olethros.tgz
 
| http://prdownloads.sourceforge.net/torcs/TORCS-1.2.4-src-robots-olethros.tgz
 
|}
 
|}
 +
 +
'''''Extract the src and robots packages into the same directory before you issue any commands.
  
 
The robots package provides the drivers that you will race against. Below is a list of drivers that each of the packages provides.
 
The robots package provides the drivers that you will race against. Below is a list of drivers that each of the packages provides.

Revision as of 10:14, 4 November 2006

Download Source:
http://prdownloads.sourceforge.net/torcs/TORCS-1.2.4-src.tgz
Download Robots (Required):
http://prdownloads.sourceforge.net/torcs/TORCS-1.2.4-src-robots-base.tgz
Download Robots (Optional):
http://prdownloads.sourceforge.net/torcs/TORCS-1.2.4-src-robots-berniw.tgz
http://prdownloads.sourceforge.net/torcs/TORCS-1.2.4-src-robots-bt.tgz
http://prdownloads.sourceforge.net/torcs/TORCS-1.2.4-src-robots-olethros.tgz

Extract the src and robots packages into the same directory before you issue any commands.

The robots package provides the drivers that you will race against. Below is a list of drivers that each of the packages provides.

  • robots-base (Required)
    • tita
    • lliaw
    • damned
    • cylos1
    • tanhoj
    • inferno
    • inferno2
  • robots-berniw (Optional)
    • sparkle
    • berniw
    • berniw2
    • berniw3
  • robots-bt (Optional)
    • bt
  • robots-olethros (Optional)
    • olethros

Dependencies

Required

Recommended

Non-Multilib

Compile the package:

patch -Np1 -i ../torcs-1.2.4-gcc41_fixes-1.patch &&
./configure --prefix=/usr &&
make

Install the package

make install

Multilib

This package does not provide any external libraries so only one installation is needed

32Bit

Compile the package:

patch -Np1 -i ../torcs-1.2.4-gcc41_fixes-1.patch &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

patch -Np1 -i ../torcs-1.2.4-gcc41_fixes-1.patch &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

patch -Np1 -i ../torcs-1.2.4-gcc41_fixes-1.patch &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install