Game Development Community

PlatformX86UNIX Redux

by Gary "ChunkyKs" Briggs · in Torque Game Engine · 01/31/2007 (12:44 pm) · 0 replies

Thanks to David .NfoCipher. Bunt's recent .plan, I was energised into making this actually useful for others [ie, a patch].

This is the README in the file:

PlatformX86UNIX Torque Running on OSX


0) Make sure you have the necessaries installed:
  X11 for your version of OSX [it came on the install CD/DVD if you have a recent version of OSX]
  SDL compiled suitably. I'm using SDL 1.2.11, and compiled thusly:
  ./configure \
        --prefix=/usr/local/sdl \
        --disable-audio \
        --enable-joystick \
        --with-x \
        --x-include=/usr/X11R6/include \
        --x-libraries=/usr/X11R6/lib \
        --enable-video-x11 \
        --enable-video-opengl \
        --enable-video-x11-dpms=no \
        --enable-video-x11-xrandr=no \
        --enable-video-x11-xme=no \
        --enable-video-x11-vm=no \
        --enable-x11-shared=no && make && sudo make install

1) Apply the diff to engine:
cd your-torque-sdk/engine
gzip -cd engine-platX11-osx.diff.gz | patch -p1

2) Copy the .xcodeproj and the .plist files into the xcode dir.

3) Open the .xcodeproj, and build any of the Torque X11 targets.

4) Command line to build both X11 targets [release & debug]:
xcodebuild -project torque_WithX11.xcodeproj -target X11OSX


Well, that was a big ol' exercise in silly.

Gary (-;
<chunky@icculus.org>

And here's the stuffs: torque-macx11-2007-01-31.tar.gz

Gary (-;