Installation of qpsolvers

Hello, I got a fatal error when installing qpsolvers using “pip install qpsolvers” having downloaded and installed Microsoft Visual Studio Community 2018 using Python environment including CMaker, MSBuild etc. This is the error message:

" running build_ext
– Selecting Windows SDK version to target Windows 10.0.19043.
CMake Error at CMakeLists.txt:4 (project):
Failed to run MSBuild command:

  MSBuild.exe

to get the value of VCTargetsPath:

  The system cannot find the file specified. 

cl : Command line warning D9002 : ignoring unknown option ‘-std=c++11’
qdldl.cpp
c\qdldl/include/qdldl.h(5): fatal error C1083: Cannot open include file: ‘qdldl_types.h’: No such file or directory
error: command 'C:\Program Files\Microsoft Visual "

After looking into the error messages, I tried to download SDK version to target Windows 10.0.19043. But, Windows SDK 10.0.19043 is not available for download. Windows SDK 10.0.19041 is already installed.

How can I select SDK to target Windows SDK 10.0.19041 instead?

Where else can I install Windows SDK 10.0.19043?

What is this unknown option about: cl : Command line warning D9002 : ignoring unknown option ‘-std=c++11’?

Why is this file: ‘qdldl_types.h’ missing causing a fatal error C1083?

You might consider opening an issue in the qpsolvers repository where you might get a response from the actual developer.

Failed to run MSBuild command:

You’re likely to get better results if you execute your cmake using a “Developer Command Prompt”. When using said terminal window, the paths are set up so msbuild and SDK can be found.

Why is this file: ‘qdldl_types.h’ missing causing a fatal error C1083?

The source code for qpsolvers is trying to include said file. In C, an “#include” is equivalent to “import” in python: the code won’t build or run unless the file can be found.

What is this unknown option about: cl : Command line warning D9002 : ignoring unknown option ‘-std=c++11’?

This is a command line option which msbuild does not recognize. It would seem the qpsolvers build process has a flaw.