can anyone build the svn trunk of wxWidgets?

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
ouch67
Earned some good credits
Earned some good credits
Posts: 134
Joined: Sun Mar 23, 2008 12:09 am

can anyone build the svn trunk of wxWidgets?

Post by ouch67 » Wed Aug 10, 2011 3:12 pm

I keep getting these errors after updating to 68620:

Code: Select all

g++ -c -o gcc_mswudll\monodll_msw_button.o  -O2 -mthreads  -DHAVE_W32API_H -D__WXMSW__
   -DNDEBUG    -D_UNICODE  -I..\..\lib\gcc_dll\mswu -I..\..\include  -W -Wall -DWXBUIL
DING -I..\..\src\tiff\libtiff -I..\..\src\jpeg -I..\..\src\png -I..\..\src\zlib -I..\.
.\src\regex -I..\..\src\expat\lib -I..\..\src\stc\scintilla\include -I..\..\src\stc\sc
intilla\src -D__WX__ -DSCI_LEXER -DLINK_LEXERS -DwxUSE_BASE=1 -DWXMAKINGDLL   -Wno-cto
r-dtor-privacy -Os  -MTgcc_mswudll\monodll_msw_button.o -MFgcc_mswudll\monodll_msw_but
ton.o.d -MD -MP ../../src/msw/button.cpp
../../src/msw/toplevel.cpp: In member function 'virtual WXLRESULT wxTopLevelWindowMSW:
:MSWWindowProc(WXUINT, WXWPARAM, WXLPARAM)':
../../src/msw/toplevel.cpp:380:38: error: invalid use of incomplete type 'struct wxMen
u'
..\..\include/wx/event.h:44:32: error: forward declaration of 'struct wxMenu'
../../src/msw/toplevel.cpp: In destructor 'virtual wxTopLevelWindowMSW::~wxTopLevelWin
dowMSW()':
../../src/msw/toplevel.cpp:608:12: warning: possible problem detected in invocation of
 delete operator:
../../src/msw/toplevel.cpp:608:12: warning: invalid use of incomplete type 'struct wxM
enu'
..\..\include/wx/event.h:44:32: warning: forward declaration of 'struct wxMenu'
../../src/msw/toplevel.cpp:608:12: note: neither the destructor nor the class-specific
 operator delete will be called, even if they are declared when the class is defined.
../../src/msw/toplevel.cpp: In member function 'wxMenu* wxTopLevelWindowMSW::MSWGetSys
temMenu() const':
../../src/msw/toplevel.cpp:1278:30: error: incomplete type 'wxMenu' used in nested nam
e specifier
../../src/msw/toplevel.cpp:1289:21: error: invalid use of incomplete type 'struct wxMe
nu'
..\..\include/wx/event.h:44:32: error: forward declaration of 'struct wxMenu'
mingw32-make: *** [gcc_mswudll\monodll_toplevel.o] Error 1
mingw32-make: *** Waiting for unfinished jobs....
I'm using tdm mingw32 4.5.2 on windows 7 home 64bit

tsalm
In need of some credit
In need of some credit
Posts: 2
Joined: Mon Aug 15, 2011 5:54 pm

Re: can anyone build the svn trunk of wxWidgets?

Post by tsalm » Mon Aug 15, 2011 8:12 pm

YEs, I've exactly the problem:

My compilation line is :

Code: Select all

mingw32-make -f makefile.gcc SHARED=0 UNICODE=1 BUILD=release
My configuration is :
WIndows Vista x86 - Mingw with GCC version 4.5.2

tsalm
In need of some credit
In need of some credit
Posts: 2
Joined: Mon Aug 15, 2011 5:54 pm

Re: can anyone build the svn trunk of wxWidgets?

Post by tsalm » Tue Aug 16, 2011 4:36 pm

It's ok for me now. For you too ?

ouch67
Earned some good credits
Earned some good credits
Posts: 134
Joined: Sun Mar 23, 2008 12:09 am

Re: can anyone build the svn trunk of wxWidgets?

Post by ouch67 » Tue Aug 23, 2011 3:25 pm

yeah they fixed it. awhile ago

Post Reply