CMake does not find Windows SDK 8.1

I am trying to download a C program called fluidsynth ( https://sourceforge.net/p/fluidsynth ) in order to later establish python bindings and use them in some code.

I installed CMake and Visual Studio. From the command line VS (as administrator) I gave the command cmake c:\path\to\fluidsynth. I got a few errors:

  • On the command line, I got No CMAKE_C_COMPILER.

  • The CMake error log says Build FAILEDThen:

     error MSB8036: The Windows SDK version 8.1 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\user\Desktop\fluidsynth-1.1.6\CMakeFiles\3.4.3\CompilerIdC\CompilerIdC.vcxproj]
    

This error persists even after updating my Windows SDK.

+4
source share
1 answer

1.- Visual Basic?? CMake VB.
2. CMake, , Win SDK .
3.- , , , : cmake ., , - . cmake.

-6

All Articles