-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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 faIled #11107
Comments
Would you mind confirming that you have the latest Windows SDK installed please? Here is how to install the dependencies needed to build C++ applications on Windows using the Visual Studio installer. First, ensure that the machine has a working net connection and save the following as the text file cplusplus.vsconfig anywhere on your system: {
"version": "1.0",
"components": [
"Microsoft.VisualStudio.Component.CoreEditor",
"Microsoft.VisualStudio.Workload.CoreEditor",
"Microsoft.VisualStudio.Component.Roslyn.Compiler",
"Microsoft.Component.MSBuild",
"Microsoft.VisualStudio.Component.VC.CoreIde",
"Microsoft.VisualStudio.Component.Windows10SDK",
"Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
"Microsoft.VisualStudio.Component.Windows10SDK.18362",
"Microsoft.VisualStudio.Component.VC.ATL",
"Microsoft.VisualStudio.Component.VC.ATLMFC"
]
} Next, launch the Visual Studio installer from the start menu, click on More and then Import Configuration. Locate and select the file cplusplus.vsconfig which you created previously and Visual Studio should add the Windows 10 SDK and other C++ libraries you need to develop C++ applications to your system. Thanks |
@dongliangcao, does this still be a problem for you? |
@dongliangcao, if the SDK installed, but it doesn't locate in C:\Program |
Host Environment
To Reproduce
Steps to reproduce the behavior:
vcpkg install freeimage:x64-windows
Failure logs
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\x64\OpenGL32.Lib
Call Stack (most recent call first):
scripts/ports.cmake:90 (include)
Error: Building package opengl:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with
.\vcpkg update
, thensubmit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: opengl:x64-windows
Vcpkg version: 2020.02.04-nohash
The text was updated successfully, but these errors were encountered: