I downloaded and extracted wxWidgets3.0.2 and then opened the folder wxWidgets-3.0.2\build\msw
I found wx_vc12.sln
so I run it from MSVC IDE then a message asked me to upgrade compiler and libraries, I accepted.
I opened from msvc: build->batch build
. I selected all (checked all) then pressed build...
build began; it took some minutes. when it finishes it said to me that 35 errors and 35 warnings were found eg:
Error C1189 #error: Macro definition of snprintf conflicts with Standard Library function declaration (compiling source file ..\..\src\tiff\libtiff\tif_aux.c) wxtiff C:\Program Files (x86)\Windows Kits\10\Include\10.0.10150.0\ucrt\stdio.h 1927
and one of the warnings:
Severity Code Description Project File Line
Warning C4005 'snprintf': macro redefinition (compiling source file ..\..\src\tiff\libtiff\tif_write.c) wxtiff C:\Program Files (x86)\Windows Kits\10\Include\10.0.10150.0\ucrt\stdio.h 1925
I um using windows 7 professional x64 and Microsoft Visual Studio 2015
now when I try to build some sample ignoring the errors and warnings it said: link1104: cannot open file 'wxtiffd.lib'.
if I open the lib directory searching for the named above file I find it only under extension 'pdb': 'wxtiffd.pdb'.
wxWidgets 3.0.2 will not compile with VS 2015 without some patching. The best alternative could be to use the WX_3_0_BRANCH from Git, which is basically wxWidgets 3.0.2 + some fixes.