You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 9-16 in Boost-for-Android-master\libiconv-libicu-android\setEnvironment-$(arch).sh
if uname -s | grep -i "linux" > /dev/null ; then
MYARCH=linux-$(arch)
NDK=`readlink -f $NDK`
elif uname -s | grep -i "darwin" > /dev/null ; then
MYARCH=darwin-x86_64
elif uname -s | grep -i "windows" > /dev/null ; then
MYARCH=windows-x86_64
fi
these codes fail to identify Windows( Mine is Win11 ), which makes $MYARCH an empty string. Then I got this error:
checking for aarch64-linux-android21-gcc... /d/Android/Sdk/ndk/android-ndk-r23c/toolchains/llvm/prebuilt//bin/aarch64-linux-android21-clang
checking whether the C compiler works... no
configure: error: in '/e/Download/Boost-for-Android-master/libiconv-libicu-android/arm64-v8a/libiconv-1.15':
configure: error: C compiler cannot create executables
See 'config.log' for more details
+ exit 1
I changed elif uname -s | grep -i "windows" > /dev/null ; then to just else to make it work.
I don't know whether it happens on all windows or just win11, but uname -s returns MINGW32_NT-6.2 in my shell.
The text was updated successfully, but these errors were encountered:
Line 9-16 in
Boost-for-Android-master\libiconv-libicu-android\setEnvironment-$(arch).sh
these codes fail to identify Windows( Mine is Win11 ), which makes $MYARCH an empty string. Then I got this error:
I changed
elif uname -s | grep -i "windows" > /dev/null ; then
to justelse
to make it work.I don't know whether it happens on all windows or just win11, but
uname -s
returnsMINGW32_NT-6.2
in my shell.The text was updated successfully, but these errors were encountered: