can't buld for android

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
freefly
In need of some credit
In need of some credit
Posts: 2
Joined: Fri Oct 13, 2017 11:08 am

can't buld for android

Post by freefly »

https://wiki.wxwidgets.org/WxAndroid/build

I down wxWidgets-SOC2014_ANDROID.zip,and build it。

../configure --with-android --host=arm-linux-androideabi --enable-aui --enable-monolithic

error:
checking whether the C compiler works... no
configure: error: C compiler cannot create executables

I try NDK9、NDK10、NDK14、NDK15、NDK16,use different arm-linux-androideabi-gcc,build helloword is well,I don't know why。


NDK9 clang3.3 work well,but when i make,it error:
make: *** [Makefile:15121:/cygdrive/love/wx-android/lib/libwxregexu-3.1-arm-linux-androideabi.a] error 1
User avatar
doublemax
Moderator
Moderator
Posts: 19114
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: can't buld for android

Post by doublemax »

There are probably very few people who ever tried to build wxWidgets for Android.

If you don't get a response here, try asking on the wx-users mailing list:
https://groups.google.com/forum/#!forum/wx-users

Be aware that wxAndroid is stuck in pre-alpha stage for years and it's unlikely it will ever see any more development. You might have a better chance with wxQt under Android.
https://github.com/wxWidgets/wxWidgets/ ... nstall.txt
Use the source, Luke!
freefly
In need of some credit
In need of some credit
Posts: 2
Joined: Fri Oct 13, 2017 11:08 am

Re: can't buld for android

Post by freefly »

:o thank you,https://github.com/reingart/wxWidgets/w ... droidNotes


but configure file not have arm-linux-androideabi,so can't write:
../configure --with-qt --host=arm-linux-androideabi
Post Reply