Issues with using Ninja build
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cmake
- 领域
- build-system
调研方向
Start by reproducing the configuration with CMake’s Ninja generator, then inspect the build rules that generate moonray/moonray/dso/camera/BakeCamera/BakeCamera.json. Find where that output is declared more than once and compare the Ninja build setup with the working Makefile setup. Done when the Ninja configuration completes without the duplicate-rule error.
由索引模型根据 Issue 内容生成。
描述
I have been able to compile OpenMoonRay via Makefile
I am also trying to build it via Ninja
However, I am getting the following configuration error when running cmake with the Ninja generator
-- Configuring done (2.2s)
CMake Error:
Running
'/usr/bin/ninja' '-C' '/home/nyue/projects/OpenMoonRay/head/build' '-t' 'recompact'
failed with:
ninja: error: build.ninja:17682: multiple rules generate moonray/moonray/dso/camera/BakeCamera/BakeCamera.json [-w dupbuild=err]
- 主要语言
- CMake
- 星标
- 4.7k
- 派生
- 321
- 平均合并
- 13 分钟
- 30 天内合并 PR
- 3
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenMoonRay/openmoonray 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
OpenMoonRay/openmoonray#332 ·
-
难度 2/5 1-3 小时 新手友好度 64/100
OpenMoonRay/openmoonray#320 ·
-
难度 2/5 1-3 小时 新手友好度 64/100
OpenMoonRay/openmoonray#233 ·
-
难度 3/5 1-2 天 新手友好度 57/100
OpenMoonRay/openmoonray#331 ·
-
难度 3/5 1-2 天 新手友好度 68/100
OpenMoonRay/openmoonray#330 ·
查看 OpenMoonRay/openmoonray 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 67/100
bigbio/sdrf-pipelines#372 · 1 条评论 ·
维护者通常 1 天内回复
-
yara-x fails to build with rsa 0.10.0: unresolved import rsa::Pkcs1v15Sign可能已有人在做 @CfirTsabari 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 87/100
VirusTotal/yara-x#865 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 69/100
维护者通常 1 天内回复
-
backend prio:low
难度 2/5 1-3 小时 新手友好度 76/100
digitalfabrik/entitlementcard#3262 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
apache/cordova-ios#1751 ·
维护者通常 1 天内回复