facebookresearch / playtorch

PlayTorch is a framework for rapidly creating mobile AI experiences.
https://playtorch.dev/
MIT License
830 stars 101 forks source link

CMake Error #222

Open mclbdn opened 1 year ago

mclbdn commented 1 year ago

Version

0.2.4

Problem Area

react-native-pytorch-core (core package)

Steps to Reproduce

Hi,

on Android, I get this error:

/Users/me/Documents/Proj/Project/node_modules/react-native-pytorch-core/android/CMakeLists.txt : C/C++ debug|armeabi-v7a : 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 /Users/me/Documents/Pro/Project/node_modules/react-native-pytorch-core/android JSI_LIB linked by target "torchlive" in directory /Users/me/Documents/Proc/Project/node_modules/react-native-pytorch-core/android PYTORCH_LIBRARY linked by target "torchlive" in directory /Users/me/Documents/Proj/Project/node_modules/react-native-pytorch-core/android REACT_NATIVE_JNI_LIB linked by target "torchlive" in directory /Users/me/Documents/Proj/Project/node_modules/react-native-pytorch-core/android

In package.json, I have: "react-native": "^0.68.5", "react-native-pytorch-core": "^0.2.4",

Expected Results

No response

Code example, screenshot, or link to repository

No response