Debugger problem (Devc++)
This is my first time using a debuger and I keep getting this error, "An Access Violation (Segmentation Fault) raised in your program.", every time I step over the SDL_Init function. My book says it may be because of passing incorrect arguments but im only passing: SDL_INIT_VIDEO | SDL_INIT_TIMER.
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER)){ printf("Error while initializing SDL\n"); return 1;}
This works fine. I've tested it on Dev-C++ 4.9.9.2
----------
http://gamescreators.sourceforge.net/index.php --- linux games programmers community
[Edited by - freenity on March 2, 2006 8:55:49 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement