(2018-04-14, 14:20)primaeval Wrote: This is where I found the installers for 8 and 8.1 in the Earlier section at the bottom.
https://developer.microsoft.com/en-us/wi...dk-archive
Install them.
Uninstall them and it should get rid of the old versions.
Thank you。 I did as what you say. Install SDK 8, 8.1 and uninstall them. But when I run BuildSetup.bat still met the same problem :
Wait while preparing the build.
------------------------------------------------------------
Compiling Kodi branch master...
子目录或文件 D:\xbmc\kodi_18\xbmc\kodi-build 已经存在。
-- Source directory: D:/xbmc/kodi_18/xbmc
-- Build directory: D:/xbmc/kodi_18/xbmc/kodi-build
-- Generator: Multi-configuration (Visual Studio 14 2015 Win64)
-- CMake Version: 3.11.0
-- System type: Windows
CMake Error at cmake/scripts/windows/ArchSetup.cmake:5 (message):
Detected Windows SDK version is .
Windows SDK 10.0.14393.0 or higher is required.
INFO: Windows SDKs can be installed from the Visual Studio installer.
Call Stack (most recent call first):
cmake/scripts/common/ArchSetup.cmake:95 (include)
CMakeLists.txt:33 (include)
-- Configuring incomplete, errors occurred!
See also "D:/xbmc/kodi_18/xbmc/kodi-build/CMakeFiles/CMakeOutput.log".
------------------------------------------------------------
!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-
ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR
!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-
ERROR: "Kodi.EXE failed to build!"
------------------------------------------------------------
Press any key to exit...