G
G
German2019-05-13 18:36:52
C++ / C#
German, 2019-05-13 18:36:52

Vcpkg not seeing Windows 10 SDK?

Decided to install OpenCV via vcpkg.
I run vcpkg with the command: vcpkg.exe install opencv:x86-windows
And I get this output:

Your feedback is important to improve Vcpkg! Please take 3 minutes to complete our survey by running: vcpkg contact --survey
The following packages will be built and installed:
  * libpng[core]:x86-windows
    opencv[core,eigen,flann,jpeg,opengl,png,tiff]:x86-windows
  * opengl[core]:x86-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/3: opengl:x86-windows
Building package opengl[core]:x86-windows...
CMake Error at ports/opengl/portfile.cmake:20 (message):
  Cannot find Windows 10.0.17763.0 SDK.  File does not exist: C:\Program
  Files (x86)\Windows Kits\10\Lib\10.0.17763.0\um\x86\OpenGL32.Lib
Call Stack (most recent call first):
  scripts/ports.cmake:71 (include)


Error: Building package opengl:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: opengl:x86-windows
  Vcpkg version: 2018.11.23-nohash

Additionally, attach any relevant sections from the log files above.

The problem is that there is no SDK on this path, it is installed on my D drive, what should I do? Copying everything to the path he needs is not the best solution in my opinion.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question