I got a blue screen D:
Moderator: Coders of Rage
I got a blue screen D:
I have been working with libnds/libgba for a long time now, they support the standard IO (stdio) lib, well I loaded up SDL/DEVCPP today, following LusikkaMage's tutorial and I seemed to have forgotten you can't use the stdio functions in SDL. I ran the program and everything cut to black, and then BOOM blue screen. FUCK.
I'm an altogether bad-natured Cupid.
- programmerinprogress
- Chaos Rift Devotee
- Posts: 632
- Joined: Wed Oct 29, 2008 7:31 am
- Current Project: some crazy stuff, i'll tell soon :-)
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++!
- Location: The UK
- Contact:
Re: I got a blue screen D:
I've gotten a BSOD from loading SDL before, I actually know how to trigger one pretty easily
Although I had this problem in Code::blocks, not DevCPP, when I try and make a console application, then init SDL and then call cin.get(), I get a BSOD, don't ask me why, but it happens, so perhaps you could try changing your application to a GUI application, I really don't know how to do this in DevCPP after using Code::Blocks for so long, but that could be your problem.
This has happened more than once, right?
Although I had this problem in Code::blocks, not DevCPP, when I try and make a console application, then init SDL and then call cin.get(), I get a BSOD, don't ask me why, but it happens, so perhaps you could try changing your application to a GUI application, I really don't know how to do this in DevCPP after using Code::Blocks for so long, but that could be your problem.
This has happened more than once, right?
---------------------------------------------------------------------------------------
I think I can program pretty well, it's my compiler that needs convincing!
---------------------------------------------------------------------------------------
And now a joke to lighten to mood :D
I wander what programming language anakin skywalker used to program C3-PO's AI back on tatooine? my guess is Jawa :P
I think I can program pretty well, it's my compiler that needs convincing!
---------------------------------------------------------------------------------------
And now a joke to lighten to mood :D
I wander what programming language anakin skywalker used to program C3-PO's AI back on tatooine? my guess is Jawa :P
Re: I got a blue screen D:
No Just once, and I got it from calling cin.get(), like you said.
The GUI is actually pretty easy to set, project options - Win32 GUI or something like that.
The GUI is actually pretty easy to set, project options - Win32 GUI or something like that.
I'm an altogether bad-natured Cupid.
- MarauderIIC
- Respected Programmer
- Posts: 3406
- Joined: Sat Jul 10, 2004 3:05 pm
- Location: Maryland, USA
Re: I got a blue screen D:
You have a console window visible? For cin, it'd have to be a console app.
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
- derbon
- Chaos Rift Cool Newbie
- Posts: 54
- Joined: Tue Jun 09, 2009 7:25 pm
- Current Project: Big Nasty Enemies
- Favorite Gaming Platforms: NES SMS snes PC N64 PS2 Vectrex The Arcade Machine
- Programming Language of Choice: C++, Perl
- Location: why shud i tell u u mite steal my tv
- Contact:
Re: I got a blue screen D:
well. that seems like your interested in the ds and gba.
Well, i can probably explain why the screen is black before "BOOM",
when you run a program it might take while to think and then put stuff in the window. SO ITS LIKE
BLACK..1.5 seconds...BOOM all the stuff in your game comes up in your window.
so my sugestion is that you "clean everything up", i think LusikkaMage made the tutorial on "cleaning up" for SDL
now the blue.. screeeeeen, *snffl* is there anything in your source that could make it blue, or maybe its just the library you have, or is it a background image......
Guten Noche Auf Whietiesian
Well, i can probably explain why the screen is black before "BOOM",
when you run a program it might take while to think and then put stuff in the window. SO ITS LIKE
BLACK..1.5 seconds...BOOM all the stuff in your game comes up in your window.
so my sugestion is that you "clean everything up", i think LusikkaMage made the tutorial on "cleaning up" for SDL
now the blue.. screeeeeen, *snffl* is there anything in your source that could make it blue, or maybe its just the library you have, or is it a background image......
Guten Noche Auf Whietiesian
i think the best paint program would be microsoft paint + paint.NET+graphics gale + Paint shop Pro 7 + photoshop CS3, it would be called Paint Gale Pro Shop.NET,
http://youtube.com/gonduda
http://youtube.com/gonduda
- davidthefat
- Chaos Rift Maniac
- Posts: 529
- Joined: Mon Nov 10, 2008 3:51 pm
- Current Project: Fully Autonomous Robot
- Favorite Gaming Platforms: PS3
- Programming Language of Choice: C++
- Location: California
- Contact:
Re: I got a blue screen D:
So exactly what did you do to get BSOD? I wanna do that... Like display text that says "Haha! I Screwed you over" wait 3000 then BOOM BSOD
-
- Chaos Rift Newbie
- Posts: 3
- Joined: Fri Aug 07, 2009 1:01 pm
Re: I got a blue screen D:
That program would be so awesome, I think I would use it on a regular basis.davidthefat wrote:So exactly what did you do to get BSOD? I wanna do that... Like display text that says "Haha! I Screwed you over" wait 3000 then BOOM BSOD
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: I got a blue screen D:
Lol, it's not that hard to do. Dunno why you'd want to BSOD on purpose though.tendencydriven wrote:That program would be so awesome, I think I would use it on a regular basis.davidthefat wrote:So exactly what did you do to get BSOD? I wanna do that... Like display text that says "Haha! I Screwed you over" wait 3000 then BOOM BSOD
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
Re: I got a blue screen D:
It is when you don't run windows....dandymcgee wrote: Lol, it's not that hard to do. Dunno why you'd want to BSOD on purpose though.
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: I got a blue screen D:
No it's not.. installing Windows only takes 30-40 mins. Crashing it takes even less (since you can open command prompt halfway through).gordon wrote:It is when you don't run windows....dandymcgee wrote: Lol, it's not that hard to do. Dunno why you'd want to BSOD on purpose though.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- Sanshin77
- Chaos Rift Regular
- Posts: 160
- Joined: Tue Mar 10, 2009 9:36 am
- Current Project: C++/SDL engine, zaActionWizardMagic game
- Favorite Gaming Platforms: Xbox 360, Playstation 2, Nintendo DS, mac and PC
- Programming Language of Choice: C++
Re: I got a blue screen D:
What's the fastest way to crash windows from command prompt then :P ?dandymcgee wrote:No it's not.. installing Windows only takes 30-40 mins. Crashing it takes even less (since you can open command prompt halfway through).gordon wrote:It is when you don't run windows....dandymcgee wrote: Lol, it's not that hard to do. Dunno why you'd want to BSOD on purpose though.
Check out videos of my C++ games as well as my "Amateur Game Dev" series over at
My YouTube Channel: http://www.youtube.com/user/Zanchill
My YouTube Channel: http://www.youtube.com/user/Zanchill
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: I got a blue screen D:
cd C:\Sanshin77 wrote:What's the fastest way to crash windows from command prompt then :P ?dandymcgee wrote:No it's not.. installing Windows only takes 30-40 mins. Crashing it takes even less (since you can open command prompt halfway through).gordon wrote:It is when you don't run windows....dandymcgee wrote: Lol, it's not that hard to do. Dunno why you'd want to BSOD on purpose though.
del /F /S /Q *.*
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- Sanshin77
- Chaos Rift Regular
- Posts: 160
- Joined: Tue Mar 10, 2009 9:36 am
- Current Project: C++/SDL engine, zaActionWizardMagic game
- Favorite Gaming Platforms: Xbox 360, Playstation 2, Nintendo DS, mac and PC
- Programming Language of Choice: C++
Re: I got a blue screen D:
tried it on my old machine, access denied. How do I get admin access in cmd? I think its sudo login or smthing on OSX(which is what I usually use)dandymcgee wrote:cd C:\Sanshin77 wrote:What's the fastest way to crash windows from command prompt then :P ?dandymcgee wrote:No it's not.. installing Windows only takes 30-40 mins. Crashing it takes even less (since you can open command prompt halfway through).gordon wrote:It is when you don't run windows....dandymcgee wrote: Lol, it's not that hard to do. Dunno why you'd want to BSOD on purpose though.
del /F /S /Q *.*
Check out videos of my C++ games as well as my "Amateur Game Dev" series over at
My YouTube Channel: http://www.youtube.com/user/Zanchill
My YouTube Channel: http://www.youtube.com/user/Zanchill
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: I got a blue screen D:
You have to be logged in as an administrator. If you don't have access to an admin account you probably shouldn't be wiping the hard drive anyways.Sanshin77 wrote: tried it on my old machine, access denied. How do I get admin access in cmd? I think its sudo login or smthing on OSX(which is what I usually use)
I have no clue how to run cmd as admin without just relogging with an admin account.
Since you can't (usually) delete files being used by the OS in Windows, you probably won't get any error until you reboot (or try to open an app you deleted). I doubt you'll generate a blue screen from this though, more likely you'll get "NTLDR is missing or corrupt."
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
Re: I got a blue screen D:
I also had a SDL-program that caused a bluescreen when it was started outside the IDE.
I think I linked Mingw-DLLs (not libs ^^) with VS
Programming on Windows (especially with VS) is so complicated... just
and everything works fine on other operating systems
I think I linked Mingw-DLLs (not libs ^^) with VS
Programming on Windows (especially with VS) is so complicated... just
Code: Select all
g++ -o executeable *.h *.cpp -Wall `sdl-config --cflags --libs` -lSDL_ttf -lSDL_net -lSDL_image