CMake error: hermes-engine::libhermes target not found when building react-native-worklets-core with New Architecture enabled
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- android, cmake, cpp, react-native
- Ambito
- build-system, mobile-dev
Direzione di ricerca
Start by reproducing the Android build with newArchEnabled=true and hermesEnabled=true, then inspect the CMake configuration and patches/react-native-worklets-core+1.6.2.patch mentioned in the issue. Trace why rnworklets cannot find hermes-engine::libhermes. Done means the project builds successfully with Hermes and the New Architecture enabled.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
When building an Android project using react-native-worklets-core, the build fails with a CMake error related to Hermes linking.
Error
Target "rnworklets" links to target "hermes-engine::libhermes" but the target was not found.
Environment
- React Native: [your version]
- react-native-reanimated: [your version]
- react-native-worklets-core: 1.6.2
- Platform: Android
- Hermes: Enabled
- New Architecture: Enabled
Steps to Reproduce
- Enable new architecture:
newArchEnabled=true
hermesEnabled=true
- Install dependencies
- Run:
npx react-native run-android
Expected Behavior
Project should build successfully with Hermes + New Architecture.
Actual Behavior
Build fails during CMake configuration step.
Patch / Diff
PASTE YOUR PATCH FILE CONTENT HERE
Additional Notes
Disabling new architecture (newArchEnabled=false) resolves the issue.
---
## ✅ Step 6: Paste your patch
👉 Copy entire content of:
```bash
patches/react-native-worklets-core+1.6.2.patch
- Lingua principale
- C++
- Stelle
- 791
- Fork
- 65
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di margelo/react-native-worklets-core
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
margelo/react-native-worklets-core#271 · 1 commento ·
-
Unable to download JS bundle Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
margelo/react-native-worklets-core#268 · 2 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
margelo/react-native-worklets-core#267 · 1 commento · 1 reazione ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
margelo/react-native-worklets-core#266 · 1 commento · 2 reazioni ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 20/100
Tutte le issue di margelo/react-native-worklets-core
Issue simili
-
[CI] Nightly Clang build broken: structured binding captured in a lambda in FileDataSource.cpp Apertabug build
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
facebookincubator/velox#19194 ·
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW Apertafuzz
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ClickHouse/ClickHouse#122114 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
module/agent platform/macos type/bug/regression
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
enhancement PyCDE
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100