Author Topic: Resource compiler option is invalid, C::B SVN 10130  (Read 10199 times)

Offline Chun Jiu

  • Multiple posting newcomer
  • *
  • Posts: 71
  • My Girlfriend
    • EasilyGCC
Resource compiler option is invalid, C::B SVN 10130
« on: March 08, 2015, 06:19:04 am »
Hi All,

    I found the resource compiler options will not always appear in the actual work.

    "Project build option -> Compiler settings -> Other resource compiler option"  is invalid.

    Temporary alternative method :

    “Settings -> Compiler... -> Toolchain executables -> Program Files -> Resource compiler: windres.exe”

    Added option to the back, for example : windres.exe --target=pe-i386

    It works!
I love my girlfriend like c++!    :-)

http://pan.baidu.com/s/1feNwU
easilygcc is a gmail's email.

Offline Chun Jiu

  • Multiple posting newcomer
  • *
  • Posts: 71
  • My Girlfriend
    • EasilyGCC
Re: Resource compiler option is invalid, C::B SVN 10130
« Reply #1 on: March 08, 2015, 06:23:58 am »
PS:

The C::B  svn 10130 compiled using TDM-GCC64 with the wx2.8.12 lib.

Therefore, it is 64bit of x64.

Environment is Win7 64bit.
I love my girlfriend like c++!    :-)

http://pan.baidu.com/s/1feNwU
easilygcc is a gmail's email.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Resource compiler option is invalid, C::B SVN 10130
« Reply #2 on: March 08, 2015, 07:23:30 pm »
You have to reset the compiler options for this to work. The patch includes the changed compiler flags, but if you have customised the compiler before they were not being updated.
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 Chun Jiu

  • Multiple posting newcomer
  • *
  • Posts: 71
  • My Girlfriend
    • EasilyGCC
Re: Resource compiler option is invalid, C::B SVN 10130
« Reply #3 on: March 09, 2015, 05:36:42 am »
thks, I tried again after the reset, still the same.

Options for this setting does not appear in the command line.

But never mind, the alternative is feasible.

PS:

Additionally, compiler & linker options OK. Except resource compiler options.
« Last Edit: March 09, 2015, 05:57:45 am by chunjiu »
I love my girlfriend like c++!    :-)

http://pan.baidu.com/s/1feNwU
easilygcc is a gmail's email.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Resource compiler option is invalid, C::B SVN 10130
« Reply #4 on: March 09, 2015, 08:05:31 am »
thks, I tried again after the reset, still the same.
Oh dear, I've forgotten to commit one part of the implementation. You are right, it does not work in trunk - in my local copy it did all the time. I'll commit the missing portion today... the next nightly should work as expected.
Thanks for spotting this!
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 Chun Jiu

  • Multiple posting newcomer
  • *
  • Posts: 71
  • My Girlfriend
    • EasilyGCC
Re: Resource compiler option is invalid, C::B SVN 10130
« Reply #5 on: March 09, 2015, 06:09:10 pm »
Thank you for the work done.
Now it worked, Perfect!  :)

C::B svn10136 x64 under windows 7 64bit with tdm-gcc64.
I love my girlfriend like c++!    :-)

http://pan.baidu.com/s/1feNwU
easilygcc is a gmail's email.