Sdk: Couldn't find the gn binary at path "dart-sdk/buildtools/gn"

Created on 12 Apr 2020  路  1Comment  路  Source: dart-lang/sdk

I clone dart-sdk from https://github.com/dart-lang/sdk.git to dart-sdk, checkout tag 2.7.2
Run ./tools/build.py --mode release --arch=x64 create_sdk in dart-sdk.
Prompts error:

Running python mypath/dart-sdk/tools/generate_buildfiles.py
Couldn't find the gn binary at path: mypath/dart-sdk/buildtools/gn
Couldn't find the gn binary at path: mypath/dart-sdk/buildtools/gn
Tried to run GN, but it failed. Try running it manually:
    $ python mypath/dart-sdk/tools/gn.py -m debug -a x64 --os host -v

Most helpful comment

Note, you cannot clone the git repo directly and build. You need to follow the instructions here (gclient) here:

https://github.com/dart-lang/sdk/wiki/Building

>All comments

Note, you cannot clone the git repo directly and build. You need to follow the instructions here (gclient) here:

https://github.com/dart-lang/sdk/wiki/Building

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rmacnak-google picture rmacnak-google  路  108Comments

mkustermann picture mkustermann  路  44Comments

enyo picture enyo  路  47Comments

vsmenon picture vsmenon  路  54Comments

joshirio picture joshirio  路  44Comments