regex 2.7.0-1 compilation errors in VC++ 6
Francesco Montorsi
f18m_cpp217828 at yahoo.it
Fri Nov 3 10:24:44 PST 2006
nadav.aharoni.usenet at gmail.com ha scritto:
> I'm trying to compile wxWidgets 2.7.0-1 using Visual C++ 6 on Windows
> I get compile errors as follows:
>
> --------------------Configuration: wxregex - Win32
> Release--------------------
> Creating ..\..\lib\vc_lib\msw\wx\setup.h
> 1 file(s) copied.
> Creating ..\..\lib\vc_lib\msw\wx\msw\rcdefs.h
> genrcdefs.h
> Compiling...
> regcomp.c
> ..\..\include\wx/chkconf.h(84) : fatal error C1189: #error :
> "wxUSE_CRASHREPORT must be defined."
> regerror.c
> ..\..\include\wx/chkconf.h(84) : fatal error C1189: #error :
> "wxUSE_CRASHREPORT must be defined."
> regexec.c
> ..\..\include\wx/chkconf.h(84) : fatal error C1189: #error :
> "wxUSE_CRASHREPORT must be defined."
> regfree.c
> ..\..\include\wx/chkconf.h(84) : fatal error C1189: #error :
> "wxUSE_CRASHREPORT must be defined."
> Generating Code...
> Error executing cl.exe.
>
> wxregex.lib - 4 error(s), 0 warning(s)
>
> Anyone have a clue?
you need to remove your lib\vc_lib folder and your
include\wx\msw\setup.h file and then rebuild.
The right setup.h files will be recreated and you won't get the error
anymore...
Francesco
More information about the wx-users
mailing list