Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stockfish ndk-build #16

Open
olsbg opened this issue Dec 17, 2020 · 2 comments
Open

Stockfish ndk-build #16

olsbg opened this issue Dec 17, 2020 · 2 comments

Comments

@olsbg
Copy link

olsbg commented Dec 17, 2020

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?

@veloce
Copy link
Owner

veloce commented Dec 19, 2020

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.

@olsbg
Copy link
Author

olsbg commented Dec 20, 2020 via email

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

No branches or pull requests

2 participants