I am so frustrated. I have seriously been trying to install sdl onto xcode for over a week. I thought I did it, and ordered a 30 dollar book to learn more, but nope. SDl is not working now. Please tell me how to install sdl onto xcode. Lazyfoo's tutorial does not work. Please. I do not want to have wasted that on a book since I cant even get SDL to work. Please help me. I will praise the person who can solve this for me. Thank you for all replies.
hi peter. I did have it working, but then it just stopped for no reason... Idk why and I repeated all steps and doesnt work. The error I am getting is that when I add the sdlmain.m file to my project, Tutorials say to change it to say #include "SDL/SDL.h" and I do, and it shows an error on the code for sdlmain.m, not on main.cpp. So maybe Im doing something wrong there..?
I know this because before I even try to write sdl code, it shows errors in sdlmain.m either saying SDL/SDl.h file not found, or saying that there is an expected unidentified declarator. Peter, If you help me, I will love you forever. It has been over a week and I still cant install sdl onto xcode I am about to give up
edit: I have figured it out. It was a searchpath error. I extend my thanks to you peter. It was a weird error. May the sun shine on you all day, peter! :)
I am having exactly the same problems on Windows with Code::Blocks and VS 11. Maybe there should come an elaborate explanation on how to install SDL and extensions for ALL platforms, ALL SDL extensions and ALL IDE's in the Articles section, or in a sticky thread.
Have you tried following the instructions on lazyfoo?
Oh yes, a lot of times. Installing the standard SDL library works, when I follow that instructions, but now I want to install SDL_image, SDL_ttf and SDL_mixer, and that doesn't seem to work. I'll try again... :)