News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Code::Blocks crashes graphics when compiling

Started by Flyttershy, January 13, 2012, 09:08:21 PM

Previous topic - Next topic

Flyttershy

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).

stahta01

Code::Blocks version or SVN?
Compiler name and version?

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Flyttershy

CodeBlocks Version 10.05 build May 27 2010, 19:10:15

Compiler GNU GCC

stahta01

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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

MortenMacFly

Quote from: Flyttershy on January 13, 2012, 09:08:21 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?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

WintonDiesel

Quote from: 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 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.