Stockfish ndk-build
olsbg opened this issue · comments
Hi,
I am trying to use this package in an Ionic app but I got stuck.
When trying to ndk-build -C app/platforms/android within ionicApp/node_modulescordova-plugin-stockfish directory I am getting:
make: *** app/platforms/android: No such file or directory. Stop.
After changing the command to ndk-build -C src/android I am getting a bit further:
make: Entering directory 'G:/ionicApps/ionicApp/node_modules/cordova-plugin-stockfish/src/android'
[armeabi-v7a] Compile++ thumb: stockfishjni <= stockfishjni.cpp
jni/stockfishjni/stockfishjni.cpp:3:10: fatal error: 'threadbuf.h' file not found
#include <threadbuf.h>
Thanks!
Any idea what am I missing here?
Are you using ionic capacitor? the plugin is not compatible with capacitor in the master branch since it's a cordova plugin, but you can try the capacitor
branch.