Replies: 6 comments 10 replies
-
Eh i dont know any java but looking at this makes me wonder why you write to outputstream ? You have to write to stdin and stockfish's output will be stdout. There's some small documentation on how to interact with Stockfish from your own app. |
Beta Was this translation helpful? Give feedback.
-
Since I don't think there are many Android developers here, you might want to take a look at how other developers did it
|
Beta Was this translation helpful? Give feedback.
-
hello, haw you create libstockfish.so. I have problem with it. can you help? |
Beta Was this translation helpful? Give feedback.
-
and after : |
Beta Was this translation helpful? Give feedback.
-
and after ::::: add_custom_target( C/C++: :6:9: error: Could not find incbin file 'nn-ad9b42354671.nnue' |
Beta Was this translation helpful? Give feedback.
-
@seekkii how to do it without this nnue file? |
Beta Was this translation helpful? Give feedback.
-
Hello, I have created a share library file named libstockfish.so with all the executables downloaded from the official website by syncing Cmakelist,txt with graddle. I put the shared library inside appropriate architecture folders, arm64-v8a, armeabi-v7a, x86, x86_64, the compiler was able to recognize the file and I managed to load it without any exception:
Then I make a thread that handle command lines which will be passed and write it to line:
Then I start the thread and pass the command in by writing to the thread outputstream, but the received result from process.inputstream is null.
So I would like to ask if this behavior is expected? ,or am I doing something wrong? , any help will be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions