I am trying to use gn
to build a simple C++ project. However when I run gn gen out
I see this message:
ERROR Can't find source root.
I could not find a ".gn" file in the current directory or any parent,
and the --root command-line argument was not specified.
I was able to build the examples/simple_build
example under the gn
source tree without a problem. I was expecting similar results with my own sample created from scratch.
2