Debugger problem (Devc++)

Started by
0 comments, last by freenity 18 years, 1 month ago
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.
Simplicity is the ultimate sophistication. – Leonardo da Vinci
Advertisement
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