I downloaded the SDL-1.2.14 version and everything seemed to work. I have no errors when I run the build but as it tries to open i get this error.
"This application has failed to start becasue SDL.dll was not found. Re-installin the application may fix this problem."
I went through everything again to make sure I followed each step and from what I can tell I have not missed any steps. Has anyone else had any trouble with this? I was very eager to get learn and start coming up with my own ideas but this roadblock is eating at me.
If theres anything else I can do to explain my situation let me know...
Well, I don't know what's wrong, because I've never used SDL (I use openGL). But I get a VERY similar error when I try to read/reference information from an array spot that doesn't exist. here's an example:
1 2 3 4 5 6 7 8 9
#include <iostream>
usingnamespace std;
int main() {
int myArray[10]; //allocate an array of 10 spots
myArray[10] = 6; //array spot (10) is 6
cout << myArray[11]; //this array spot doesn't exist!
cin.get(); //pause the program to observe the output
}
I don't know how much this helps, if this helps at all; however, it may be able to help you diagnose the problem :)
Thanks i think i edited the code and I'm still not getting any errors until it pulls up the SDL app. It comes up blank and then the error continues to come up.
Unhandled exception at 0x6812a21b in SDL tutorial.exe: 0xC0000005: Access violation reading location 0x00000004.