Author Topic: C::B keeps 'quitting unexpectedly' on my mac  (Read 14323 times)

Offline RedBand

  • Single posting newcomer
  • *
  • Posts: 2
C::B keeps 'quitting unexpectedly' on my mac
« on: January 14, 2013, 08:33:56 pm »
Hello,

My name is RedBand. Today I've downloaded C::B for my mac, as would like to learn some computer programming as a hobby.
(OS X Lion, most recent software update was 45 min. ago)

Earlier I was told to download Xcode, which I did. Subsequently I downloaded 'Command line tools for XCode' from the Apple Developer webpage, and installed this.

Now, whenever I have a go and try to start a new project, the programme seems to jam and displays an error telling me that C::B quit unexpectedly.

I'll try to give you an accurate enough description of my actions:

I click 'Create a New Project'.
I select 'Console application'.
I select 'C++'.
I name the project 'HelloWorld!'.
I save the project in a folder in my user files on the hard drive.
I choose the compiler 'GNU GCC Compiler'.
I click 'Finish'.
I expand 'Sources' and double-click 'main.cpp'

I see some coloured lines of text which freezes for about a second, and then I am presented with the error, after which C::B shuts down.

Is there anyone who will help me? I'm suspecting it has to do with the compiler, but I'm not sure what to do next. It doesn't seem to matter which compiler I select, the programme quits as soon as I double click 'main.cpp'
I've already re-installed C::B, and rebooted my computer. It does not solve my problem though.

Thank you for your time. ;)


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: C::B keeps 'quitting unexpectedly' on my mac
« Reply #1 on: January 14, 2013, 09:23:13 pm »
Disable code completion plugin...
(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 MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: C::B keeps 'quitting unexpectedly' on my mac
« Reply #2 on: January 14, 2013, 09:34:36 pm »
Disable code completion plugin...
Or use 12.11-SP1 for the Mac (as described in the d/l section).
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

Offline RedBand

  • Single posting newcomer
  • *
  • Posts: 2
Re: C::B keeps 'quitting unexpectedly' on my mac
« Reply #3 on: January 14, 2013, 10:15:47 pm »
Disable code completion plugin...

Thank you