From: nadav.aharoni.usenet on
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?

Thanks,
Nadav

From: Francesco Montorsi on
nadav.aharoni.usenet(a)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



---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org
For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org