Build problems
Hi again. I’m trying to produce the debug vesions of the wxPython dlls.
I’ve downloaded and build wxWindows 2.2.9 and wxPython 2.3.3.pre-5.
wxWindows built successfully (thanks for the excellent instructions
Robin). When building wxPython, I get the following:
C:\Program Files\Microsoft Visual Studio\VC98\BIN\cl.exe /c /nologo /Ox /MD /W3
/GX -DWIN32 -D__WIN32__ -D_WINDOWS -D__WINDOWS__ -DWINVER=0x0400 -D__WIN95__ -DS
TRICT -D__WXMSW__ -DWXUSINGDLL=1 -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=
1 -Isrc -I…\lib\mswdll -I…\include -Ic:\Python22\include /TpC:\build\wxWindows
\wxPython\src\helpers.cpp /Fobuild\temp.win32-2.2\Release\src/helpers.obj
helpers.cpp
C:\build\wxWindows\wxPython\src\pyistream.h(59) : error C2504: ‘wxInputStream’ :
base class undefined
C:\build\wxWindows\wxPython\src\helpers.cpp(182) : error C2039: 'CheckBuildOptio
ns’ : is not a member of ‘wxApp’
..\include\wx/msw/app.h(30) : see declaration of 'wxApp'
C:\build\wxWindows\wxPython\src\helpers.cpp(182) : error C2065: 'CheckBuildOptio
ns’ : undeclared identifier
C:\build\wxWindows\wxPython\src\helpers.cpp(182) : error C2065: ‘wxBuildOptions’
: undeclared identifier
C:\build\wxWindows\wxPython\src\helpers.cpp(428) : error C2039: 'GetClientObject
’ : is not a member of ‘wxEvtHandler’
..\include\wx/event.h(1474) : see declaration of 'wxEvtHandler'
C:\build\wxWindows\wxPython\src\helpers.cpp(449) : error C2039: 'SetClientObject
’ : is not a member of ‘wxEvtHandler’
..\include\wx/event.h(1474) : see declaration of 'wxEvtHandler'
C:\build\wxWindows\wxPython\src\helpers.cpp(472) : error C2039: 'GetClientObject
’ : is not a member of ‘wxSizer’
..\include\wx/sizer.h(129) : see declaration of 'wxSizer'
C:\build\wxWindows\wxPython\src\helpers.cpp(481) : error C2039: 'SetClientObject
’ : is not a member of ‘wxSizer’
..\include\wx/sizer.h(129) : see declaration of 'wxSizer'
C:\build\wxWindows\wxPython\src\helpers.cpp(553) : error C2039: ‘GetCurrentId’ :
is not a member of ‘wxThread’
..\include\wx/thread.h(259) : see declaration of 'wxThread'
C:\build\wxWindows\wxPython\src\helpers.cpp(553) : error C2065: ‘GetCurrentId’ :
undeclared identifier
C:\build\wxWindows\wxPython\src\helpers.cpp(665) : error C2027: use of undefined
type ‘wxInputStream’
..\include\wx/object.h(36) : see declaration of 'wxInputStream'
C:\build\wxWindows\wxPython\src\helpers.cpp(665) : error C2227: left of ‘->Eof’
must point to class/struct/union
C:\build\wxWindows\wxPython\src\helpers.cpp(679) : error C2065: ‘wxMemoryBuffer’
: undeclared identifier
C:\build\wxWindows\wxPython\src\helpers.cpp(679) : error C2146: syntax error : m
issing ‘;’ before identifier ‘buf’
C:\build\wxWindows\wxPython\src\helpers.cpp(679) : error C2065: ‘buf’ : undeclar
ed identifier
C:\build\wxWindows\wxPython\src\helpers.cpp(690) : error C2027: use of undefined
type ‘wxInputStream’
..\include\wx/object.h(36) : see declaration of 'wxInputStream'
C:\build\wxWindows\wxPython\src\helpers.cpp(690) : error C2227: left of ‘->Eof’
must point to class/struct/union
C:\build\wxWindows\wxPython\src\helpers.cpp(690) : fatal error C1903: unable to
recover from previous error(s); stopping compilation
error: command ‘“C:\Program Files\Microsoft Visual Studio\VC98\BIN\cl.exe”’ fail
ed with exit status 2
As always, any help greatly appreciated.
···
Jeff Kotula Systems Architecture Manager
Vital Images jkotula@vitalimages.com
Renunciation is not giving up the things of this world,
but accepting that they go away.
-- Suzuki Roshi