Unable to build with cmake FetchContent
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cmake, cpp
- Domain
- build-system
Research direction
Start with the minimal reproducible CMakeLists.txt in the linked gist and inspect the FetchContent setup, then reproduce the generation error. Check how the dawn library is expected to reach third_party/lib and the _deps/gpucpp-{build/subbuild/src} paths. Done means a clean CMake build finds the library and headers without manually placing libdawn.dylib.
Written by the indexing model from the issue text.
Description
Expected: Use FetchContent_Delcare to declare the dependency and then use FetchContent_MakeAvailable and the built library and headers will be in the _deps/gpucpp-{build/subbuild/src}
Actual: The generating process ends up with an error. Error message and minimal reproducible CMakeLists.txt is inside the gist
The dawn library file doesn't appear in the third_party/lib directory. After I built this and put the libdawn.dylib into the third_party/lib directory the cmake command works.
- Dominant language
- C++
- Stars
- 4k
- Forks
- 199
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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 AnswerDotAI/gpu.cpp
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
AnswerDotAI/gpu.cpp#72 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
AnswerDotAI/gpu.cpp#51 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
AnswerDotAI/gpu.cpp#48 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
AnswerDotAI/gpu.cpp#45 · 4 comments ·
-
Python bindings Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
AnswerDotAI/gpu.cpp#21 · 6 comments · 1 reaction ·
All issues in AnswerDotAI/gpu.cpp
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
google/libultrahdr#485 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
godotengine/godot#123776 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 60/100
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
ros2/common_interfaces#344 ·