Author Topic: Code::Blocks won't save compiler's settings.  (Read 3033 times)

Offline Mikelle02

  • Single posting newcomer
  • *
  • Posts: 2
Code::Blocks won't save compiler's settings.
« on: December 28, 2017, 01:53:08 am »
OS:
Distributor ID:   Ubuntu
Description:   Ubuntu 16.04.3 LTS
Release:   16.04
Codename:   xenial

Code::Blocks version: 13.12

So,
I recently installed Code::Blocks and MinGw32 on my computer. I setted up everything, started a new project, compiled and tested. Everything seemed to work well since I restarted the program. I noticed that all the compiler settings that i changed didn't saved.
I looked for a default file on the /usr/bin/ folder but I didn't find it. Can anybody help me?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code::Blocks won't save compiler's settings.
« Reply #1 on: December 28, 2017, 02:30:06 am »
Yes, the default.conf file in ~/.config/codeblocks folder doesn't have correct permissions (it is read only). Fix the permissions and the settings will be preserved.

If you can tell us how you've managed to mess the permissions in this folder we might be able to prevent this problem in the future.

p.s. why aren't you using 16.01?

« Last Edit: December 28, 2017, 02:32:27 am by oBFusCATed »
(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 Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Code::Blocks won't save compiler's settings.
« Reply #2 on: December 28, 2017, 10:34:31 am »
Just for the record: in 13.12 (really, really old) the default.conf might still be in .codeblocks below your home-folder, not in .config/codeblocks.