Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[opengl] build failure #13326

Closed
UnknownObject000 opened this issue Sep 3, 2020 · 4 comments
Closed

[opengl] build failure #13326

UnknownObject000 opened this issue Sep 3, 2020 · 4 comments
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@UnknownObject000
Copy link

Host Environment

  • OS: Windows 10 Professional Workstation (Windows Feature Experience Pack 120.2212.31.0)
  • Compiler: MSVC 16 (Visual Studio 2019)

To Reproduce
Steps to reproduce the behavior:
./vcpkg install opencv4

Failure logs
PS C:\Users\15819> vcpkg install opencv4
Your feedback is important to improve Vcpkg! Please take 3 minutes to complete our survey by running: vcpkg contact --survey Computing installation plan...
The following packages will be built and installed: opencv4[core,dnn,jpeg,opengl,png,tiff,webp]:x86-windows

  • opengl[core]:x86-windows
  • protobuf[core]:x86-windows
  • tiff[core]:x86-windows
    Additional packages (*) will be modified to complete this operation.
    Starting package 1/4: opengl:x86-windows
    Building package opengl[core]:x86-windows...
    CMake Error at ports/opengl/portfile.cmake:20 (message):
    Cannot find Windows 10.0.18362.0 SDK. File does not exist: C:\Program Files (x86)\Windows Kits\10\Lib\10.0.18362.0\um\x86\OpenGL32.Lib
    Call Stack (most recent call first):
    scripts/ports.cmake:76 (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: 2020.02.04-nohash Additionally, attach any relevant sections from the log files above.

Additional context
I have tried delete all downloaded packages and run the command again, but does no effect.

@UnknownObject000
Copy link
Author

UnknownObject000 commented Sep 3, 2020

I have Windows SDK 10.0.18362.0, but my SDK path is "D:\Windows Kits\10\Lib\10.0.18362.0\um\x86" instead of "C:\Program Files (x86)\Windows Kits\10\Lib\10.0.18362.0\um\x86".

@UnknownObject000
Copy link
Author

What should I do to change the SDK path?

@PhoebeHui
Copy link
Contributor

@UnknownObject000, could you get vcpkg latest source and try again? This issue should be fixed by PR #12232.

@PhoebeHui PhoebeHui added the requires:repro The issue is not currently repro-able label Sep 4, 2020
@UnknownObject000
Copy link
Author

@PhoebeHui , Thank you for the advice, my problem soved now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

2 participants