Issues with using Ninja build
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cmake
- Domain
- build-system
Research direction
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.
Written by the indexing model from the issue text.
Description
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]
- Dominant language
- CMake
- Stars
- 4.7k
- Forks
- 321
- Avg merge
- 13m
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenMoonRay/openmoonray
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
OpenMoonRay/openmoonray#332 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
OpenMoonRay/openmoonray#320 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
OpenMoonRay/openmoonray#233 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 57/100
OpenMoonRay/openmoonray#331 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
OpenMoonRay/openmoonray#330 ·
All issues in OpenMoonRay/openmoonray
Similar issues
-
cleanup documentation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
check-typing: ty 0.0.98+ fails on the renamed rule `unresolved-import` (now `import-not-found`)Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
crossbario/crossbar#2383 ·
Maintainers usually reply within 1 day
-
check-typing: ty 0.0.98+ fails on the renamed rule `unresolved-import` (now `import-not-found`)Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 1/5 Under an hour Newbie friendliness 94/100
crossbario/autobahn-python#2046 ·
Maintainers usually reply within 1 day
-
Fresh comstockpostproc install fails on import: PyAthena 4.x requires SQLAlchemy 2 (AttributeError: sqlalchemy.types has no attribute DOUBLE)Possibly taken @JanghyunJK claimed this today. Openpostprocessing
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
NatLabRockies/ComStock#473 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
transitmatters/stripmap#45 ·
Maintainers usually reply within 3 days