Vcpkg: OpenGL BUILD_FAILED

Created on 30 Jul 2018  路  7Comments  路  Source: microsoft/vcpkg

Hi guys,

I am using Windows 10 Enterprise 2016 LTSB Version 1607. Build 14393.2368.

I'm new to vcpkg and I am trying to install some packages. Everything works fine (e.g. boost) until I try to install opengl via vcpkg.exe install opengl:x64-windows. This is the error I get:

grafik

The folder buildtrees/opengl is completely empty (no log files etc.).

Any suggestions how to solve the problem are greatly appreciated!
Thank you.

All 7 comments

Windows SDK VER ?

When I look into Windows Kits/10/Include I see two folders:

  • 10.0.10150.0
  • 10.0.10240.0

Or am I looking in the wrong folder?

https://github.com/Microsoft/vcpkg/blob/master/ports/opengl/portfile.cmake

set(LIBGLFILEPATH "${PROGRAM_FILES_32_BIT}\\Windows Kits\\10\\Lib\\${WINDOWS_SDK}\\um\\${TRIPLET_SYSTEM_ARCH}\\OpenGL32.Lib")

${WINDOWS_SDK} = 10.0.10240.0

When I look into Windows Kits/10/Include I see two folders:

  • 10.0.10150.0
  • 10.0.10240.0

Same for Windows Kits/10/Lib. But there is only a folder named urct and not um as indicated by your line of code.

Thank you very much. I just realised my Win10 SDK installation might not be complete.

VCPKG installs the package seamlessly now. Thanks again!
In the end I just checked the wrong checkbox during Visual Studio Setup.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jasjuang picture jasjuang  路  3Comments

jack17529 picture jack17529  路  3Comments

invy picture invy  路  3Comments

oahzuw picture oahzuw  路  3Comments

F0I0l0I0P picture F0I0l0I0P  路  3Comments