Jump to content

  • Log In with Google      Sign In   
  • Create Account

SDL error


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 TheRealMAN11   Members   -  Reputation: 142

Like
Likes
Like

Posted 16 December 2001 - 06:41 AM

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.

Sponsor:

#2 GameCat   Members   -  Reputation: 292

Like
Likes
Like

Posted 16 December 2001 - 07:40 AM

Probably a keyboard error, your caps lock key seems to be broken.

HTH

/GameCat

#3 Drizzt DoUrden   Members   -  Reputation: 100

Like
Likes
Like

Posted 16 December 2001 - 07:46 AM

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.

#4 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 16 December 2001 - 07:47 AM

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.

#5 TheRealMAN11   Members   -  Reputation: 142

Like
Likes
Like

Posted 16 December 2001 - 12:50 PM

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.

#6 Terran Marine   Members   -  Reputation: 122

Like
Likes
Like

Posted 16 December 2001 - 04:34 PM

MAYBE IT WOULD HELP IF YOU DISMANTLED YOUR KEYBOARD, REMOVED THE CAPS LOCK KEY, AND THREW IT OUT THE WINDOW.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS