Unable to build with cmake FetchContent
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- cmake, cpp
- Domaine
- build-system
Piste de recherche
Commencez par le CMakeLists.txt minimal reproductible du gist lié et examinez la configuration de FetchContent, puis reproduisez l’erreur de génération. Vérifiez comment la bibliothèque dawn est censée parvenir à third_party/lib et aux chemins _deps/gpucpp-{build/subbuild/src}. Le travail est terminé lorsqu’une compilation CMake propre trouve la bibliothèque et les headers sans placer manuellement libdawn.dylib.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
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.
- Langage dominant
- C++
- Étoiles
- 4k
- Forks
- 199
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de AnswerDotAI/gpu.cpp
-
Find the optimal LIMIT setting Ouverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
AnswerDotAI/gpu.cpp#72 ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
AnswerDotAI/gpu.cpp#51 ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
AnswerDotAI/gpu.cpp#48 ·
-
Does gpu.cpp support f64 or i64? Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
AnswerDotAI/gpu.cpp#45 · 4 commentaires ·
-
Python bindings Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
AnswerDotAI/gpu.cpp#21 · 6 commentaires · 1 réaction ·
Toutes les issues de AnswerDotAI/gpu.cpp
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
duckdb/duckdb-wasm#2258 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
objectionary/eo-graphs#75 ·
-
Coarray integration tests carry no LABELS, so run_tests.py silently skips them under every backend Ouvertecoarray
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
FISCO-BCOS/FISCO-BCOS#5642 ·