Compiling for OS X

From The Powder Toy
Revision as of 17:48, 25 July 2012 by Candunc (talk | contribs) (Page started.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note: This page is only for OS X (10.7, 10.8) Note: If you are 10.6 or below, go to this page: 10.6

Download Xcode from the App Store link

Download SDL link

This should download to your downloads folder. Keep uncompressing until it becomes a folder.

Then, in terminal, type 'cd ' (<-- Make sure there is a space after) and then drag the SDL folder in.

then type in (or copy / paste) './configure && make'

If that comes up with an error, go to this page and download 'Command Line Tools for OS X'. There are two versions. One is for lion 10.7 and the other is for mountain lion 10.8. If you don't know which you are using, go to the apple in the top left hand corner and press about my mac.