Author Topic: The 04 November 2007 build (4596) is out.  (Read 40177 times)

Offline Rye

  • Single posting newcomer
  • *
  • Posts: 9
Re: The 04 November 2007 build (4596) is out.
« Reply #15 on: November 07, 2007, 10:58:27 am »
Yes i've also got that problem, when you change pre-processor or compiler values it should rebuild the target ... but it doesn't

Offline cfdev

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: The 04 November 2007 build (4596) is out.
« Reply #16 on: November 07, 2007, 12:04:50 pm »
Bug or not ?

Under Linux version :

When I change the Font size in settings->editor, the width for line number change Automatically to 48 ?!

++
C::B Package for Slackware 12.0 (All plugins)
Slacker 4 ever

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9489
Re: The 04 November 2007 build (4596) is out.
« Reply #17 on: November 07, 2007, 04:41:39 pm »
Yes i've also got that problem, when you change pre-processor or compiler values it should rebuild the target ... but it doesn't
This is not a bug but on purpose.

If you change such important settings and forget to re-compile than it's your fault. The IDE won't help with any black magic in such cases. (Like keeping track all params in any order and things...)

With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline toutarrive

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: The 04 November 2007 build (4596) is out.
« Reply #18 on: November 07, 2007, 05:13:33 pm »
I got the last nightly build today and surprisingly enough it couldn't run at all.  I've noticed a difference in the size of code block exe (from 1069 ko (SVN 4564) to a little more than 800 ko) .

Do i miss something since SVN 4564?

Thanks

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6507
    • My Best Post
Re: The 04 November 2007 build (4596) is out.
« Reply #19 on: November 07, 2007, 07:42:52 pm »
I got the last nightly build today and surprisingly enough it couldn't run at all.  I've noticed a difference in the size of code block exe (from 1069 ko (SVN 4564) to a little more than 800 ko) .

Do i miss something since SVN 4564?

Thanks

Did you download the wxWidgets 2.8.6 DLL?
If not, do so.

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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6507
    • My Best Post
Re: The 04 November 2007 build (4596) is out.
« Reply #20 on: November 07, 2007, 09:27:18 pm »
Patch needed to compile on Windows with no PCH.

Tim S

Code: [Select]
Index: src/plugins/contrib/devpak_plugin/mytar.h
===================================================================
--- src/plugins/contrib/devpak_plugin/mytar.h (revision 4601)
+++ src/plugins/contrib/devpak_plugin/mytar.h (working copy)
@@ -4,6 +4,8 @@
 #include <wx/string.h>
 #include <wx/dynarray.h>
 
+class wxArrayString;
+
 struct Replacers
 {
     wxString from;
Index: src/plugins/debuggergdb/debuggeroptionsprjdlg.cpp
===================================================================
--- src/plugins/debuggergdb/debuggeroptionsprjdlg.cpp (revision 4601)
+++ src/plugins/debuggergdb/debuggeroptionsprjdlg.cpp (working copy)
@@ -31,6 +31,7 @@
 #include <wx/listbox.h>
 #include <wx/button.h>
 #include <wx/choice.h>
+#include <wx/checkbox.h>
 #include <cbproject.h>
 #include <editpathdlg.h>
 #include <manager.h>
Index: src/src/main.cpp
===================================================================
--- src/src/main.cpp (revision 4601)
+++ src/src/main.cpp (working copy)
@@ -60,6 +60,7 @@
 #include <annoyingdialog.h>
 #include <editorcolourset.h>
 #include <logmanager.h>
+#include <personalitymanager.h>
 
 #include "infopane.h"
 #include "dlgaboutplugin.h"
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Mc.Michael

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: The 04 November 2007 build (4596) is out.
« Reply #21 on: November 07, 2007, 10:43:56 pm »
CB crash

CB rev 4601

mingw 4.2.1-dw2 , winapi 3.10
win2k3sp2, wxwidgets 2.8.6
codeblocks.RPT file:
Code: [Select]
-------------------

Error occured on Wednesday, November 7, 2007 at 23:37:00.

D:\michael\dev\app\cb\codeblocks.exe caused an Access Violation at location 66fe7f79 in module D:\michael\dev\app\cb\wxsmithlib.dll Reading from location 00000028.

Registers:
eax=00000000 ebx=029460b0 ecx=61493ad0 edx=00000000 esi=029460b0 edi=029463ec
eip=66fe7f79 esp=0022f880 ebp=0022f888 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010202

Call stack:
66FE7F79  D:\michael\dev\app\cb\wxsmithlib.dll:66FE7F79  _ZN14wxPropertyGrid5Init1Ev
66FEA7BB  D:\michael\dev\app\cb\wxsmithlib.dll:66FEA7BB  _ZN14wxPropertyGridC1Ev
66FF5B9C  D:\michael\dev\app\cb\wxsmithlib.dll:66FF5B9C  _ZNK21wxPropertyGridManager18CreatePropertyGridEv
66FF3B31  D:\michael\dev\app\cb\wxsmithlib.dll:66FF3B31  _ZN21wxPropertyGridManager5Init1Ev
66FF709D  D:\michael\dev\app\cb\wxsmithlib.dll:66FF709D  _ZN21wxPropertyGridManagerC2EP8wxWindowiRK7wxPointRK6wxSizelPKw
66F45746  D:\michael\dev\app\cb\wxsmithlib.dll:66F45746  _ZN22wxsPropertyGridManagerC1EP8wxWindowiRK7wxPointRK6wxSizelPKw
66F4B306  D:\michael\dev\app\cb\wxsmithlib.dll:66F4B306  _ZN7wxSmith8OnAttachEv
0051EBDE  D:\michael\dev\app\cb\codeblocks.dll:0051EBDE  _ZN8cbPlugin6AttachEv
00578478  D:\michael\dev\app\cb\codeblocks.dll:00578478  _ZN13PluginManager12AttachPluginEP8cbPluginb
005787A6  D:\michael\dev\app\cb\codeblocks.dll:005787A6  _ZN13PluginManager14LoadAllPluginsEv
0041D5F6  D:\michael\dev\app\cb\codeblocks.exe:0041D5F6
00422CD2  D:\michael\dev\app\cb\codeblocks.exe:00422CD2
00402F57  D:\michael\dev\app\cb\codeblocks.exe:00402F57
00404099  D:\michael\dev\app\cb\codeblocks.exe:00404099
0043B64B  D:\michael\dev\app\cb\codeblocks.exe:0043B64B  _ZN12cbToolPlugin9BuildMenuEP9wxMenuBar
614B709A  D:\michael\dev\app\cb\wxmsw28u_gcc_mware.dll:614B709A  _Z12wxInitializeiPPw
61512048  D:\michael\dev\app\cb\wxmsw28u_gcc_mware.dll:61512048  _Z7wxEntryP11HINSTANCE__S0_Pci
00403814  D:\michael\dev\app\cb\codeblocks.exe:00403814
00436578  D:\michael\dev\app\cb\codeblocks.exe:00436578
0040124B  D:\michael\dev\app\cb\codeblocks.exe:0040124B
004012B8  D:\michael\dev\app\cb\codeblocks.exe:004012B8
77E6F23B  C:\WINDOWS\system32\kernel32.dll:77E6F23B  ProcessIdToSessionId

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6507
    • My Best Post
Re: The 04 November 2007 build (4596) is out.
« Reply #22 on: November 08, 2007, 05:13:31 am »
Try this patch. wxPropertyGrid must be compiled with wxPG_USE_WXMODULE defined to 0.
If not, wxPropertyGrid crashed this was true several months ago; it might have changed.

Edit: It fixes the crash for me.

Tim S


Index: src/plugins/contrib/wxSmith/wxSmith.cbp
===================================================================
--- src/plugins/contrib/wxSmith/wxSmith.cbp   (revision 4602)
+++ src/plugins/contrib/wxSmith/wxSmith.cbp   (working copy)
@@ -15,6 +15,9 @@
             <Option type="2" />
             <Option compiler="gcc" />
             <Option createDefFile="1" />
+            <Compiler>
+               <Add option="-DwxPG_USE_WXMODULE=0" />
+            </Compiler>
          </Target>
          <Target title="wxSmithLib">
             <Option platforms="Windows;" />
« Last Edit: November 08, 2007, 05:55:15 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Mc.Michael

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: The 04 November 2007 build (4596) is out.
« Reply #23 on: November 08, 2007, 09:22:38 am »
Try this patch. wxPropertyGrid must be compiled with wxPG_USE_WXMODULE defined to 0.
If not, wxPropertyGrid crashed this was true several months ago; it might have changed.

Edit: It fixes the crash for me.

thank you. all o.k.

Offline cfdev

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: The 04 November 2007 build (4596) is out.
« Reply #24 on: November 09, 2007, 09:08:50 am »
Slackware Package svn4596 with wxWidgets 2.8.5
is avaible HERE

++
C::B Package for Slackware 12.0 (All plugins)
Slacker 4 ever

Offline zortich

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: The 04 November 2007 build (4596) is out.
« Reply #25 on: November 09, 2007, 03:26:13 pm »
I wander where is nightly bilds for 8 november?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6507
    • My Best Post
Re: The 04 November 2007 build (4596) is out.
« Reply #26 on: November 09, 2007, 09:46:31 pm »
I wander where is nightly bilds for 8 november?


They have not yet patched wxSmith, using my patch, so it crashes under windows.

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

Offline Morphius Faydal

  • Multiple posting newcomer
  • *
  • Posts: 75
Re: The 04 November 2007 build (4596) is out.
« Reply #27 on: November 09, 2007, 11:14:40 pm »
I wander where is nightly bilds for 8 november?


They have not yet patched wxSmith, using my patch, so it crashes under windows.

Tim S

So the Linux builds work, and that's the *one* problem stopping Windows builds?

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: The 04 November 2007 build (4596) is out.
« Reply #28 on: November 09, 2007, 11:23:25 pm »
I wander where is nightly bilds for 8 november?


They have not yet patched wxSmith, using my patch, so it crashes under windows.

Tim S

So the Linux builds work, and that's the *one* problem stopping Windows builds?

I've applied the patch so it shouldn't crash now

BYO

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6507
    • My Best Post
Re: The 04 November 2007 build (4596) is out.
« Reply #29 on: November 10, 2007, 02:23:51 am »
BYO:

Thanks for applying the patch; it took me two days of work to find the cause of this issue about 6 or more months ago(When I did the patch to upgrade to 1.2.x wxPropertyGrid). I was the one who submitted the patch to wxPropertyGrid to add the wxPG_USE_WXMODULE define to turn off the new option that does not work for Code::Blocks. WXMODULE is a wxWidgets way of doing plugins/modules and it does not seem to like the Code::Blocks way. At the time, I did not know enough to figure out why it did not work. I have not looked at the code to see if it makes sense to me now.

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