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

Unable to build on windows 11 #32

Closed
namiwa opened this issue Dec 31, 2023 · 1 comment
Closed

Unable to build on windows 11 #32

namiwa opened this issue Dec 31, 2023 · 1 comment

Comments

@namiwa
Copy link

namiwa commented Dec 31, 2023

Getting this error after tools/git-sync-deps step on windows 11

C:\deps\skia>gn gen out/Release-x64 --args="is_debug=false is_official_build=true skia_use_system_expat=false skia_use_system_icu=false skia_use_system_libjpeg_turbo=false skia_use_system_libpng=false skia_use_system_libwebp=false skia_use_system_zlib=false skia_use_sfntly=false skia_use_freetype=true skia_use_harfbuzz=true skia_pdf_subset_harfbuzz=true skia_use_system_freetype2=false skia_use_system_harfbuzz=false target_cpu=""x64"" cc=""clang"" cxx=""clang++"" clang_win=""c:\deps\llvm"" win_vc=""C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC"" extra_cflags=[""-MT""]"
Traceback (most recent call last):
  File "C:/deps/skia/gn/highest_version_dir.py", line 17, in <module>
    print(sorted(filter(regex.match, os.listdir(dirpath)))[-1])
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:/Program Files (x86)/Windows Kits/10/Include'
ERROR at //gn/BUILDCONFIG.gn:147:23: Script returned non-zero exit code.
    win_sdk_version = exec_script("//gn/highest_version_dir.py",
                      ^----------
Current dir: C:/deps/skia/out/Release-x64/
Command: C:/deps/depot_tools/bootstrap-2@3_8_10_chromium_26_bin/python3/bin/python3.exe C:/deps/skia/gn/highest_version_dir.py "C:/Program Files (x86)/Windows Kits/10/Include" "[0-9]{2}\.[0-9]\.[0-9]{5}\.[0-9]"
Returned 1.
@namiwa
Copy link
Author

namiwa commented Jan 5, 2024

Closing as it was an issue with the build tools i was using, was using visual studio build tools 2022, not the full ide hence it was required separate manual install of the windows sdk 10

@namiwa namiwa closed this as completed Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant