Hello,
When I use VS2015 to build wxwidgets 2.8.6. Some errors were reported.
First of all, I've added windows kits to 'Include Directories'.
One error is "'timezone': undeclared identifier".
I find that a 'time.h' file has this value 'timezone', and this file is in ''include' folders of VS2010 and VS2013. Although this file is also in windows kits of VS2015, it has not a value named 'timezone'.
So I want to check whether VS2015 can be used to build 2.8 version or not. If not, which version of wxwidgets can we use VS2015 to build?
Best Regards,
Junjie Song
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
You can use VS2015 to build 3.2.2, current master (future 3.3) and probably 3.0 too.
2.8.6 is a 16 year old version, released almost a decade before VS2015, so it's a bit difficult to expect it to support it. FWIW it probably shouldn't be hard to backport the fixes from later version to it but you're completely on your own if you decide to do it, this version is not supported at all.
And updating to 3.2 would be a much, much better idea.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Closed #23572 as not planned.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
There is no doubt that v2.8 is very outdated, but FWIW, I have just tried with 2.8.12 and the library and widgets sample still build even with the latest MSVS (2022 v17.6.2). There were many warnings but no errors.
I tried all combinations of dynamic, static, debug, and release Unicode 64-bit builds; the build commands for the library were basically (called from the wxWidgets root folder):
set "VSCMD_START_DIR=%cd%"
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
nmake -f makefile.vc UNICODE=1 BUILD=debug CXXFLAGS="/DNEED_PBT_H"
nmake -f makefile.vc UNICODE=1 BUILD=release CXXFLAGS="/DNEED_PBT_H"
nmake -f makefile.vc UNICODE=1 BUILD=debug SHARED=1 CXXFLAGS="/DNEED_PBT_H"
nmake -f makefile.vc UNICODE=1 BUILD=release SHARED=1 CXXFLAGS="/DNEED_PBT_H"
I do not remember why the extra define is needed, I used a batch file I made a long time ago.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()