Prev: wxwince and dialog creation : menubar fails
Next: wxMSW-2.8.0, Windows XP, VC++.NET 7.1 all samples has same compilation error
From: Hugo Jackson on 12 Feb 2007 20:37 Download the CVS source yesterday. To the best of my ability followed all the instructions on the wiki at: http://www.wxwidgets.org/wiki/index.php/MSVC_.NET_Setup_Guide wxWidgets compiles almost completely except when it comes to wxregex. This is the output I get: ------ Build started: Project: wxregex, Configuration: Debug Win32 ------ Compiling... regerror.c z:\lamchat\wxWidgets\include\wx/chkconf.h(90) : fatal error C1189: #error : "wxUSE_CRASHREPORT must be defined." regexec.c z:\lamchat\wxWidgets\include\wx/chkconf.h(90) : fatal error C1189: #error : "wxUSE_CRASHREPORT must be defined." regfree.c z:\lamchat\wxWidgets\include\wx/chkconf.h(90) : fatal error C1189: #error : "wxUSE_CRASHREPORT must be defined." regcomp.c z:\lamchat\wxWidgets\include\wx/chkconf.h(90) : fatal error C1189: #error : "wxUSE_CRASHREPORT must be defined." Generating Code... Build log was saved at "file://z:\lamchat\wxWidgets\build\msw\vc_mswd \wxregex\BuildLog.htm" wxregex - 4 error(s), 0 warning(s) ------ Build started: Project: wxregex, Configuration: Release Win32 ------ Compiling... regcomp.c ...\..\include\wx/chkconf.h(90) : fatal error C1189: #error : "wxUSE_CRASHREPORT must be defined." regfree.c ...\..\include\wx/chkconf.h(90) : fatal error C1189: #error : "wxUSE_CRASHREPORT must be defined." regexec.c ...\..\include\wx/chkconf.h(90) : fatal error C1189: #error : "wxUSE_CRASHREPORT must be defined." regerror.c ...\..\include\wx/chkconf.h(90) : fatal error C1189: #error : "wxUSE_CRASHREPORT must be defined." Generating Code... Build log was saved at "file://z:\lamchat\wxWidgets\build\msw\vc_msw \wxregex\BuildLog.htm" wxregex - 4 error(s), 0 warning(s) ========== Build: 38 succeeded, 2 failed, 0 up-to-date, 0 skipped ========== Now I wasn't too concerned about this, because I thought I could get around the problem by simply not including the regex library in my application, but when I compile my app i get the wxUSE_CRASHREPORT error above for every single file. I've been searching all over the net and can't seem to find anything that would indicate this behaviour. Can anyone shed any light on what I'm doing wrong? Thanks. SYSTEM: windows XP, Visual C++ 2005 Express Edition, static debug & release compiles of wxWidgets source and my app, wxWidgets source from CVS Feb 12, 2007 --------------------------------------------------------------------- To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org
From: Vadim Zeitlin on 12 Feb 2007 20:51
On Mon, 12 Feb 2007 20:37:13 -0500 Hugo Jackson <hugojackson(a)speedfactory.net> wrote: HJ> #error : "wxUSE_CRASHREPORT must be defined." You have an out of date setup.h in include/wx/msw. When using cvs, you need to copy include/wx/msw/setup0.h to setup.h (and then do any changes you want in setup.h which is not under cvs control). Regards, VZ -- TT-Solutions: wxWidgets consultancy and technical support http://www.tt-solutions.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org |