[wxPython-dev] Problem building CVS
Robin Dunn
robin at alldunn.com
Thu Sep 28 12:35:49 PDT 2006
Lanier, Paul wrote:
> I updated from CVS last night and I'm trying to build wxWidgets. I was
> able to build wxWIdgets (but not wxPython) from CVS a few weeks ago but
> it seems to be failing now. Is this just a passing problem in the
> codebase or is there something wrong with the build script? I'm using
> the .make/.mymake from wxPython/distrib/msw.
>
>
> $ .make hybrid-uni
> ------------------
> cd wxWidgets/build/msw
> nmake -f makefile.vc OFFICIAL_BUILD=1 SHARED=1 MONOLITHIC=0 USE_OPENGL=1
> CXXFLAGS=/D__NO_VC_CRTDBG__
> BUILD=release DEBUG_FLAG=1 WXDEBUGFLAG=h UNICODE=1 MSLU=1
>
> Microsoft (R) Program Maintenance Utility Version 7.10.3077
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> cl /c /nologo /TC /Fovc_mswuhdll\wxregex_regcomp.obj /MD /DWIN32
> /Fd..\..\lib\vc_dll\wxreg
> exuh.pdb /O2 /D__NO_VC_CRTDBG__ /I..\..\include
> /I..\..\lib\vc_dll\mswuh /D__WXMSW__ /D_UNICODE
> ..\..\src\regex\regcomp.c
> regcomp.c
> ..\..\include\wx\chkconf.h(293) : fatal error C1189: #error :
> "wxUSE_VARIANT must be defined."
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
You need to copy include/wx/msw/setup0.h to include/wx/msw/setup.h, make
any customizations in the copy that you need, (or just merge the
changes/additions in setup0.h into setup.h) and then build again.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-dev
mailing list