kaluma-project / kaluma-cli

Apache License 2.0
26 stars 9 forks source link

error MSB8036: The Windows SDK version 10.0.22000.0 was not found. #34

Open realJoshByrnes opened 1 year ago

realJoshByrnes commented 1 year ago

No prebuilt binaries were found (NodeJS v18.12.1 / Windows 11 build 22621.1265) Wasn't able to build with VS 2022 and Win11 SDK

After installing Win10SDK_10.0.20348 in Visual Studio, I was able to npm install @kaluma/cli successfully.

Looks like this is related to the NPM serialport dependency.

error C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.Cpp.WindowsSDK.targets(46,5): error MSB8036: The Windows SDK version 10.0.22000.0 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Users\jd\Projects\MemCard2040\node_modules\@serialport\bindings\build\bindings.vcxproj]