Ok so Im a big fan of SDL and have used it on windows form nearly a year now. After some research I found that the iphone could compile c++ so I have been triyng to get SDL working with xcode 4 on my mac.
after a bit of research I found there is very little help on trying to do this for xcode 4. But from my knowledge from windows it accrued to me that all I really needed to do was add the SDL framework to the project then make the header files visible to the compiler.
This was fairly easy to do a simple test program compiles no problem. Now I hit the hurdle when trying to run the program I get the error message
dyld: Library not loaded: @executable_path/../Frameworks/SDL.framework/Versions/A/SDL
Referenced from: /Users/maxashton/Library/Developer/Xcode/DerivedData/SDL_Test-aolpwbzxuhkmfgategasbecconuo/Build/Products/Debug/SDL_Test.app/Contents/MacOS/SDL_Test
Now from my my knowledge from windows I know that the SDL.dlls have to be in a location which the runtime can see (project folder or system32).
could it be that I am missing the dll equivalent for OSX? if so where could I find these they dont come in the download and the SDL framework isn't something I can compile to create them myself.
Thanks for the help in advanced






