Difference between revisions of "Compiling using Xcode"
From OdaWiki
(→Opening the project) |
|||
Line 4: | Line 4: | ||
[[Image:Xcode.jpg|thumb||Screenshot of the odamex Xcode project]] | [[Image:Xcode.jpg|thumb||Screenshot of the odamex Xcode project]] | ||
− | |||
− | |||
You can open "odamex.xcodeproj" with Xcode (development environment distributed with Apple's OSX). In the project window (shown in screenshot), you can choose a target to attempt to build from the dropdown box in the upper-left corner. If you get build errors on a release version, please make sure you have the frameworks for SDL & SDL_mixer installed (described below). | You can open "odamex.xcodeproj" with Xcode (development environment distributed with Apple's OSX). In the project window (shown in screenshot), you can choose a target to attempt to build from the dropdown box in the upper-left corner. If you get build errors on a release version, please make sure you have the frameworks for SDL & SDL_mixer installed (described below). | ||
Instructions for building the launcher on Mac OS X do not currently exist (to my knowledge) because there is a lack of a simple framework for wxwidgets on Mac OS X. wxWidgets needs to be built from source, and there's a good number of headaches that can go with that. | Instructions for building the launcher on Mac OS X do not currently exist (to my knowledge) because there is a lack of a simple framework for wxwidgets on Mac OS X. wxWidgets needs to be built from source, and there's a good number of headaches that can go with that. | ||
+ | |||
+ | Side note: | ||
+ | If you run the release builds from xcode, you have a good chance of causing a bus error that does not appear when you simply launch the program from finder (or however else). | ||
== Required frameworks == | == Required frameworks == |