-
Notifications
You must be signed in to change notification settings - Fork 51
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
command not found: gn #11
Comments
A Bit of BackgroundGN is what generates the build files for Ninja. In the terminal, we've been typing or pasting in commands to run different executable files which the shell of our operating system then reads and executes. Our operating system has a variable called Where to LookWhen curious about what that list looks like, I like to use the We'll see something like Which can be translated to:
The ProblemYour shell has replied that it couldn't find Troubleshoot
PATH to SuccessHopefully you are in the I don't think it's important to clear out the wrong entries, they'll be gone after the terminal window is closed. The shell checks directories in the same order they are listed in the $PATH and when it finds what it wants. Success!You can now change directories back to the skia one with: Hopefully this helps! |
I have the same issue on my musl libc install of Void Linux. |
I've been trying to compile ### skia on my Mac running Catalina 10.15.7.
I've gotten to the step:
$ 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\" extra_cflags=[\"-stdlib=libc++\", \"-mmacosx-version-min=10.9\"] extra_cflags_cc=[\"-frtti\"]"
But I've been getting the following error:
$ command not found: gn
Any ideas??
The text was updated successfully, but these errors were encountered: