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 error on x64-windows-static #42979

Open
aq1el opened this issue Dec 28, 2024 · 3 comments
Open

[opengl] Build error on x64-windows-static #42979

aq1el opened this issue Dec 28, 2024 · 3 comments
Assignees
Labels
category:question This issue is a question

Comments

@aq1el
Copy link

aq1el commented Dec 28, 2024

i was trying to install vcpkg with "vcpkg.exe install glew sdl2 libogg libtheora libvorbis --triplet=x64-windows-static" command (i'm installing this for sonic cd decomp), but as i put those command, i got this error

error: building opengl:x64-windows-static failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle opengl:x64-windows-static: 82.3 ms
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+opengl
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[opengl]+Build+error+on+x64-windows-static&body=Copy+issue+body+from+D%3A%2FSonic%2FSonic%20CD%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md

here is the full log

D:\Sonic\Sonic CD\vcpkg>vcpkg.exe install glew sdl2 libogg libtheora libvorbis --triplet=x64-windows-static
Computing installation plan...
The following packages will be built and installed:
glew:[email protected]#4
libogg:[email protected]#1
libtheora:[email protected]#7
libvorbis:[email protected]#3

  • opengl:x64-windows-static@2022-12-04#3
    sdl2:[email protected]
  • vcpkg-cmake:x64-windows@2024-04-23
  • vcpkg-cmake-config:x64-windows@2024-05-23
    Additional packages (*) will be modified to complete this operation.
    Detecting compiler hash for triplet x64-windows-static...
    Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe
    Detecting compiler hash for triplet x64-windows...
    Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe
    Restored 0 package(s) from C:\Users\aqils\AppData\Local\vcpkg\archives in 1.26 ms. Use --debug to see more details.
    Installing 1/8 opengl:x64-windows-static@2022-12-04#3...
    Building opengl:x64-windows-static@2022-12-04#3...
    CMake Error at ports/opengl/portfile.cmake:13 (message):
    Portfile not yet configured for Windows SDK with version:
    Call Stack (most recent call first):
    ports/opengl/portfile.cmake:46 (copy_from_windows_sdk)
    scripts/ports.cmake:196 (include)

error: building opengl:x64-windows-static failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle opengl:x64-windows-static: 82.3 ms
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+opengl
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[opengl]+Build+error+on+x64-windows-static&body=Copy+issue+body+from+D%3A%2FSonic%2FSonic%20CD%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md

any help is appreciated

Copy link

Please see #30604 for how to properly report a build failure.

@autoantwort
Copy link
Contributor

Do you have installed the windows SDK?

@JonLiu1993
Copy link
Member

Looks you need install windows SDK first:

CMake Error at ports/opengl/portfile.cmake:13 (message):
Portfile not yet configured for Windows SDK with version:
Call Stack (most recent call first):

@JonLiu1993 JonLiu1993 added the category:question This issue is a question label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

3 participants