Main»Getting Started

Getting Started

  • General prerequisites:
    • Mercurial
    • Tango r.3503 or newer
    • DMD (tested with 1.028+) / GDC (tested with gcc version 4.1.2 20070214 ( gdc 0.24, using dmd 1.022)) / LDC (0.9.1+)
    • ReBuild (part of DSSS; tested with 0.75)
    • verdana.ttf
    • zlib library for linking
  • Linux/FreeBSD prerequisites:
    • libIL
    • libGL
    • libGLU
    • libfreetype
    • libX11
    • libXxf86vm
  • Downloading Hybrid and its dependencies; compiling Test1:
    • Hybrid resides in the xf package - short for team0xf - and uses some of its utilities
    • hg clone http://team0xf.com:8080/xf
      cd xf
      hg clone http://team0xf.com:8080/dog
      hg clone http://team0xf.com:8080/omg
      hg clone http://team0xf.com:8080/utils
      hg clone http://team0xf.com:8080/ext
      hg clone http://team0xf.com:8080/hybrid
      cd hybrid
      rebuild -I../.. -I../ext zlib.lib Test1.d
      ... or
      rebuild -I../.. -I../ext -L-lz Test1.d
      
  • Running the test
    • Ensure that verdana.ttf, themes/, and gui.cfg are all in the same directory as the binary.
    • Run Test1
  • Linux/FreeBSD Troubleshooting
    • Make sure you have a libIL.so in the usual ldloader path (e.g. /usr/lib). If you have libIL.so.*, symlink it to libIL.so
    • The DISPLAY environment variable must be set properly
    • You may have to use the '-no-export-dynamic' flag when compiling with GDC
  • Updating the repositories
    • cd xf
      hg pull -u
      cd dog
      hg pull -u
      cd ..
      cd omg
      hg pull -u
      cd ..
      cd utils
      hg pull -u
      cd ..
      cd ext
      hg pull -u
      cd ..
      cd hybrid
      hg pull -u
      cd ..