Parsing System (v0.6)
Goldie Home (v0.6) -> Getting Started -> Download / Install

Download / Install

Assuming you already have DMD installed:

  1. Download Goldie and SemiTwist D Tools.

    There are two ways to download these:

  2. Build SemiTwist D Tools.
    [You can skip this step if you obtained a release with prebuilt binaries for your OS.]

    From the main SemiTwist D Tools directory:

    >buildAll

    On WinXP, environment variables can be accessed by: Right-Click on "My Computer", "Properties", "Advanced" tab, "Environment Variables" button. You'll need to start a new command prompt for it to take effect. You might also need to log out and back in again.

    NOTE FOR USERS OF DMD 2.054 AND OLDER:

    The versions of RDMD that come with DMD 2.054 and older have bugs that prevent it from working with the latest Goldie and SemiTwist D Tools. So if you're not using at least DMD 2.055, you will need to grab the RDMD from DMD 2.055 or newer.

    To do this, download and extract the
    DMD 2.055 zip. Then, go into the bin subdirectory for your operating system, and copy rdmd into the bin subdirectory of your DMD installation. If you're on Windows, you can simply copy rdmd.exe into both the main Goldie and the main SemiTwist D Tools directories.
  3. Add the executable directories for Goldie and SemiTwist D Tools to your PATH environment variable.
    [This is optional, but recommended.]

    These directories are:

    {main Goldie directory}/bin/ {main SemiTwistDTools directory}/bin/

    See step #2 above for how to access the environment variables on WinXP.

    Having these on your PATH shouldn't cause any name collisions because all the executables for Goldie and SemiTwist D Tools are prefixed with goldie- and semitwist- respectively.

  4. Tell your compiler where to find Goldie and SemiTwist D Tools.
    [You can skip this step if you only intend to use the prebuilt tools and not the D library.]

    To do this for DMD:

    Go to DMD's bin directory and open sc.ini (Windows) or dmd.conf (All other OSes). On the line that starts with DFLAGS=, add the following flags:

    -Ipath_to_SemiTwistDTools/src -Ipath_to_Goldie/src
  5. Build Goldie's tools and sample apps.
    [You can skip this step if you obtained a release with prebuilt binaries for your OS.]

    (See the note above regarding RDMD.)

    From Goldie's root directory:

    >semitwist-stbuild all

    To see how to build the debug versions of Goldie's tools and sample apps, or only build one tool, or perform a cleaning:

    >semitwist-stbuild --help