I'm not completely sure from the error you describe but it sounds like you don't have a .gn file in the root.

I recently started getting into gn and made a simple starter project: https://github.com/aellerton/experiment-learn-gn

The first thing I didn't expect was the need to have a root .gn file, and that the file needs to point to the root config: https://github.com/aellerton/experiment-learn-gn/blob/master/.gn

The second thing I didn't expect was the need to provide an entire toolchain. I kind of like this now as it gives me full power. I used this one here, by making it a git submodule as the author suggests: https://github.com/timniederhausen/gn-build

Then building a trivial Hello World console program was straightforward.

最新文章

  1. C#浅析单例模式
  2. React笔记整理
  3. python datetime模块
  4. Lucene 工作原理 之倒排索引
  5. js 事件冒泡是什么如何用jquery阻止事件冒泡
  6. Java--笔记(4)
  7. JavaWeb学习记录(二)——防盗链技术
  8. struts2自定义日期类型转换器
  9. angular实现的按钮提示
  10. 实现一个栈类,类似STL中的栈
  11. cookie 的增加,销毁,读取
  12. webpack打包性能优化
  13. Codeforces.765F.Souvenirs(主席树)
  14. 【java多线程】多线程的创建三种方式--笔记
  15. 二、redis持久化
  16. mysql 实现树形的遍历
  17. SQL 必知必会·笔记<3>过滤数据
  18. 组件vue传值
  19. VS设置DLL所在的调试目录
  20. 项目UML设计(团队)

热门文章

  1. go语言设计模式之proxy
  2. MYSQL主从复制--传统方式
  3. Less(4)
  4. C++ 拷贝构造函数 copy ctor & 拷贝赋值函数 copy op=
  5. 'index.js' does not match the corresponding name on disk: '.\node_modules\
  6. mysql执行操作时卡死
  7. 大话设计模式Python实现-单例模式
  8. 《细说PHP》第四版 样章 第18章 数据库抽象层PDO 4
  9. jquery 图片缩放插件使用
  10. 【java提高】(16)---java注解(Annotation)