Jump to content
  • Advertisement
Sign in to follow this  

SDL_Error what is up with this.

This topic is 3934 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I've decided to switch libraries for my game just because of the support of the SDL library, and well I've just started working with Visual C++ 05 and "Orcas" but in both programs I get this error
'SDL_00.exe': Loaded 'C:\WINDOWS\system32\msasn1.dll'
'SDL_00.exe': Loaded 'C:\WINDOWS\system32\imagehlp.dll'
The thread 'Win32 Thread' (0x1d8) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x9ac) has exited with code 0 (0x0).
The program '[2396] SDL_00.exe: Native' has exited with code 0 (0x0).

what does this mean? I'll try to build the project differently than what the lazy foo productions tutorial says to do, and see what i come up with. I was just initializing SDL and see if it would run, and I got the above error. How come?
#include <SDL.h>

int main(int argc, char* args[])


	return 0;

It can't be my code can it? I've linked everything correctly, or I would of gotten some linker errors. What is up with this?

Share this post

Link to post
Share on other sites
There is actually no error in your program, the output just indicates that your program closed immediately, which, looking at your source code, is nothing unusual. You'll need to have at least some kind of main loop between your call to SDL_Init and SDL_Quit. What else did you think the program would do?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!