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

From VDrift
Jump to: navigation, search
(Spliting up Compiling)
 
(Added error fixing section.)
Line 1: Line 1:
==Mac OS X==
+
==Prerequisites==
===Prerequisites===
 
 
The VDrift Mac OS X project requires Xcode version 2.2 or later with the "10.4 Universal SDK" and the "X11 SDK" installed.
 
The VDrift Mac OS X project requires Xcode version 2.2 or later with the "10.4 Universal SDK" and the "X11 SDK" installed.
 
To get Xcode go to http://developer.apple.com/technologies/xcode.html. You'll need to sign up for a free Apple Developer membership.
 
To get Xcode go to http://developer.apple.com/technologies/xcode.html. You'll need to sign up for a free Apple Developer membership.
  
===Download===
+
==Download==
 
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]].
  
===Build===
+
==Build==
 
Finally open ''tools/osx/vdrift.xcodeproj'' and hit "Build" from XCode's "Build" menu.
 
Finally open ''tools/osx/vdrift.xcodeproj'' and 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'.
  
 
[[Category:Development]]
 
[[Category:Development]]
 
[[Category:Review]]
 
[[Category:Review]]
 
[[Category:Operating Systems:Mac OS X]]
 
[[Category:Operating Systems:Mac OS X]]

Revision as of 14:24, 28 December 2010

Prerequisites

The VDrift Mac OS X project requires Xcode version 2.2 or later with the "10.4 Universal SDK" and the "X11 SDK" installed. To get Xcode go to http://developer.apple.com/technologies/xcode.html. You'll need to sign up for a free Apple Developer membership.

Download

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

Build

Finally open tools/osx/vdrift.xcodeproj and 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'.