Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

TheRealMAN11

SDL error

This topic is 6154 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

OK I AM TRYING TO INTLIZE SDL UNDER X, AND LAST NIGHT IT WAS WORKING FINE, THEN TODAY I TRY TO DO IT AND I GET SEGMENTATION FAULTS UPON CALLING SDL_INITI OR WHAT EVER THAT FUNCITON IS. CAN SOMEONE HELP?
IT IS FOOLISH FOR A WISE MAN TO BE SILENT, BUT WISE FOR A FOOL. MATTHEW WEBMASTER WWW.MATT-LAND.COM ALL YOUR XBOX BASE ARE BELONG TO NINTENDO.

Share this post


Link to post
Share on other sites
Advertisement
quote:
Original post by GameCat
Probably a keyboard error, your caps lock key seems to be broken.



I was going to say that before, too. But I decided to keep my mouth shut.

Go to Cone3D and take the first tutorial. It is about initialization.

Good luck.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
No need to yell...

The segfault is probably caused by an uninitialized pointer. That''s about all I can say given the amount of detail you provided.

Providing code sample, telling us which version of SDL, on which system, how it was installed (source tarball, CVS, RPM, DEB, etc), if you tried to reinstall it, etc, would help a lot.

Ah and using lower case would help too.

Share this post


Link to post
Share on other sites
GO READ THE THREAD, THEY DID IT AGAIN IN THE LOUNGE TO FIND OUT WHY I AM YELLING, I CAN''T HELP IT. I FOUND THE PROBLEM, I WAS CREATING A UINT32 TYPE GOLBAL VAR AND FOR SOME REASON THIS CAUSED A SEGFAULT. ONCE I PUT THE VAR DECLEARATION IN MY MAIN FUNCTION THE PROGRAM WORKED.


IT IS FOOLISH FOR A WISE MAN TO BE SILENT, BUT WISE FOR A FOOL.

MATTHEW
WEBMASTER
WWW.MATT-LAND.COM

ALL YOUR XBOX BASE ARE BELONG TO NINTENDO.

Share this post


Link to post
Share on other sites

  • 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!