News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Compiler Flags GONE!

Started by joergh, November 12, 2016, 03:30:24 PM

Previous topic - Next topic

joergh

I just updated my Win 8.1 and now I suddenly don't have any Compiler flags! Image attached.

Any ideas how to resolve this?

Cheers,
Joerg

stahta01

I had this once; and I deleted a file to fix it.
Not sure what file it was; it might have been the default config file.
You might try using the GUI reset command to see it that will fix it.

Settings -> Compilers
Click on Button: Reset Defaults

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

joergh

Sorry, didn't work. Still no compiler flags:

stahta01

#3
Edit2: MY next post is likely a safer one to do before the steps in this post.

Then, exit out of Code::Blocks

Open the folder %APPDATA%
Open the sub folder Roaming\CodeBlocks or CodeBlocks.

Rename the file default.conf to something like default.conf.old

Last restart Code::Blocks

Edit: I use WIN+R to open the %APPDATA% folder.

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

stahta01

You can also try deleting the xml files in %APPDATA%\Roaming\CodeBlocks\share\codeblocks\compilers

Tim S.

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

joergh

Great! I renamed default.conf, restarted CB and added my compiler and all compiler flags are now there!

Thanks!

Cheers,
Joerg

oBFusCATed

If it happens again please try to remember the steps that caused it and report back.
(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!]