简体   繁体   中英

how to compile wxwidgets on aarch64 with neon disabled

I need to use a wxwidgets application on my rooted device running Ubuntu yakkety but when I compile with default settings and run it, this is what happens-

undefined symbol: wx_png_init_filter_functions_neon 

What do I need to do to disable the neon specific code?

Clarification

This is not cross compiling. I am compiling wxwidgets on the device itself, ie, on an aarch64 based system. also, ndk is not involved at all.

Here​are the args I ran configure.sh with-

--disable-shared --enable-unicode --enable-compat28 --with-libjpeg=builtin --with-libpng=builtin --with-libtiff=no --with-expat=no --with-zlib=builtin --disable-richtext --with-gtk=2 CFLAGS="-Os -fPIC" CXXFLAGS="-Os -fPIC"

It appears to be a libpng problem; I fixed it by not using the --with-libpng=builtin compile time option, as suggested by Igor.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM