Author Topic: Code::blocks not opening in Linux Mint  (Read 4883 times)

Offline tjh001

  • Single posting newcomer
  • *
  • Posts: 3
Code::blocks not opening in Linux Mint
« on: March 15, 2012, 11:41:06 am »
Hi all,

I'm very new to linux and am using Linux Mint. I installed C::B a  weeksago and everything worked perfectly. Until today when I try to open C::B and the icon appears in the top left corner with a loading symbol and then it disappears and C::B doesn't launch. I've tried rebooting it to no avail.

Any help would be great.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code::blocks not opening in Linux Mint
« Reply #1 on: March 15, 2012, 12:00:01 pm »
Start it from terminal. And search for the error it will print.
If it is not related to missing simbols/shared libraries use gdb to see where exactly is the crash.
(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 tjh001

  • Single posting newcomer
  • *
  • Posts: 3
Re: Code::blocks not opening in Linux Mint
« Reply #2 on: March 15, 2012, 12:10:14 pm »
Exception: An exception has been raised!

The application encountered an error at configmanager.cpp, on line 239.
The error message is:

TinyXML error: Error document empty.
In file: /home/tom/.codeblocks/default.conf
At row 0, column: 0.

Code::Blocks Version revision 0 (gcc 4.6.1, build: May  1 2011 02:42:47)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Code::blocks not opening in Linux Mint
« Reply #3 on: March 15, 2012, 12:25:13 pm »
In file: /home/tom/.codeblocks/default.conf
Remove this empty config file. I am not sure how you got to this, but this will solve your problem. The file will be re-created.
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