We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Attempting to create build files with command:
PS.C:\..\..\bin\gn gen out/Shared --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:\Users\USERNAME\source\repos\LLVM\bin"" win_vc=""C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC"" extra_cflags=[""-MT""]"
Results in the following error message:
File "../source/repos/skia/gn/highest_version_dir.py", line 15 print sorted(filter(regex.match, os.listdir(dirpath)))[-1] ^ SyntaxError: invalid syntax ERROR at //gn/BUILDCONFIG.gn:133:29: Script returned non-zero exit code. win_toolchain_version = exec_script("//gn/highest_version_dir.py", ^---------- Current dir: C:/Users/USERNAME/source/repos/skia/out/Shared/ Command: "C:/Program Files/Python38/python.exe" C:/Users/USERNAME/source/repos/skia/gn/highest_version_dir.py "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC/Tools/MSVC" "[0-9]{2}\.[0-9]{2}\.[0-9]{5}" Returned 1.
Removing the --args parameter results in an error (despite having the build-dir on the commandline):
ERROR Need exactly one build directory to generate.
The text was updated successfully, but these errors were encountered:
I had the same error during build and removed the last line of code in highest_version_dir.py which was a print causing the issue.
Sorry, something went wrong.
No branches or pull requests
Attempting to create build files with command:
PS.C:\..\..\bin\gn gen out/Shared --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:\Users\USERNAME\source\repos\LLVM\bin"" win_vc=""C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC"" extra_cflags=[""-MT""]"
Results in the following error message:
File "../source/repos/skia/gn/highest_version_dir.py", line 15 print sorted(filter(regex.match, os.listdir(dirpath)))[-1] ^ SyntaxError: invalid syntax ERROR at //gn/BUILDCONFIG.gn:133:29: Script returned non-zero exit code. win_toolchain_version = exec_script("//gn/highest_version_dir.py", ^---------- Current dir: C:/Users/USERNAME/source/repos/skia/out/Shared/ Command: "C:/Program Files/Python38/python.exe" C:/Users/USERNAME/source/repos/skia/gn/highest_version_dir.py "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC/Tools/MSVC" "[0-9]{2}\.[0-9]{2}\.[0-9]{5}" Returned 1.
Removing the --args parameter results in an error (despite having the build-dir on the commandline):
ERROR Need exactly one build directory to generate.
The text was updated successfully, but these errors were encountered: