Closed
Description
Despite attempting to upgrade the freetype sln
file with /upgrade
, when building using the 2017 msbuild
as part of setup.py
I get the following failure:
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 2020-01-16 14:46:40.
Project "C:\Users\wiese\Repos\numeric-python\matplotlib\build\freetype-2.6.1\builds\windows\vc2010\freetype.sln" on node 1 (Clean;Build target(s)).
ValidateSolutionConfiguration:
Building solution configuration "Release|x64".
Project "C:\Users\wiese\Repos\numeric-python\matplotlib\build\freetype-2.6.1\builds\windows\vc2010\freetype.sln" (1) is building "C:\Users\wiese\Repos\numeric-python\matplotlib\build\freetype-2.6.1\builds\windows\vc2010\freetype.vcxproj" (2) on node 1 (Clean target(s)).
CoreClean:
Creating directory ".\..\..\..\objs\vc2010\x64\Release\".
Done Building Project "C:\Users\wiese\Repos\numeric-python\matplotlib\build\freetype-2.6.1\builds\windows\vc2010\freetype.vcxproj" (Clean target(s)).
Project "C:\Users\wiese\Repos\numeric-python\matplotlib\build\freetype-2.6.1\builds\windows\vc2010\freetype.sln" (1) is building "C:\Users\wiese\Repos\numeric-python\matplotlib\build\freetype-2.6.1\builds\windows\vc2010\freetype.vcxproj" (2:2) on node 1 (default targets).
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\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". [C:\Users\wiese\Repos\numeric-python\matplotlib\build\freetype-2.6.1\builds\windows\vc2010\freetype.vcxproj]
Done Building Project "C:\Users\wiese\Repos\numeric-python\matplotlib\build\freetype-2.6.1\builds\windows\vc2010\freetype.vcxproj" (default targets) -- FAILED.
Done Building Project "C:\Users\wiese\Repos\numeric-python\matplotlib\build\freetype-2.6.1\builds\windows\vc2010\freetype.sln" (Clean;Build target(s)) -- FAILED.
Build FAILED.
"C:\Users\wiese\Repos\numeric-python\matplotlib\build\freetype-2.6.1\builds\windows\vc2010\freetype.sln" (Clean;Build target) (1) ->
"C:\Users\wiese\Repos\numeric-python\matplotlib\build\freetype-2.6.1\builds\windows\vc2010\freetype.vcxproj" (default target) (2:2) ->
(PlatformPrepareForBuild target) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\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". [C:\Users\wiese\Repos\numeric-python\matplotlib\build\freetype-2.6.1\builds\windows\vc2010\freetype.vcxproj]