The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL2 Mixer build error with Visual Studio 2015
GameCodingNinja


Joined: 29 Aug 2014
Posts: 32
The error was too long to post in the subject line.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(55,5): error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, please install Visual Studio 2010 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution".

For some reason, it wants to default something to the v100. When opening the 2012 solution for the first time with 2015, it converts everything.

Upgrading project 'SDL2_mixer'...
Configuration 'Debug|Win32': changing Platform Toolset to 'v140' (was 'v110').
Configuration 'Debug|x64': changing Platform Toolset to 'v140' (was 'v110').
Configuration 'Release|Win32': changing Platform Toolset to 'v140' (was 'v110').
Configuration 'Release|x64': changing Platform Toolset to 'v140' (was 'v110').
Upgrading project 'native_midi'...
Configuration 'Debug|Win32': changing Platform Toolset to 'v140' (was 'v110').
Configuration 'Debug|x64': changing Platform Toolset to 'v140' (was 'v110').
Configuration 'Release|Win32': changing Platform Toolset to 'v140' (was 'v110').
Configuration 'Release|x64': changing Platform Toolset to 'v140' (was 'v110').
Upgrading project 'playmus'...
Configuration 'Debug|Win32': changing Platform Toolset to 'v140' (was 'v110').
Configuration 'Debug|x64': changing Platform Toolset to 'v140' (was 'v110').
Configuration 'Release|Win32': changing Platform Toolset to 'v140' (was 'v110').
Configuration 'Release|x64': changing Platform Toolset to 'v140' (was 'v110').
Upgrading project 'playwave'...
Configuration 'Debug|Win32': changing Platform Toolset to 'v140' (was 'v110').
Configuration 'Debug|x64': changing Platform Toolset to 'v140' (was 'v110').
Configuration 'Release|Win32': changing Platform Toolset to 'v140' (was 'v110').
Configuration 'Release|x64': changing Platform Toolset to 'v140' (was 'v110').
Upgrading project 'timidity'...
Configuration 'Debug|Win32': changing Platform Toolset to 'v140' (was 'v110').
Configuration 'Debug|x64': changing Platform Toolset to 'v140' (was 'v110').
Configuration 'Release|Win32': changing Platform Toolset to 'v140' (was 'v110').
Configuration 'Release|x64': changing Platform Toolset to 'v140' (was 'v110').
Retargeting End: 5 completed, 0 failed, 0 skipped

For Visual Studio 2015 I needed to rebuild SDL2 because my current project wouldn't build with the supplied libraries. The mixer does seem to work but I thought I'd recompile them with the newest tools just to be safe.