ninja: error: 'src/lib/events/libevents/events/common.json', needed by 'events/common_with_enums.json', missing and no known rule to make it
时间: 2023-12-25 21:03:53 浏览: 128
回答: 根据你提供的引用内容,错误提示中显示了一个ninja错误,指出缺少文件'src/lib/events/libevents/events/common.json',并且没有已知的规则来生成它。\[3\]这个错误可能是由于缺少该文件或者构建系统中缺少生成该文件的规则导致的。你可以检查一下构建系统的配置,确保所有的依赖文件都存在,并且构建规则正确配置。如果文件确实缺失,你需要找到该文件并将其添加到相应的位置。如果构建规则有误,你需要修复构建系统的配置,以确保正确生成所需的文件。
#### 引用[.reference_title]
- *1* [CMakeList编译报错ninja: error: missing and no known rule to make it解决方法](https://blog.csdn.net/gxhea/article/details/115616602)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [Android.bp编译提示ninja: error: unknown target ‘MODULES-IN-xxx‘终极指南](https://blog.csdn.net/tkwxty/article/details/105142182)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [maven 加入json-lib.jar 报错 Missing artifact net.sf.json-lib:json-lib:jar:2.4:compile](https://blog.csdn.net/jiazimo/article/details/17265061)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文