veloce / cordova-plugin-stockfish Goto Github PK
View Code? Open in Web Editor NEWCordova interface for the Stockfish chess engine
License: GNU General Public License v3.0
Cordova interface for the Stockfish chess engine
License: GNU General Public License v3.0
Per an Android announcement, the Android OS migrated to Clang from GCC long ago, and "future versions" of the NDK will disallow GCC as a compiler.
As of at least Android NDK r19c (19.2.5345600), GCC is banned:
Execution failed for task ':app:externalNativeBuildDebug'.
> Build command failed.
Error while executing process /home/joe/Android/Sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/joe/code/lichobile/platforms/android/app/src/main/jni/Android.mk NDK_APPLICATION_MK=/home/joe/code/lichobile/platforms/android/app/src/main/jni/Application.mk APP_ABI=x86 NDK_ALL_ABIS=x86 NDK_DEBUG=1 APP_PLATFORM=android-21 NDK_OUT=/home/joe/code/lichobile/platforms/android/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=/home/joe/code/lichobile/platforms/android/app/build/intermediates/ndkBuild/debug/lib /home/joe/code/lichobile/platforms/android/app/build/intermediates/ndkBuild/debug/obj/local/x86/libstockfishjni.so}
/home/joe/Android/Sdk/ndk-bundle/build/core/setup-toolchain.mk:52: *** Android NDK: Invalid NDK_TOOLCHAIN_VERSION value: 4.9. GCC is no longer supported. See https://android.googlesource.com/platform/ndk/+/master/docs/ClangMigration.md. . Stop.
I found a bug in veloce/lichobile in a 960 replay analysis. App crashes when rewinding or fast forwarding on iOS.
Will try to reproduce on android too.
It appears to be a bug in stockfish.
Some issues to try, I'll make pull requests if any work:
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.