Author Topic: Code::Blocks crashes graphics when compiling  (Read 7342 times)

Offline Flyttershy

  • Single posting newcomer
  • *
  • Posts: 2
Code::Blocks crashes graphics when compiling
« 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).

Online stahta01

  • Lives here!
  • ****
  • Posts: 7787
    • My Best Post
Re: Code::Blocks crashes graphics when compiling
« Reply #1 on: January 13, 2012, 09:26:14 pm »
Code::Blocks version or SVN?
Compiler name and version?

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

Offline Flyttershy

  • Single posting newcomer
  • *
  • Posts: 2
Re: Code::Blocks crashes graphics when compiling
« Reply #2 on: January 13, 2012, 09:44:50 pm »
CodeBlocks Version 10.05 build May 27 2010, 19:10:15

Compiler GNU GCC

Online stahta01

  • Lives here!
  • ****
  • Posts: 7787
    • My Best Post
Re: Code::Blocks crashes graphics when compiling
« Reply #3 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.
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Code::Blocks crashes graphics when compiling
« Reply #4 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?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

WintonDiesel

  • Guest
Re: Code::Blocks crashes graphics when compiling
« Reply #5 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.