Hi all!
I couldn't compile it, and just came around the solution. The platform and compiler are irrelevant, I think this is a generic error:
The generic Datepicker is disabled by default in the "setup.h" file, but the compiler still tries to compile it.. (and gave me an error).
I just changed this:
#if wxUSE_DATEPICKCTRL
into this:
#if wxUSE_DATEPICKCTRL_GENERIC
in:
source/generic/datectlg.cpp
and it sckiped the compilation of the generic date dialog, and it worked!!
WxWidgets compile error wxDatePickerCtrlGeneric
Re: WxWidgets compile error wxDatePickerCtrlGeneric
Which wxWidgets version did you build?
Which compiler/version?
If you used a command line to build, which one?
Which compiler/version?
If you used a command line to build, which one?
Use the source, Luke!
Re: WxWidgets compile error wxDatePickerCtrlGeneric
Hi,
In addition to what doublemax said - what is EXACT error message you got?
Thank you.
In addition to what doublemax said - what is EXACT error message you got?
Thank you.
Re: WxWidgets compile error wxDatePickerCtrlGeneric
I tried to compile WxWidgets 3.1,5 with the "makefiles" option, gcc 10.2.0, on Windows 10.
I don't remeber the exact error message but it involved this generic DatePickerControl
I think the command was just: mingw32-make -f makefile.gcc -j 6
That was at work. At home it works without that modification! Strange.. well, there you have a solution if you have the same problem.
Ah, and the correct path is src/generic/datectlg.cpp
I don't remeber the exact error message but it involved this generic DatePickerControl
I think the command was just: mingw32-make -f makefile.gcc -j 6
That was at work. At home it works without that modification! Strange.. well, there you have a solution if you have the same problem.
Ah, and the correct path is src/generic/datectlg.cpp
Re: WxWidgets compile error wxDatePickerCtrlGeneric
Hi,
You shouldn't be doing that - everything compiles out of the box.
Can you try and rebuild the library. Maybe copy it somewhere, undo you changes and try to re-compile?
Thank you.
You shouldn't be doing that - everything compiles out of the box.
Can you try and rebuild the library. Maybe copy it somewhere, undo you changes and try to re-compile?
Thank you.