Change the property "General->Platform Toolset" to "Visual Studio 2015 - Windows XP (v140_xp)" (using Visual Studio 2015), to include XP support.
Build any configuration (Debug/Release, DLL/static) - fails.
Now I get the error:
Code: Select all
LINK : fatal error LNK1104: cannot open file 'winmm.lib'
I tried recompiling wxWidgets itself with this setting too.
- The static libraries compile fine, but it doesn't help with the above error when compiling other projects using wxWidgets.
- DLLs don't compile. At first we get lots of this error:
This is fixed in the properties by setting "Linker->System->SubSystem" to "Windows (/SUBSYSTEM:WINDOWS)".
Code: Select all
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(1193,5): warning MSB8030: The linker switch "Minimum Required Version" requires "SubSystem" to be set. Without "SubSystem", the "Minimum Required Version" would not be passed to linker and could prevent to the output binary from running on older Operating Systems.
But then we get a similar error to above:Code: Select all
LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
I'm using wxWidgets 3.0.3.