Clone wiki

MacHg / Compiling

Compiling MacHg from sources


  1. You need OSX 10.6+ ie Snow Leopard or above.
  2. If they are not installed then first install the Xcode Developer tools (I assume almost everyone reading this will have done this when installing the opperating system.)

Getting the sources

Building MacHg

  1. Place the sources somewhere on your machine. (/Users/yourusername/MacHg/ is fine.)
  2. Locate the interface builder extension at path-to-sources/MacHg/LinkedLibraries/BWToolkit/BWToolkit.ibplugin
  3. Double click on this interface builder extension to load it into interface builder
    1. (if you already have this extension in interface builder remove it first as this is a newer updated extension off of Brandon's sources.)
  4. Open the XCode MacHg/MacHg.xcodeproj
  5. Choose build and run from the XCode menu.
  6. Congratulations! You should have just built MacHg!
    1. (The built application is in MacHg/build/Debug/
    2. (If this doesn't work for you for any reason please report it as an issue here.)

Additional changes for XCode 4+

If double clicking on the interface builder extension does not open interface builder:

  1. Launch XCode 3 at /Developer-old/Applications and open the MacHg project.
  2. Double click the interface builder extension and it should now launch Interface Builder 3 and register the plugin.
  3. Close XCode 3 and open the MacHg project with XCode 4
  4. Build and run.

This wiki uses the Creole syntax, and is fully compatible with the 1.0 specification.

Jason F Harris, 2010