Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Unable to build with cmake FetchContent

未關閉
#42 8 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 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

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

AnswerDotAI/gpu.cpp 的其他 Issue

查看 AnswerDotAI/gpu.cpp 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。