Difference between revisions of "Old Method of Compiling on Mac OS X"

From VDrift
Jump to: navigation, search
m
(Update for xcode 4.1)
Line 1: Line 1:
 
This page documents how to compile VDrift on the Mac OS X operating system.
 
This page documents how to compile VDrift on the Mac OS X operating system.
 
==Prerequisites==
 
==Prerequisites==
The VDrift Mac OS X project requires Xcode 2.2 or later. The latest version, [http://developer.apple.com/xcode/ Xcode] 4 costs $4.99 on the [http://itunes.apple.com/us/app/xcode/id422352214?mt=12&ls=1 Mac App Store], or get it by registering with Apple on the [http://developer.apple.com/programs/ iOS or Mac Developer Programs] for $99 a year.
+
The VDrift Mac OS X project requires Xcode 3.2 or later. The latest version, [http://developer.apple.com/xcode/ Xcode] 4.1 is free on the [http://itunes.apple.com/us/app/xcode/id422352214?mt=12&ls=1 Mac App Store].
  
 
Get the VDrift source code, either from the latest source release on the [http://sourceforge.net/project/showfiles.php?group_id=137283 VDrift downloads page], or the [[Getting the development version#Mac OS X|development version]].
 
Get the VDrift source code, either from the latest source release on the [http://sourceforge.net/project/showfiles.php?group_id=137283 VDrift downloads page], or the [[Getting the development version#Mac OS X|development version]].

Revision as of 07:47, 26 July 2011

This page documents how to compile VDrift on the Mac OS X operating system.

Prerequisites

The VDrift Mac OS X project requires Xcode 3.2 or later. The latest version, Xcode 4.1 is free on the Mac App Store.

Get the VDrift source code, either from the latest source release on the VDrift downloads page, or the development version.

Building

Open tools/osx/vdrift.xcodeproj and in Xcode 4 or higher click "Build" in the "Product" menu, otherwise hit "Build" from XCode's "Build" menu.

Error fixing

If when building, you get some errors, it is most likely because the Xcode project is out of date (it often is as we don't have an active Mac OS X developer). To fix it:

  • Remove files from Xcode that are in the project but not in the repository anymore.
  • Add new files to Xcode that are in the repository, but have not yet been added to the project.

You can see which files have added or removed in the output of 'svn update'.