   SDL and Xcode not working
  I downloaded the SDL templates etc and discovered Apple ships with all the SDL stuff anyway. However when creating a new project in Xcode, there are no templates for SDL appications in the app section only in the Dynamic library section. So I create one from there but none of Lazy Foo's first tutorial will compile.So just to make sure, I copy my downloaded SDL files into Library/Frameworks and the templates into Library/Application Support/Apple/Developer Tools/Project Templates/Application then go to create a new application but still no sign of the SDL application template.Are the Dynamic library ones the ones I should use or should they appear in the Applications part of Xcode?   
  The only thing using a template do for you is enable you not to learn how to write the code yourself. Yes, it'll be written partially for you, and that's less error prone, but without dealing with those errors, you won't learn. Use templates for convenience when you've already gained enough experience to do it yourself.Could you post the errors you get? Those are the only clues one has as to what's wrong. Probably it'd be a good idea to post the code, too.   ;  But when I create a new project I have to choose a template dont I? Anyways here is the error code...Building target “myFirstGame” of project “myFirstGame” with configuration Undefined symbols:  "_SDL_RWFromFile", referenced from: _SDL_main in myFirstGame.o  "_SDL_FreeSurface", referenced from: _SDL_main in myFirstGame.o  "_SDL_UpperBlit", referenced from: _SDL_main in myFirstGame.o  "_SDL_Flip", referenced from: _SDL_main in myFirstGame.o  "_SDL_LoadBMP_RW", referenced from: _SDL_main in myFirstGame.o  "_SDL_Delay", referenced from: _SDL_main in myFirstGame.o  "_SDL_Init", referenced from: _SDL_main in myFirstGame.o  "_SDL_Quit", referenced from: _SDL_main in myFirstGame.o  "_SDL_SetVideoMode", referenced from: _SDL_main in myFirstGame.old: symbol(s) not foundcollect2: ld returned 1 exit status  "_SDL_RWFromFile", referenced from: _SDL_main in myFirstGame.o  "_SDL_FreeSurface", referenced from: _SDL_main in myFirstGame.o  "_SDL_UpperBlit", referenced from: _SDL_main in myFirstGame.o  "_SDL_Flip", referenced from: _SDL_main in myFirstGame.o  "_SDL_LoadBMP_RW", referenced from: _SDL_main in myFirstGame.o  "_SDL_Delay", referenced from: _SDL_main in myFirstGame.o  "_SDL_Init", referenced from: _SDL_main in myFirstGame.o  "_SDL_Quit", referenced from: _SDL_main in myFirstGame.o  "_SDL_SetVideoMode", referenced from: _SDL_main in myFirstGame.old: symbol(s) not foundcollect2: ld returned 1 exit statusBuild failed (9 errors)and heres my code#include "SDL/SDL.h" int main( int argc, char* args[] ) { //The images SDL_Surface* hello = NULL; SDL_Surface* screen = NULL; //Start SDL SDL_Init( SDL_INIT_EVERYTHING ); //Set up screen screen = SDL_SetVideoMode( 640, 480, 32, SDL_SWSURFACE ); //Load image hello = SDL_LoadBMP( "hello.bmp" ); //Apply image to screen SDL_BlitSurface( hello, NULL, screen, NULL ); //Update Screen SDL_Flip( screen ); //Pause SDL_Delay( 2000 ); //Free the loaded image SDL_FreeSurface( hello ); //Quit SDL SDL_Quit(); return 0; } ;  I'm not familiar with you're environment, but shouldn't it let you make an empty project or just use a hello world template?Anyway. the errors seem to be that you're not linking the SDL libraries. A quick google found this which shows instructions for linking. I'd bet the solution is to make sure SDL is in the Linker Flags. Perhaps someone more familiar with Xcode could step in?   ;  I could try the Carbon C++ Application template, I guess that should work as long as it can link to the libraries. Ill check out your link and get back.Thanks for your help.   ;  Well that looked like good help there. I linked up the frameworks manually and now I just have one error.Undefined symbols:  "_main", referenced from: start in crt1.10.5.old: symbol(s) not foundcollect2: ld returned 1 exit statusBuild failed (1 error)Looks like another linking issue.   ;  Success! The templates were in the wrong place even though I followed the instructions.They are now in /Developer/Library/Xcode/Project Templates. Now they show up in Xcode and compile.   