I can not run the SDL up and running I have included the folder, library folder included in it
And here is the code
#include & lt; SDL.h & gt; int main () {if (SDL_Init (SDL_INIT_VIDEO) == - 1) { return 0; } What am I doing wrong? This gives me this error message Edit: I had to do this because I did not use it back 1; } SDL_Quit ();
error 1 error LNK2019: Unsolved external symbol referenced in function _SDL_main C: \ user \ user 1 \ document \ Visual Studio 2010 \ Projects \ SDL Test 1 \ SDL Test 1 \ SDLmain.lib (SDL_win32_main.obj) SDL Test 1 Error 2 Error LNK1120: 1 Unsolved C: \ Users \ User 1 \ Document \ Visual Studio 2010 \ Projects \ SDL Test 1 \ debug \ SDL Test 1.XS1.1A DL Test 1
int main (int argc, char * argv [] Edit: I had to do this because I did not use it
int main (int argc, char * argv [])
Comments
Post a Comment