Code::Blocks Forums

User forums => Help => Topic started by: nanyu on January 25, 2010, 08:47:44 am

Title: Why the project's build options disabled?
Post by: nanyu on January 25, 2010, 08:47:44 am
about from svn6023?
When I selected the root node in "project build options" dialog,
everything become gray...



[attachment deleted by admin]
Title: Re: Why the project's build options disabled?
Post by: Jenna on January 25, 2010, 11:50:00 am
I just downgraded to 6023 on winXP SP3, but I can not reproduce this behaviour.
Title: Re: Why the project's build options disabled?
Post by: stahta01 on January 25, 2010, 12:28:39 pm
IIRC, The Policy should be Grayed.

Tim S.
Title: Re: Why the project's build options disabled?
Post by: MortenMacFly on January 25, 2010, 02:57:26 pm
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?!
Title: Re: Why the project's build options disabled?
Post by: TerryP on January 25, 2010, 05:44:52 pm
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.
Title: Re: Why the project's build options disabled?
Post by: nanyu on January 25, 2010, 07:58:06 pm
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......
Title: Re: Why the project's build options disabled?
Post by: MortenMacFly on January 26, 2010, 06:54:01 am
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.
Title: Re: Why the project's build options disabled?
Post by: nanyu on January 30, 2010, 07:56:41 am
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.