News:

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

Main Menu

Why the project's build options disabled?

Started by nanyu, January 25, 2010, 08:47:44 AM

Previous topic - Next topic

nanyu

about from svn6023?
When I selected the root node in "project build options" dialog,
everything become gray...



[attachment deleted by admin]

Jenna

I just downgraded to 6023 on winXP SP3, but I can not reproduce this behaviour.

stahta01

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]

MortenMacFly

Quote from: jens on January 25, 2010, 11:50:00 AM
I just downgraded to 6023 on winXP SP3, but I can not reproduce this behaviour.
I cannot reproduce, too. The only thin greyed is the "Policy" (which is correct) -> but not the label and nothing else.

Loaden: Did you apply a patch to a related XRC file, probably?!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

TerryP

Against the 6089, the only time I get options grayed out like that, is when the compiler is uninstalled; e.g. selecting a windows msvc target from a unix box running gcc.
Just Another Computer Geek

nanyu

maybe:
step1 : clone "GCC compiler" setting and named it "GCC Compiler BBB";
step2 : create a project, named "test", and set it's compiler to "GCC Compiler BBB";
step3 : save the project and close the cb
step4 : restart cb, and delete the "GCC Compiler BBB";
step5 : open the "test" project, now......

MortenMacFly

Quote from: nanyu on January 25, 2010, 07:58:06 PM
step1 : clone "GCC compiler" setting and named it "GCC Compiler BBB";
step2 : create a project, named "test", and set it's compiler to "GCC Compiler BBB";
step3 : save the project and close the cb
step4 : restart cb, and delete the "GCC Compiler BBB";
step5 : open the "test" project, now......
A project that uses an unknown compiler for the IDE cannot be setup. Thus all options are greyed. That's 100% correct behaviour.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

nanyu

Quote from: MortenMacFly on January 26, 2010, 06:54:01 AM
Quote from: nanyu on January 25, 2010, 07:58:06 PM
step1 : clone "GCC compiler" setting and named it "GCC Compiler BBB";
step2 : create a project, named "test", and set it's compiler to "GCC Compiler BBB";
step3 : save the project and close the cb
step4 : restart cb, and delete the "GCC Compiler BBB";
step5 : open the "test" project, now......
A project that uses an unknown compiler for the IDE cannot be setup. Thus all options are greyed. That's 100% correct behaviour.

But I do the step 6:
Step6 : Reset the Compiler to GCC. (and save the project after reset)
Result : the options of compiler also disabled.

-----
edit : AND , only the options of "root"  is disabled, the "DEBUG" or "RELEASE" 's options can be edit.