Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

CMake Error #222

Open
mclbdn opened this issue Jul 20, 2023 · 0 comments
Open

CMake Error #222

mclbdn opened this issue Jul 20, 2023 · 0 comments

Comments

@mclbdn
Copy link

mclbdn commented Jul 20, 2023

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant