Here is the error I get from my terminal when I try to compile the code
/*This is the init file that controls all the major background processes
will contain major bliting of backgrounds,surfaces, and handle collision
*/
#ifndef_init_H_
#define _init_H_
#include <SDL>
class init{
private:
bool Running;
SDL_Surface* Surf_Display;
public:
init();
int OnExecute();
public:
bool OnInit();
void OnEvent(SDL_Event* Event);
void OnLoop();
void OnRender();
void OnCleanup();
};
here is the code I pretty much copied from sdltutorials.com if you are wondering about it. I used their basic tutorial. I think there might be a linking error with sdl and my OS but not sure.