AnswerDotAI / AnswerDotAI/gpu.cpp

Unable to build with cmake FetchContent

Offen
#42 8 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
4k
Forks
199
Ø Merge
2 Min.
Gemergte PRs (30 T.)
3

Beschreibung

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](https://gist.github.com/kagurazaka-ayano/64a806bff6de0c6a7ba7a00d12eff3dc)

The dawn library file doesn't appear in the third_party/lib directory. After I built [this](https://github.com/jspanchu/webgpu-dawn-binaries) and put the libdawn.dylib into the third_party/lib directory the cmake command works.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.