Moderators: Elijah , Igbo , timetraveller
Archimedes
Forum Contributions Points: 42 582,00
Posts: 2059 Joined: 04/11/2019, 21:13
Status: Offline (Active 4 Hours, 17 Minutes ago)
Medals: 2
Topics: 158 Reputation: 7111
Been thanked: 6477 times
Post
by Archimedes » 14/04/2023, 9:06
Kepcuk wrote: ↑ 12/04/2023, 9:31
clang-16: error: unknown argument: '-fexperimental-new-pass-manager'
As an alternative use the makefile I use for CfishNN (the source code is included in the zip archive). But it is only for arm64-v8a.
Code: Select all
make net
make profile-build COMP=clang
Kepcuk
I've been banned! Points: 6 000,00
Posts: 45 Joined: 01/02/2023, 13:20
Status: Offline (Active 10 Months, 3 Weeks, 5 Days, 19 Hours, 1 Minute ago)
Topics: 9 Reputation: 18
Has thanked: 9 times
Been thanked: 51 times
Post
by Kepcuk » 14/04/2023, 14:03
Thanks to all for helping. Can we embed ini settings file to engine? Also Archimedes can u look for requests? Thanks
angel44e
Forum Contributions Points: 11 227,00
Posts: 135 Joined: 19/04/2023, 16:17
Status: Offline (Active 2 Weeks, 4 Days, 7 Hours, 24 Minutes ago)
Topics: 8 Reputation: 170
Has thanked: 77 times
Been thanked: 232 times
Post
by angel44e » 13/06/2023, 13:44
Hi,Archie! Could you explain how to compile OEX android engines with Android Studio like your first post in that topic,please?
angel44e
Forum Contributions Points: 11 227,00
Posts: 135 Joined: 19/04/2023, 16:17
Status: Offline (Active 2 Weeks, 4 Days, 7 Hours, 24 Minutes ago)
Topics: 8 Reputation: 170
Has thanked: 77 times
Been thanked: 232 times
Post
by angel44e » 14/06/2023, 6:27
When I've compiled an engine by clang and it was compiled successfully(without any errors and warnings) it's failed to started in Droidfish in most cases.But when I've compiled the same engine by ndk there is no problem with it,what caused this?
Archimedes
Forum Contributions Points: 42 582,00
Posts: 2059 Joined: 04/11/2019, 21:13
Status: Offline (Active 4 Hours, 17 Minutes ago)
Medals: 2
Topics: 158 Reputation: 7111
Been thanked: 6477 times
Post
by Archimedes » 14/06/2023, 9:16
You compiled under Termux? Does the chess engine work there?
Maybe -static-libstdc++ is missing. Another cause could be the wrong API level.
angel44e
Forum Contributions Points: 11 227,00
Posts: 135 Joined: 19/04/2023, 16:17
Status: Offline (Active 2 Weeks, 4 Days, 7 Hours, 24 Minutes ago)
Topics: 8 Reputation: 170
Has thanked: 77 times
Been thanked: 232 times
Post
by angel44e » 14/06/2023, 10:11
Yes,Archie,I've compiled under Termux.How to check if the engine is working in Termux? I've installed Termux,then I've downloaded ndk,and then started your cecsa.sh to install all needed tools and I think it successfully done.And how to add -static-libstdc++ if missing?
angel44e
Forum Contributions Points: 11 227,00
Posts: 135 Joined: 19/04/2023, 16:17
Status: Offline (Active 2 Weeks, 4 Days, 7 Hours, 24 Minutes ago)
Topics: 8 Reputation: 170
Has thanked: 77 times
Been thanked: 232 times
Post
by angel44e » 14/06/2023, 12:48
I've been running Android 11 API 30 if it depends.
angel44e
Forum Contributions Points: 11 227,00
Posts: 135 Joined: 19/04/2023, 16:17
Status: Offline (Active 2 Weeks, 4 Days, 7 Hours, 24 Minutes ago)
Topics: 8 Reputation: 170
Has thanked: 77 times
Been thanked: 232 times
Post
by angel44e » 25/06/2023, 7:40
Hi,Archie! How to compile for Android an engine with mostly header(.h) files in the source code, for example
Clover 5.0 ?
Archimedes
Forum Contributions Points: 42 582,00
Posts: 2059 Joined: 04/11/2019, 21:13
Status: Offline (Active 4 Hours, 17 Minutes ago)
Medals: 2
Topics: 158 Reputation: 7111
Been thanked: 6477 times
Post
by Archimedes » 25/06/2023, 9:52
angel44e wrote: ↑ 25/06/2023, 7:40
Hi,Archie! How to compile for Android an engine with mostly header(.h) files in the source code, for example
Clover 5.0 ?
As long as the source code is not just header files, there is hope (see main.cpp in the src directory). A look at the makefile of Clover would answer your question.
superbatil
Forum Contributions Points: 14 010,00
Posts: 76 Joined: 24/02/2022, 11:23
Status: Offline (Active 2 Weeks, 5 Hours, 25 Minutes ago)
Topics: 0 Reputation: 17
Has thanked: 1 time
Been thanked: 51 times
Post
by superbatil » 18/07/2023, 19:07
I can not see it in /usr/bin/ on termux
Code: Select all
/data/data/com.termux/files/usr/bin
this is available, instead of (aarch64-linux-android21-clang
aarch64-linux-android21-clang++)
Code: Select all
aarch64-linux-android-ar
aarch64-linux-android-clang
aarch64-linux-android-clang++
aarch64-linux-android-cpp
aarch64-linux-android-g++
aarch64-linux-android-gcc
aarch64-linux-android-ld
aarch64-linux-android-nm
aarch64-linux-android-objdump
aarch64-linux-android-ranlib
aarch64-linux-android-readelf
aarch64-linux-android-strip
Archimedes
Forum Contributions Points: 42 582,00
Posts: 2059 Joined: 04/11/2019, 21:13
Status: Offline (Active 4 Hours, 17 Minutes ago)
Medals: 2
Topics: 158 Reputation: 7111
Been thanked: 6477 times
Post
by Archimedes » 19/07/2023, 9:25
superbatil wrote: ↑ 18/07/2023, 19:07
I can not see it in /usr/bin/ on termux
Code: Select all
/data/data/com.termux/files/usr/bin
this is available, instead of (aarch64-linux-android21-clang
aarch64-linux-android21-clang++)
Code: Select all
aarch64-linux-android-ar
aarch64-linux-android-clang
aarch64-linux-android-clang++
aarch64-linux-android-cpp
aarch64-linux-android-g++
aarch64-linux-android-gcc
aarch64-linux-android-ld
aarch64-linux-android-nm
aarch64-linux-android-objdump
aarch64-linux-android-ranlib
aarch64-linux-android-readelf
aarch64-linux-android-strip
May I ask what you are actually looking for?