Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Compiling C::B wit wx2.9

<< < (2/4) > >>

stahta01:
Possible patch for the missing header issue above.
NOT Tested.

FYI: wx/aui/aui.h is NOT in sdk_common.h therefore it should NOT be guarded by CB_PRECOMP.
wx/aui/aui.h includes "wx/aui/dockart.h" and several other headers; it does nothing but include other headers.

Tim S.


--- Code: ---Index: src/src/environmentsettingsdlg.cpp
===================================================================
--- src/src/environmentsettingsdlg.cpp (revision 8888)
+++ src/src/environmentsettingsdlg.cpp (working copy)
@@ -10,7 +10,6 @@
 #include <sdk.h>
 
 #ifndef CB_PRECOMP
-    #include <wx/aui/aui.h>
     #include <wx/button.h>
     #include <wx/menu.h>
     #include <wx/radiobut.h>
@@ -39,6 +38,7 @@
     #include "cbauibook.h"
 #endif
 
+#include <wx/aui/aui.h>
 #include <wx/listbook.h>
 
 #include "configurationpanel.h"

--- End code ---

BlueHazzard:
thanks you for the patches
i was also at the wxPDF errors, but i tried to use the compiled c::b and i got an floating-point exception at startup, so i try to fix this first.
The crash occurred on wxWidgets startup, i think in the aui part.....

i try to fix this error with the help of the wxWidgets forum.


--- Quote from: ouch on February 28, 2013, 11:03:39 pm ---actually cctest compiled fine for me.

--- End quote ---

this can be if you compiled c::b before with wx2.8. because the searchpath (if not fixed in the actual svn) for the libcodeblocks0 is definitively wrong.

thanks!

Jenna:
Just for the record:
Which version of wx2.9 do you use ?
2.9.4 (the actual developer-release) or 2.9 from trunk, which is under heavy development ?

stahta01:
Untested Patch


--- Code: ---Index: src/plugins/codecompletion/cctest_wx29-unix.cbp
===================================================================
--- src/plugins/codecompletion/cctest_wx29-unix.cbp (revision 8890)
+++ src/plugins/codecompletion/cctest_wx29-unix.cbp (working copy)
@@ -43,7 +43,7 @@
  <Linker>
  <Add library="codeblocks" />
  <Add option="`$(WX_CONFIG) --libs std,propgrid`" />
- <Add directory="../../devel" />
+ <Add directory="../../devel29" />
  </Linker>
  <Unit filename="cctest/cctest_app.cpp" />
  <Unit filename="cctest/cctest.cpp" />

--- End code ---

BlueHazzard:

--- Quote from: jens on March 01, 2013, 08:36:10 pm ---Just for the record:
Which version of wx2.9 do you use ?
2.9.4 (the actual developer-release) or 2.9 from trunk, which is under heavy development ?

--- End quote ---

wx2.9_svn because someone in the wxforum told me to not use 2.9.4 but the actual svn version....


--- Quote from: stahta01 on March 01, 2013, 08:46:18 pm ---Untested Patch

--- End quote ---

this should work ;)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version