Author Topic: Code::Blocks - Single .cpp file crashes on build  (Read 2710 times)

Offline Alterah

  • Single posting newcomer
  • *
  • Posts: 5
Code::Blocks - Single .cpp file crashes on build
« on: April 10, 2011, 12:59:34 am »
Hello,

I have been using Code::Blocks for awhile and am able to build projects and have them compile just fine. However, if I try and build a single .cpp file, Code::Blocks will just crash. This happens if I build or try to compile it. If I create a new project and add this file to the new project, everything works fine. This is on my desktop with Windows XP. I believe Code::Blocks works fine on my laptop with Windows 7 (though I don't believe the OS is responsible). Thanks for any help.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13084
    • Travis build status
Re: Code::Blocks - Single .cpp file crashes on build
« Reply #1 on: April 10, 2011, 03:34:08 am »
C::B and GCC versions please?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Alterah

  • Single posting newcomer
  • *
  • Posts: 5
Re: Code::Blocks - Single .cpp file crashes on build
« Reply #2 on: April 14, 2011, 06:41:25 am »
It's Code::Blocks 10.05 and whichever version of GCC that came with it. How can I check that?
« Last Edit: April 14, 2011, 06:52:46 am by Alterah »

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5272
Re: Code::Blocks - Single .cpp file crashes on build
« Reply #3 on: April 14, 2011, 07:51:43 am »
in a dos box run : gcc --version