Author Topic: unable to build rev 1706  (Read 15419 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
unable to build rev 1706
« on: January 10, 2006, 11:44:15 pm »
error on line : 950 of wxAUI\manager.cpp
BEGIN_EVENT_TABLE(wxFrameManager, wxEvtHandler)

anyone else ?
solution ?
« Last Edit: January 10, 2006, 11:53:49 pm by killerbot »

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Re: unable to build rev 706
« Reply #1 on: January 10, 2006, 11:48:06 pm »
He forgot to remove the WXDLLEXPORT statements from manager.h

Edit: can you take out the trailing spaces too? And the small fix I listed here so the colors can be changed:

http://forums.codeblocks.org/index.php?topic=1938.msg15003#msg15003
« Last Edit: January 10, 2006, 11:49:53 pm by 280Z28 »
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool:

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: unable to build rev 706
« Reply #2 on: January 10, 2006, 11:50:05 pm »
Sam,
do you need to remove all occurences of them in that manager.h ?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: unable to build rev 706
« Reply #3 on: January 10, 2006, 11:51:06 pm »
Just noticed and fixed that.
Be patient!
This bug will be fixed soon...

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Re: unable to build rev 706
« Reply #4 on: January 10, 2006, 11:51:14 pm »
Yes. I listed a better solution here, but just removing them works for our purposes.

http://www.kirix.com/en/community/forums/viewtopic.php?t=34
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool:

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: unable to build rev 706
« Reply #5 on: January 10, 2006, 11:51:21 pm »
The revision is wrong, 1706 is entirely innocent. I didn't touch AUI :P
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: unable to build rev 1706
« Reply #6 on: January 10, 2006, 11:54:16 pm »
ok, nightly is building .....

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Re: unable to build rev 1706
« Reply #7 on: January 10, 2006, 11:56:05 pm »
ok, nightly is building .....

waitt... you can't change the colors yet until my little fix is applied.

Code
Index: environmentsettingsdlg.cpp
===================================================================
--- environmentsettingsdlg.cpp (revision 1707)
+++ environmentsettingsdlg.cpp (working copy)
@@ -24,8 +24,12 @@
     EVT_BUTTON(XRCID("btnFNTo"), EnvironmentSettingsDlg::OnChooseColor)
     EVT_BUTTON(XRCID("btnAuiBgColor"), EnvironmentSettingsDlg::OnChooseColor)
     EVT_BUTTON(XRCID("btnAuiSashColor"), EnvironmentSettingsDlg::OnChooseColor)
-    EVT_BUTTON(XRCID("btnAuiCaptionColor"), EnvironmentSettingsDlg::OnChooseColor)
-    EVT_BUTTON(XRCID("btnAuiCaptionTextColor"), EnvironmentSettingsDlg::OnChooseColor)
+    EVT_BUTTON(XRCID("btnAuiActiveCaptionColor"), EnvironmentSettingsDlg::OnChooseColor)
+    EVT_BUTTON(XRCID("btnAuiActiveCaptionGradientColor"), EnvironmentSettingsDlg::OnChooseColor)
+    EVT_BUTTON(XRCID("btnAuiActiveCaptionTextColor"), EnvironmentSettingsDlg::OnChooseColor)
+    EVT_BUTTON(XRCID("btnAuiInactiveCaptionColor"), EnvironmentSettingsDlg::OnChooseColor)
+    EVT_BUTTON(XRCID("btnAuiInaCaptionGradientColor"), EnvironmentSettingsDlg::OnChooseColor)
+    EVT_BUTTON(XRCID("btnAuiInaCaptionTextColor"), EnvironmentSettingsDlg::OnChooseColor)
     EVT_BUTTON(XRCID("btnAuiBorderColor"), EnvironmentSettingsDlg::OnChooseColor)
     EVT_BUTTON(XRCID("btnAuiGripperColor"), EnvironmentSettingsDlg::OnChooseColor)
 END_EVENT_TABLE()
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool:

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: unable to build rev 1706
« Reply #8 on: January 11, 2006, 12:11:54 am »
build 1701 builds ok, but error message box at startup (rebuilded everything and update) :  about Manager::GetEditorManager no found in codeblocks.dll

[edit] : copystrings.dll
« Last Edit: January 11, 2006, 12:15:12 am by killerbot »

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: unable to build rev 1706
« Reply #9 on: January 11, 2006, 12:15:28 am »
Try revision 1707 instead, but make sure you do a clean rebuild, since everything related to managers has been rewritten in 1706.
I just did a clean build from a fresh r1707 checkout, it has no problems, so it must be an old dll lingering about or something.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Re: unable to build rev 1706
« Reply #10 on: January 11, 2006, 12:16:29 am »
build 1701 builds ok, but error message box at startup (rebuilded everything and update) :  about Manager::GetEditorManager no found in codeblocks.dll

Did you rebuild your plugins? They don't have libcodeblocks.a marked as a dependency so they won't automatically rebuild. :(

I'm not getting an error with 1707.
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool:

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: unable to build rev 1706
« Reply #11 on: January 11, 2006, 12:17:03 am »
rebuilded copystrings once more : now ok
weird

[edit] : I always rebuild everything

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: unable to build rev 1706
« Reply #12 on: January 11, 2006, 12:55:00 am »
Any reason why this newest versions can cause problems with vector<>?

I've tried to build 1707 but it failed in AStyle calling vector<>::pop_back() and 1708 failed in wxFlatNotebook calling vector<>::erase().

MinGW's GCC 3.4.4

[edit]
So far it seems my MinGW is broken or something is messing around. I just tried compiling a copy of AStyle (the program, not the plugin) and it failed too. I was able to compile it without problems before.

Don't worry then, the problem will be local.
[/edit]
« Last Edit: January 11, 2006, 01:05:54 am by Ceniza »

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: unable to build rev 1706
« Reply #13 on: January 11, 2006, 01:01:56 am »
Is your wxWidgets built in debug mode? Then you have the new keyword redefined with a macro. 1707 compiles fine for me.

Try if #undef new fixes the issue.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: unable to build rev 1706
« Reply #14 on: January 11, 2006, 01:12:21 am »
Right, false alarm. I just overwrote my working copy of MinGW with one I saved before trying GCC 4.1.0 and it's working again.

I'll blame the file system for this one. It surely got something corrupted due to today's brownout.

sethjackson

  • Guest
Re: unable to build rev 706
« Reply #15 on: January 11, 2006, 01:38:31 am »
The revision is wrong, 1706 is entirely innocent. I didn't touch AUI :P

This is so totally off-topic, but I mean I do SVN update, rev 1706 doesn't build, get rev 1707, builds fine. One hour later SVN update rev 1710 WOW I mean is there some supercomputer behind the scenes randomly generating code and running SVN commit? :lol: All I can say is GOOD JOB to the C::B devs.  8)