-
Notifications
You must be signed in to change notification settings - Fork 103
libreactnativejni.so is missing when adding the live package #57
Comments
In addition, I also tried to use the newest Live Core. Currently, It still has issues with the CMake: |
@JonathanSum u need to up or downgrade your react native to v0.65.1, I have tested all version, and only v0.65.1 work |
@Gernii |
@JonathanSum any luck with @Gernii's suggestion? |
It was my final year and final semester of my school, so it was so busy. I am currently starting to try @Gernii's solution. The RN I am currently using is "react-native": "0.64.3", and I am going to update it. I hope it can work from 0.65.1 or above. I will try to fix it this weekend. I am pretty busy right now. |
So it can only work in 0.65.1 at this momoment? |
@JonathanSum v0.1.3 only work with v0.65, i dont know how lib demo work with v0.64, if u want to work in v0.66+, u have to wait for lib next version, if u still want to use in v0.66+ u can use '@nightly'. |
@Gernii and @JonathanSum, the latest nightly has support for up to React Native 0.68. React Native 0.69 is not yet supported, but we are also looking into supporting it. The fix for 0.68 has been added in commit fix RN0.68 can't build with react-native-pytorch-core, which is currently only available in the nightly version. Please have a look at the docs "Add Package to Existing App" for more information how to set up the project. Can you let us know if this unblocks you? |
Closing this because my issue was solved in another way. |
@raedle I will try to add it to my project with my OnePlus7 later to see if this unblocks me or not. |
Version
No response
Problem Area
react-native-pytorch-core (core package)
Steps to Reproduce
Related: https://stackoverflow.com/questions/44485941/lib-so-missing-and-no-known-rule-to-make-it
Expected Results
Error while executing process D:\ADK\cmake\3.10.2.4988404\bin\ninja.exe with arguments {-C D:\XXXXXXXXXXX\Main\Project\Project\XXXXXXX\src\mobile\node_modules\react-native-pytorch-core\android.cxx\cmake\debug\armeabi-v7a torchlive}
ninja: Entering directory `D:\XXXXXXXXXXX\Project\Project\XXXXXXX\src\mobile\node_modules\react-native-pytorch-core\android.cxx\cmake\debug\armeabi-v7a'
ninja: error: '../../../../build/react-native-0.64.3.aar/jni/armeabi-v7a/libreactnativejni.so', needed by '../../../../build/intermediates/cmake/debug/obj/armeabi-v7a/libtorchlive.so', missing and no known rule to make it
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
FBJNI_LIBRARY
linked by target "torchlive" in directory /cygdrive/d/XXXXXXXXXXX Main/Project/Project/XXXXXXX/src/mobile/node_modules/react-native-pytorch-core/android
PYTORCH_LIBRARY
linked by target "torchlive" in directory /cygdrive/d/XXXXXXXXXXX Main/Project/Project/XXXXXXX/src/mobile/node_modules/react-native-pytorch-core/android
REACT_NATIVE_JNI_LIB
linked by target "torchlive" in directory /cygdrive/d/XXXXXXXXXXX Main/Project/Project/XXXXXXX/src/mobile/node_modules/react-native-pytorch-core/android
REACT_NATIVE_UTILS_LIB
linked by target "torchlive" in directory /cygdrive/d/XXXXXXXXXXX Main/Project/Project/XXXXXXX/src/mobile/node_modules/react-native-pytorch-core/android
Code example, screenshot, or link to repository
No response
The text was updated successfully, but these errors were encountered: