SDL problem

I downloaded SDL and put the framework and template files where they belong. So I created a new SDL OpenGL app, changed all instances of "SDL.h" to "SDL/SDL.h", removed the nonworking SDL framework connection and replaced it with a working one. Now I'm getting 5 errors because of this one error I'm getting saying "error: SDL/SDL.h no such directory". I have absolutly no idea why its doing this.

If you created an SDL project from the template and it doesn't build, maybe something went wrong with your SDL installation. Every time I've done it, you can just build it straight away with no complaints.

If you do want to use SDL from somewhere else, maybe you need to add it to your header search paths or framework search paths. Have a look in the build settings.

To reiterate what maximile said and to clarify exactly what he means, the compiler cannot find your SDL.h file because it doesn't know where to look. In your build settings for a project, you can specify where to find certain things such as header files, libraries and frameworks. AFAIK, regardless of what is entered in these settings, XCode will always search /System/Library/Frameworks, as it is where nearly all of the Apple supplied frameworks are. If the SDL.framework did not install to this location, you can drag it there and have it work. Or you can find where it was installed(Possibly /Library/Frameworks, as some 3rd party frameworks default there) and add that path to your build settings.

I am not familiar with SDL, but if you have built the framework properly it should be somewhere on your computer, and it's only a matter of telling the compiler where it is.