Author Topic: someone broke 7227  (Read 6596 times)

Offline ouch

  • Almost regular
  • **
  • Posts: 223
someone broke 7227
« on: June 13, 2011, 06:22:47 pm »
I'm getting this error when compiling now:

.objs\src\main.o:C:\codeblocks\src\src\main.cpp|1072|undefined reference to `_imp__cbEVT_PLUGIN_LOADING_COMPLETE'|

I did a rebuild and it's still there.

win 7 64bit
tdm mingw

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5521
Re: someone broke 7227
« Reply #1 on: June 13, 2011, 06:50:21 pm »
welcome to the domain of .pch problems.

If you can try a fresh checkout,and then build again.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: someone broke 7227
« Reply #2 on: June 13, 2011, 07:29:49 pm »
welcome to the domain of .pch problems.

If you can try a fresh checkout,and then build again.
Before doing a fresh checkout, I suggest to remove include/*.gch manually.
If that does not help also remove devel and  output and probably .objs folder.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5521
Re: someone broke 7227
« Reply #3 on: June 13, 2011, 07:37:42 pm »
Quote
If that does not help also remove devel and  output

Yes, that might be the solution, manually deleting *.gch and .objs dir is not sufficient

Offline ouch

  • Almost regular
  • **
  • Posts: 223
Re: someone broke 7227
« Reply #4 on: June 13, 2011, 08:25:58 pm »
Well tell you what, since I have an sample of the problem to work off of, I'll experiment with what actually breaks it and see if I can't create a batch/shell script to fix the issue so we don't have to keep starting from scratch.

I'm pretty busy today at work though. I wouldn't expect anything till a bit later in the week.

Offline gd_on

  • Lives here!
  • ****
  • Posts: 800
Re: someone broke 7227
« Reply #5 on: June 14, 2011, 09:56:20 am »
Deleting .objs and devel works here.

Recently, a few strings have been changed by introducing many \r escape sequences. But, poedit, when used to translate those strings, claims that these escape sequences should not be used in internationalized messages ! I think that those sequences have been introduced/modified by a Windows user, but are not necessary. Could someone delete them from sources ?

gd_on
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.5 (tests with 3.3), Msys2 Compilers 14.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: someone broke 7227
« Reply #6 on: June 14, 2011, 09:59:21 am »
Can you provide the exact revision where the change was made?
A patch would be even better :)
(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!]

Offline ouch

  • Almost regular
  • **
  • Posts: 223
Re: someone broke 7227
« Reply #7 on: June 14, 2011, 05:04:08 pm »
just deleting devel works here.

so lets see here...

We have the devel, obj directories and the 3 gch files in include. Is there anything else that might need to be nuked when something goes bad?

Offline gd_on

  • Lives here!
  • ****
  • Posts: 800
Re: someone broke 7227
« Reply #8 on: June 15, 2011, 09:06:35 am »
Can you provide the exact revision where the change was made?
A patch would be even better :)

I think the last \r escape sequences where introduced with rev 7209 in advanced_compiler_options.xrc.
More, each troubling \r I can find in the C::B code seems to be found in .xrc files. But those files, if I'm right, are automatically generated by a wxwidget code generator, so providing a patch, may be not very useful (and within those file, the \r is in fact coded by #x0D). It's the original code or configuration which needs to be modified, not only the resulting .xrc file.

gd_on
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.5 (tests with 3.3), Msys2 Compilers 14.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).