This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
user:bh011695:start:macinstall_xcode [2010/12/16 16:36] – created bh011695 | user:bh011695:start:macinstall_xcode [2010/12/16 17:17] (current) – bh011695 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Installing Mac Os X Leopard ====== | ||
+ | There really isn't a whole lot to this. The install was fairly straight forward on this one. The usual click next and wait for the most part. | ||
+ | |||
+ | |||
+ | *Initially you'll get prompted as to whether or not you'd like to go through with the install. Click continue. | ||
+ | *Next the installer will prompt you as to where you want to install the operating system. Install it to where ever you want it. In this case, lairMacHD. Click continue. | ||
+ | *Now the installer asks whether you're doing a fresh install or an upgrade. In my case, a fresh install. And make sure to format the disk as journalled and continue. | ||
+ | *Here' | ||
+ | *Now onto the real fun part. The waiting game. This could take a while so a drink and a snack are probably in order at this point. | ||
+ | *After OS X has finished installing you'll create a username. I chose " | ||
+ | *From here, login and go. | ||
+ | |||
+ | ====== Doing some C++ in Xcode ====== | ||
+ | |||
+ | I'm jotting this down just for the sake of doing so in case either A) I forget or B) somebody else needs to know how to do this. Personally, I found trying to make a C/C++ program in Xcode a bit cryptic. I think it was a good hour or so before I had figured out how to do it properly. So, in the event that someone else has the same problem, here we are. | ||
+ | |||
+ | == Installing xCode == | ||
+ | *If you've already done this. Continue ahead. | ||
+ | *xCode should be on your OS X disk. Insert the disk into the drive. | ||
+ | *The file you're looking for is xcodetools.mpkg. Drag that onto your desktop, mount it, and start the installation. | ||
+ | *For this, you only really need the core components, however, the UNIX tools may be useful to us. Install them if you like. | ||
+ | |||
+ | == Creating a Program in Xcode == | ||
+ | Okay, with the installation out of the way we can go to the meat of this. This is where I found things to get kind of awkward. The option to make a C/C++ is a bit hidden, or at least the right one is anyway. There' | ||
+ | |||
+ | *Once you're passed the assistant thing that pops up create a new project. | ||
+ | *Scroll way down until you see the option to create a command line utility. | ||
+ | *Click the command line utility followed by the C++ tool. | ||
+ | *Give it a name and save it wherever you want it. | ||
+ | *You' | ||
+ | *Click on that and a hello world program should open up. Feel free to make something more interesting. | ||
+ | *Click on the build button at the top. This will compile your Hello World or more interesting program. | ||
+ | *If you go to the project organizer, there should now be an executable file. | ||
+ | *Click on that and get greeted by a nice message or something far more interesting. | ||
+ | |||
+ | And there you have it. Hopefully that clears up doing C/C++ in Xcode. |