Author Topic: Why the project's build options disabled?  (Read 16378 times)

Offline nanyu

  • Almost regular
  • **
  • Posts: 188
  • nanyu
Why the project's build options disabled?
« 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]
« Last Edit: January 25, 2010, 09:13:22 am by nanyu »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Why the project's build options disabled?
« Reply #1 on: January 25, 2010, 11:50:00 am »
I just downgraded to 6023 on winXP SP3, but I can not reproduce this behaviour.

Online stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Why the project's build options disabled?
« Reply #2 on: January 25, 2010, 12:28:39 pm »
IIRC, The Policy should be Grayed.

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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Why the project's build options disabled?
« Reply #3 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?!
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

Offline TerryP

  • Multiple posting newcomer
  • *
  • Posts: 26
    • My journal
Re: Why the project's build options disabled?
« Reply #4 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.
Just Another Computer Geek

Offline nanyu

  • Almost regular
  • **
  • Posts: 188
  • nanyu
Re: Why the project's build options disabled?
« Reply #5 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......

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Why the project's build options disabled?
« Reply #6 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.
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

Offline nanyu

  • Almost regular
  • **
  • Posts: 188
  • nanyu
Re: Why the project's build options disabled?
« Reply #7 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.