Author Topic: Building with wxWidgets 2.9  (Read 36572 times)

Offline Cryogen

  • Regular
  • ***
  • Posts: 260
Re: Building with wxWidgets 2.9
« Reply #15 on: October 18, 2010, 03:39:22 am »
2.9 has been out for ages in one form or another and more and more folks will want to use it. Once we sort this out I'll send you the result. What exactly worked well for you?
I don't see any problem for wx2.9 users? Why would they care what C::B is using?
C::B can't be ported to 2.9-only, because none of the distros provide packages for 2.9 (except gentoo:) ).


...because they're going to want to use 2.9 for the new features and not want to have to build 2 versions. Your point is probably quite valid if they're using a pre-built version of CB, though. ;-)


Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Building with wxWidgets 2.9
« Reply #16 on: October 18, 2010, 03:47:02 am »
but you have to use "our" scintilla, because there are some C::B specific patches we use.
Maybe we can move the specific patches from wxScintilla to cbEditor or cbStyledTextCtrl?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Building with wxWidgets 2.9
« Reply #17 on: October 18, 2010, 05:01:10 am »
Too All:

There is three setup.h files directly involved.
<WXWIN>\include\wx\msw\setup0.h
<WXWIN>\include\wx\msw\setup.h
<WXWIN>\lib\gcc_dll\mswu\wx\setup.h

You should verify the last two have wxUSE_STC set correctly in both or at least correctly in the last one.
The last one use used by Code::Blocks and would cause an compile or link error if it is wrong. The next to the last might cause an link or run error.
I almost never edit setup0.h; unless I have an wxWidgets patch I need to test. Or the wxWidgets team appears to have made an error.

Note: I am always using wxWidgets trunk for my test builds unless I stated otherwise in the post.

Tim S.
« Last Edit: October 18, 2010, 05:15:04 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Building with wxWidgets 2.9
« Reply #18 on: October 18, 2010, 05:34:41 am »
There is a possible way: using MONOLITHIC = 0
I am trying, and feedback the result.

Quote
make -f makefile.gcc LDFLAGS=-s SHARED=1 BUILD=release UNICODE=1 MONOLITHIC=0 OFFICIAL_BUILD=1 RUNTIME_LIBS=static >nul

In wx2.9.2svn, the MONOLITHIC default to 0
Code
# Multiple libraries or single huge monolithic one? [0,1]
MONOLITHIC ?= 0

Offline Cryogen

  • Regular
  • ***
  • Posts: 260
Re: Building with wxWidgets 2.9
« Reply #19 on: October 18, 2010, 05:36:21 am »

My understanding is that wxUSE_STC on the command line overrides what's in setup.h.

You understanding IS NOT correct.

You NEED to fix your build of wxWidgets, so it does NOT build wxscintilla/STC!!!!

You may be right but, as explained, it's turned off everywhere. wxscintilla is always built. Looking at the makefile, which I don't claim to understand, it appears to be linked into the monolithic build all over the place, so maybe it's intended to be that way. What I don't understand is why it won't work for me if it works for you guys. I'm using the standard configuration and your project file. I'm now thinking that CB might be finding the libwxscintilla built with wx and not finding the mods as a result. Does scintilla build for you guys with wxUSE_STC turned off? If not, how the hell do I prevent it? All switches are off. The build is cleaned before buidling. I've gone through and manually deleted all files, including the copied setup.h. I even tried deleting the entire build and lib directories and checking them out again but nothing will prevent scintilla from building.


Offline Cryogen

  • Regular
  • ***
  • Posts: 260
Re: Building with wxWidgets 2.9
« Reply #20 on: October 18, 2010, 05:38:48 am »
Too All:

There is three setup.h files directly involved.
<WXWIN>\include\wx\msw\setup0.h
<WXWIN>\include\wx\msw\setup.h
<WXWIN>\lib\gcc_dll\mswu\wx\setup.h

You should verify the last two have wxUSE_STC set correctly in both or at least correctly in the last one.

Yes and yes. Verified for the umpteenth time today, just to be sure.

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Building with wxWidgets 2.9
« Reply #21 on: October 18, 2010, 05:40:45 am »
but you have to use "our" scintilla, because there are some C::B specific patches we use.
Maybe we can move the specific patches from wxScintilla to cbEditor or cbStyledTextCtrl?
I am trying, but I found it is impossible.
Code
/*
 * This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
 * http://www.gnu.org/licenses/lgpl-3.0.html
 */

#ifndef CBSCINTILLA_H
#define CBSCINTILLA_H

#if wxCHECK_VERSION(2, 9, 2)

#include <wx/stc/stc.h>

#define cbSCI_KEYWORDSET_MAX                wxSTC_KEYWORDSET_MAX
#define cbSCI_EOL_LF                        wxSTC_EOL_LF
#define cbSCI_EOL_CR                        wxSTC_EOL_CR

#define cbSCI_C_COMMENT                     wxSTC_C_COMMENT
#define cbSCI_C_COMMENTDOC                  wxSTC_C_COMMENTDOC
#define cbSCI_C_COMMENTDOCKEYWORD           wxSTC_C_COMMENTDOCKEYWORD
#define cbSCI_C_COMMENTDOCKEYWORDERROR      wxSTC_C_COMMENTDOCKEYWORDERROR
#define cbSCI_C_COMMENTLINE                 wxSTC_C_COMMENTLINE
#define cbSCI_C_COMMENTLINEDOC              wxSTC_C_COMMENTLINEDOC

#define cbSCI_D_COMMENT                     wxSTC_D_COMMENT
#define cbSCI_D_COMMENTDOC                  wxSTC_D_COMMENTDOC
#define cbSCI_D_COMMENTDOCKEYWORD           wxSTC_D_COMMENTDOCKEYWORD
#define cbSCI_D_COMMENTDOCKEYWORDERROR      wxSTC_D_COMMENTDOCKEYWORDERROR
#define cbSCI_D_COMMENTLINE                 wxSTC_D_COMMENTLINE
#define cbSCI_D_COMMENTLINEDOC              wxSTC_D_COMMENTLINEDOC

#define cbSCI_LEX_CPP                       wxSTC_LEX_CPP
#define cbSCI_LEX_D                         wxSTC_LEX_D

#define cbSCI_C_PREPROCESSOR                wxSTC_C_PREPROCESSOR
#define cbSCI_C_STRING                      wxSTC_C_STRING
#define cbSCI_C_CHARACTER                   wxSTC_C_CHARACTER
#define cbSCI_C_CHARACTER                   wxSTC_C_CHARACTER

#define cbSCI_D_PREPROCESSOR                wxSTC_D_PREPROCESSOR
#define cbSCI_D_STRING                      wxSTC_D_STRING
#define cbSCI_D_CHARACTER                   wxSTC_D_CHARACTER
#define cbSCI_D_CHARACTER                   wxSTC_D_CHARACTER

#define cbSCI_STYLE_LINENUMBER              wxSTC_STYLE_LINENUMBER

#define cbSCI_INDIC_HIGHLIGHT               wxSTC_INDIC_HIGHLIGHT

#define cbSCI_FIND_MATCHCASE                wxSTC_FIND_MATCHCASE
#define cbSCI_FIND_WHOLEWORD                wxSTC_FIND_WHOLEWORD

#define cbSCI_KEY_HOME                      wxSTC_KEY_HOME
#define cbSCI_KEY_END                       wxSTC_KEY_END

#define cbSCI_SCMOD_NORM                    wxSTC_SCMOD_NORM
#define cbSCI_SCMOD_SHIFT                   wxSTC_SCMOD_SHIFT
#define cbSCI_SCMOD_ALT                     wxSTC_SCMOD_ALT

#define cbSCI_CMD_HOME                      wxSTC_CMD_HOME
#define cbSCI_CMD_HOMEEXTEND                wxSTC_CMD_HOMEEXTEND
#define cbSCI_CMD_HOMERECTEXTEND            wxSTC_CMD_HOMERECTEXTEND
#define cbSCI_CMD_VCHOME                    wxSTC_CMD_VCHOME
#define cbSCI_CMD_VCHOMEEXTEND              wxSTC_CMD_VCHOMEEXTEND
#define cbSCI_CMD_VCHOMERECTEXTEND          wxSTC_CMD_VCHOMERECTEXTEND

#define cbSCI_CMD_LINEENDWRAP               wxSTC_CMD_LINEENDWRAP

#define cbSCI_IV_LOOKBOTH                   wxSTC_IV_LOOKBOTH
#define cbSCI_IV_NONE                       wxSTC_IV_NONE

class cbScintilla : public wxStyledTextCtrl
{
public:
    cbScintilla(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition,
                const wxSize& size = wxDefaultSize, long style = 0)
        : wxStyledTextCtrl(parent, id, pos, size, style)
    {
    }
};

#else // !wxCHECK_VERSION(2, 9, 2)

#define cbSCI_INVALID_POSITION              wxSCI_INVALID_POSITION

#define cbSCI_KEYWORDSET_MAX                wxSCI_KEYWORDSET_MAX
#define cbSCI_EOL_LF                        wxSCI_EOL_LF
#define cbSCI_EOL_CR                        wxSCI_EOL_CR

#define cbSCI_C_COMMENT                     wxSCI_C_COMMENT
#define cbSCI_C_COMMENTDOC                  wxSCI_C_COMMENTDOC
#define cbSCI_C_COMMENTDOCKEYWORD           wxSCI_C_COMMENTDOCKEYWORD
#define cbSCI_C_COMMENTDOCKEYWORDERROR      wxSCI_C_COMMENTDOCKEYWORDERROR
#define cbSCI_C_COMMENTLINE                 wxSCI_C_COMMENTLINE
#define cbSCI_C_COMMENTLINEDOC              wxSCI_C_COMMENTLINEDOC

#define cbSCI_D_COMMENT                     wxSCI_D_COMMENT
#define cbSCI_D_COMMENTDOC                  wxSCI_D_COMMENTDOC
#define cbSCI_D_COMMENTDOCKEYWORD           wxSCI_D_COMMENTDOCKEYWORD
#define cbSCI_D_COMMENTDOCKEYWORDERROR      wxSCI_D_COMMENTDOCKEYWORDERROR
#define cbSCI_D_COMMENTLINE                 wxSCI_D_COMMENTLINE
#define cbSCI_D_COMMENTLINEDOC              wxSCI_D_COMMENTLINEDOC

#define cbSCI_LEX_CPP                       wxSCI_LEX_CPP
#define cbSCI_LEX_D                         wxSCI_LEX_D

#define cbSCI_C_PREPROCESSOR                wxSCI_C_PREPROCESSOR
#define cbSCI_C_STRING                      wxSCI_C_STRING
#define cbSCI_C_CHARACTER                   wxSCI_C_CHARACTER
#define cbSCI_C_CHARACTER                   wxSCI_C_CHARACTER

#define cbSCI_D_PREPROCESSOR                wxSCI_D_PREPROCESSOR
#define cbSCI_D_STRING                      wxSCI_D_STRING
#define cbSCI_D_CHARACTER                   wxSCI_D_CHARACTER
#define cbSCI_D_CHARACTER                   wxSCI_D_CHARACTER

#define cbSCI_STYLE_LINENUMBER              wxSCI_STYLE_LINENUMBER

#define cbSCI_INDIC_HIGHLIGHT               wxSCI_INDIC_HIGHLIGHT

#define cbSCI_FIND_MATCHCASE                wxSCI_FIND_MATCHCASE
#define cbSCI_FIND_WHOLEWORD                wxSCI_FIND_WHOLEWORD

#define cbSCI_KEY_HOME                      wxSCI_KEY_HOME
#define cbSCI_KEY_END                       wxSCI_KEY_END

#define cbSCI_SCMOD_NORM                    wxSCI_SCMOD_NORM
#define cbSCI_SCMOD_SHIFT                   wxSCI_SCMOD_SHIFT
#define cbSCI_SCMOD_ALT                     wxSCI_SCMOD_ALT

#define cbSCI_CMD_HOME                      wxSCI_CMD_HOME
#define cbSCI_CMD_HOMEEXTEND                wxSCI_CMD_HOMEEXTEND
#define cbSCI_CMD_HOMERECTEXTEND            wxSCI_CMD_HOMERECTEXTEND
#define cbSCI_CMD_VCHOME                    wxSCI_CMD_VCHOME
#define cbSCI_CMD_VCHOMEEXTEND              wxSCI_CMD_VCHOMEEXTEND
#define cbSCI_CMD_VCHOMERECTEXTEND          wxSCI_CMD_VCHOMERECTEXTEND

#define cbSCI_CMD_LINEENDWRAP               wxSCI_CMD_LINEENDWRAP

#define cbSCI_IV_LOOKBOTH                   wxSCI_IV_LOOKBOTH
#define cbSCI_IV_NONE                       wxSCI_IV_NONE

class cbScintilla : public wxScintilla
{
public:
    cbScintilla(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition,
                const wxSize& size = wxDefaultSize, long style = 0)
        : wxScintilla(parent, id, pos, size, style)
    {
    }
};

#endif // wxCHECK_VERSION(2, 9, 2)

#endif // CBSCINTILLA_H

And I have some questions:
Code
void Editor::NotifyStyleToNeeded(int endStyleNeeded) {
/* C::B begin */
    SCNotification scn; memset((void*)&scn, 0, sizeof(scn));
/* C::B end */
    scn.nmhdr.code = SCN_STYLENEEDED;
    scn.position = endStyleNeeded;
    NotifyParent(scn);
}

void Editor::NotifyStyleNeeded(Document *, void *, int endStyleNeeded) {
    NotifyStyleToNeeded(endStyleNeeded);
}

void Editor::NotifyLexerChanged(Document *, void *) {
}

void Editor::NotifyErrorOccurred(Document *, void *, int status) {
    errorStatus = status;
}

void Editor::NotifyChar(int ch) {
/* C::B begin */
    SCNotification scn; memset((void*)&scn, 0, sizeof(scn));
/* C::B end */
    scn.nmhdr.code = SCN_CHARADDED;
    scn.ch = ch;
    NotifyParent(scn);
}

void Editor::NotifySavePoint(bool isSavePoint) {
/* C::B begin */
    SCNotification scn; memset((void*)&scn, 0, sizeof(scn));
/* C::B end */
    if (isSavePoint) {
        scn.nmhdr.code = SCN_SAVEPOINTREACHED;
    } else {
        scn.nmhdr.code = SCN_SAVEPOINTLEFT;
    }
    NotifyParent(scn);
}

void Editor::NotifyModifyAttempt() {
/* C::B begin */
    SCNotification scn; memset((void*)&scn, 0, sizeof(scn));
/* C::B end */
    scn.nmhdr.code = SCN_MODIFYATTEMPTRO;
    NotifyParent(scn);
}

void Editor::NotifyDoubleClick(Point pt, bool shift, bool ctrl, bool alt) {
/* C::B begin */
    SCNotification scn; memset((void*)&scn, 0, sizeof(scn));
/* C::B end */
    scn.nmhdr.code = SCN_DOUBLECLICK;
    scn.line = LineFromLocation(pt);
    scn.position = PositionFromLocation(pt, true);
    scn.modifiers = (shift ? SCI_SHIFT : 0) | (ctrl ? SCI_CTRL : 0) |
            (alt ? SCI_ALT : 0);
    NotifyParent(scn);
}

void Editor::NotifyHotSpotDoubleClicked(int position, bool shift, bool ctrl, bool alt) {
/* C::B begin */
    SCNotification scn; memset((void*)&scn, 0, sizeof(scn));
/* C::B end */
    scn.nmhdr.code = SCN_HOTSPOTDOUBLECLICK;
    scn.position = position;
    scn.modifiers = (shift ? SCI_SHIFT : 0) | (ctrl ? SCI_CTRL : 0) |
            (alt ? SCI_ALT : 0);
    NotifyParent(scn);
}

void Editor::NotifyHotSpotClicked(int position, bool shift, bool ctrl, bool alt) {
/* C::B begin */
    SCNotification scn; memset((void*)&scn, 0, sizeof(scn));
/* C::B end */
    scn.nmhdr.code = SCN_HOTSPOTCLICK;
    scn.position = position;
    scn.modifiers = (shift ? SCI_SHIFT : 0) | (ctrl ? SCI_CTRL : 0) |
            (alt ? SCI_ALT : 0);
    NotifyParent(scn);
}

void Editor::NotifyUpdateUI() {
/* C::B begin */
    SCNotification scn; memset((void*)&scn, 0, sizeof(scn));
/* C::B end */
    scn.nmhdr.code = SCN_UPDATEUI;
    NotifyParent(scn);
}

void Editor::NotifyPainted() {
/* C::B begin */
    SCNotification scn; memset((void*)&scn, 0, sizeof(scn));
/* C::B end */
    scn.nmhdr.code = SCN_PAINTED;
    NotifyParent(scn);
}
................

It seems the "C::B begin" and "C::B end" flag is error position?
« Last Edit: October 18, 2010, 05:48:07 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Building with wxWidgets 2.9
« Reply #22 on: October 18, 2010, 06:57:11 am »
There is a possible way: using MONOLITHIC = 0
I am trying, and feedback the result.

Quote
make -f makefile.gcc LDFLAGS=-s SHARED=1 BUILD=release UNICODE=1 MONOLITHIC=0 OFFICIAL_BUILD=1 RUNTIME_LIBS=static >nul

In wx2.9.2svn, the MONOLITHIC default to 0
Code
# Multiple libraries or single huge monolithic one? [0,1]
MONOLITHIC ?= 0
Successed!
I think this should be a viable option.
« Last Edit: October 19, 2010, 03:34:02 am by Loaden »

Offline Cryogen

  • Regular
  • ***
  • Posts: 260
Re: Building with wxWidgets 2.9
« Reply #23 on: October 19, 2010, 01:53:53 am »
There is a possible way: using MONOLITHIC = 0
I am trying, and feedback the result.

Quote
make -f makefile.gcc LDFLAGS=-s SHARED=1 BUILD=release UNICODE=1 MONOLITHIC=0 OFFICIAL_BUILD=1 RUNTIME_LIBS=static >nul

In wx2.9.2svn, the MONOLITHIC default to 0
Code
# Multiple libraries or single huge monolithic one? [0,1]
MONOLITHIC ?= 0
Successed!
I think this should be a viable option.

Loaden, you are my hero. The only negative is that there are some nasty, hard-coded paths in your .cbp which need to be replaced with the (#wx) versions. I built wx as you suggested and CB using your project file and it finally worked. Many, many thanks.

Gary.

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Building with wxWidgets 2.9
« Reply #24 on: October 19, 2010, 03:32:57 am »
The only negative is that there are some nasty, hard-coded paths in your .cbp which need to be replaced with the (#wx) versions.
This is very strange, I did not specifically set it.
Fixed and update the patch in here: http://forums.codeblocks.org/index.php/topic,13388.msg90930.html#msg90930
« Last Edit: October 19, 2010, 03:35:21 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Building with wxWidgets 2.9
« Reply #25 on: October 19, 2010, 03:11:58 pm »
New configure:
Code
make -f makefile.gcc LDFLAGS=-s SHARED=1 BUILD=debug UNICODE=1 DEBUG_INFO=0 DEBUG_FLAG=1 MONOLITHIC=0 OFFICIAL_BUILD=1 RUNTIME_LIBS=static >nul
make -f makefile.gcc LDFLAGS=-s SHARED=1 BUILD=release UNICODE=1 DEBUG_INFO=0 DEBUG_FLAG=0 MONOLITHIC=0 OFFICIAL_BUILD=1 RUNTIME_LIBS=static >nul
see: http://trac.wxwidgets.org/ticket/12574

Offline Cryogen

  • Regular
  • ***
  • Posts: 260
Re: Building with wxWidgets 2.9
« Reply #26 on: October 28, 2010, 02:31:57 am »

 OK, progress so far...

Part 1 - Overcome stoopidity.
No-one picked up that I was using e.g. wxUSE_STC on the command line, rather than USE_STC, least of all me!!. Deary me. Discovering that has allowed me to build wx as a monolithic lib, as well.

Part 2 - Experiments
I've now tried building monolithic and shared lib versions, using all combinations of STC and PropGrid on and off. I've found that CB will build with the wx version of propgrid. It will build using the shared libs even with USE_STC on. The problem is that wxSmith won't build with the wx version of propgrid. The version in CB is quite different to that one. I think it's because we've got the latest and the wx version has been modified for wx but that causes issues, too. There are various other problems depending on how wx is built, too. Whatever I do I can't get both CB and wxSmith to build with the same build of wx. That's a real bummer. Has anyone achieved it?

Maybe we need to create a wx29 branch at some stage and work on getting it running. It's important for wxSmith because users (and we) are going to want to use the funky new controls that it brings and to do that we need to build wxSmith with 2.9. I've made a start on getting it to work with the 2.9 version but there's more to do, yet.
Some things in CB's code need to change due to deprecated or missing functions, etc. I'll keep chipping away at that and I'm happy to contribute whatever comes out if it to the greater good. I know Tim's made some progress, too, so we should make sure that the work isn't lost. A new branch would seem to be a good way to do it.

Cheers.


Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Building with wxWidgets 2.9
« Reply #27 on: October 28, 2010, 02:39:24 am »
A new branch would seem to be a good way to do it.
Agree. :)

Offline daniloz

  • Regular
  • ***
  • Posts: 268
Re: Building with wxWidgets 2.9
« Reply #28 on: March 03, 2011, 11:08:14 am »
Sorry to bump an old thread, but I cannot build C::B using wxWidgets 2.9.1... I have an error while compiling the SDK:
Code
-------------- Build: sdk in Code::Blocks ---------------

mingw32-g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DwxDEBUG_LEVEL=0  -DEXPORT_LIB -DEXPORT_EVENTS -DWXMAKINGDLL_PROPGRID -DwxPG_USE_WXMODULE=1 -DWXMAKINGDLL_SCI    -IC:\Work\wxWidgets-2.9.1\include -IC:\Work\wxWidgets-2.9.1\contrib\include -IC:\Work\wxWidgets-2.9.1\lib\gcc_dll_32\mswu -Isdk\wxscintilla\include -Iinclude\tinyxml -Iinclude -Iinclude\tinyxml -Iinclude\scripting\bindings -Iinclude\scripting\include -Iinclude\scripting\sqplus -Iinclude\mozilla_chardet  -c C:\Work\codeblocks_trunk64\src\sdk\cbauibook.cpp -o .objs\sdk\cbauibook.o
C:\Work\wxWidgets-2.9.1\include/wx/event.h: In member function 'void cbAuiNotebook::MinimizeFreeSpace(wxAuiTabCtrl*)':
C:\Work\wxWidgets-2.9.1\include/wx/event.h:2997:18: error: 'virtual bool wxEvtHandler::ProcessEvent(wxEvent&)' is inaccessible
C:\Work\codeblocks_trunk64\src\sdk\cbauibook.cpp:520:36: error: within this context

I've changed setup0.h (wxUSE_STC=0) and used the following command line to build wxWidgets:
Code
mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 USE_STC=0 USE_PROPGRID=1 BUILD=release clean
mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 USE_STC=0 USE_PROPGRID=1 BUILD=release

I'm trying to build on Vista 32 with MINGW gcc (tdm). Result of gcc -v
Code
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=c:/mingw32/bin/../libexec/gcc/mingw32/4.5.1/lto-wrapper.exe
Target: mingw32
Configured with: ../../src/gcc-4.5.1/configure --build=mingw32 --enable-languages=c,ada,c++,fortran,objc,obj-c++ --enable-threads=win32 --enable-libgomp --enabl
e-lto --enable-fully-dynamic-string --enable-libstdcxx-debug --enable-version-specific-runtime-libs --disable-nls --disable-win32-registry --disable-symvers --p
refix=/mingw --disable-werror --enable-cxx-flags='-fno-function-sections -fno-data-sections' --with-pkgversion=tdm-1 --enable-sjlj-exceptions --with-bugurl=http
://tdm-gcc.tdragon.net/bugs
Thread model: win32
gcc version 4.5.1 (tdm-1)

I don't quite get the error, any help would be appreciated...

Edit:
I'm using the CodeBlocks_wx29 project and latest version from trunk r7032...

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Building with wxWidgets 2.9
« Reply #29 on: March 03, 2011, 12:09:48 pm »
A new branch would seem to be a good way to do it.
Agree. :)
There is already a wx/wxsmith branch why would you need another one?
(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!]