Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Flyttershy on January 13, 2012, 09:08:21 pm

Title: Code::Blocks crashes graphics when compiling
Post by: Flyttershy on January 13, 2012, 09:08:21 pm
My Code::Blocks always crashes my graphics drivers when compiling (my screen goes black, my mouse becomes a white block, everything goes away). I can't do anything at all until the compiling is done, and if I wanna see the compile status, I have to press CTRL+DEL.

I use ATI Radeon x1950 Pro (Legacy) with original drivers, on Windows_NT XP Pro SP3 Version 2002 x86, running off Drive F:\. Processor: x86 Family 6 Model 23 Stepping 10, GenuineIntel (2 of them).
Title: Re: Code::Blocks crashes graphics when compiling
Post by: stahta01 on January 13, 2012, 09:26:14 pm
Code::Blocks version or SVN?
Compiler name and version?

Tim S.
Title: Re: Code::Blocks crashes graphics when compiling
Post by: Flyttershy on January 13, 2012, 09:44:50 pm
CodeBlocks Version 10.05 build May 27 2010, 19:10:15

Compiler GNU GCC
Title: Re: Code::Blocks crashes graphics when compiling
Post by: stahta01 on January 14, 2012, 07:09:28 pm
I would suggest using another version of the Compiler. But, since you have no idea what version you are using, I have little to suggest that you can do.

Tim S.
Title: Re: Code::Blocks crashes graphics when compiling
Post by: MortenMacFly on January 14, 2012, 08:05:04 pm
I use ATI Radeon x1950 Pro (Legacy) with original drivers
This sounds to me like a bug with the graphics driver. Did you try to find a more up-to-date driver than the one you are using?
Title: Re: Code::Blocks crashes graphics when compiling
Post by: WintonDiesel on February 05, 2012, 09:35:59 pm
My Code::Blocks always crashes my graphics drivers when compiling (my screen goes black, my mouse becomes a white block, everything goes away). I can't do anything at all until the compiling is done, and if I wanna see the compile status, I have to press CTRL+DEL.

-------------------------------------
I had the same problem, but it was not a display crashing at all. I fixed it simply by changing the command prompt display options settings to "window" instead of "full screen". Note that simply changing it while running Programs|Accessories|Command Prompt didn't work. Instead, compile a reasonably large program in C::B to give you enough time with the blank screen (I used rebuild so all the files had to compile). As soon as the screen switches to text mode, use Alt-Spacebar and select Properties. Change the display options property from Full Screen to Window and press OK. Be sure when you see the next dialog to select "Modify shortcut that started this window" and press OK.

That fixed the problem for me, I now stay in C::B and see the progress compiler messages.