Unable to build with cmake FetchContent
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- cmake, cpp
- 領域
- build-system
研究方向
從連結的 gist 中的最小可重現 CMakeLists.txt 開始,檢查 FetchContent 設定,然後重現產生錯誤。檢查預期如何讓 dawn 函式庫到達 third_party/lib 以及 _deps/gpucpp-{build/subbuild/src} 路徑。完成的標準是:在不手動放置 libdawn.dylib 的情況下,乾淨的 CMake 建置能夠找到該函式庫和標頭檔。
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- C++
- 星號
- 4k
- 分支
- 199
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
AnswerDotAI/gpu.cpp 的其他 Issue
-
難度 5/5 一週以上 新手友好度 25/100
AnswerDotAI/gpu.cpp#72 ·
-
難度 4/5 3-5 天 新手友好度 35/100
AnswerDotAI/gpu.cpp#51 ·
-
難度 3/5 1-2 天 新手友好度 35/100
AnswerDotAI/gpu.cpp#48 ·
-
難度 3/5 1-2 天 新手友好度 35/100
AnswerDotAI/gpu.cpp#45 · 4 則留言 ·
-
Python bindings 未關閉
難度 4/5 3-5 天 新手友好度 35/100
AnswerDotAI/gpu.cpp#21 · 6 則留言 · 1 個 reaction ·
查看 AnswerDotAI/gpu.cpp 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 75/100
-
good first issue
難度 2/5 1-3 小時 新手友好度 75/100
ros2/message_filters#338 ·
-
難度 2/5 1-3 小時 新手友好度 70/100
subsurface/subsurface#4984 ·
-
難度 2/5 1-3 小時 新手友好度 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
難度 2/5 1-3 小時 新手友好度 70/100
google-ai-edge/LiteRT-LM#3739 ·