google / liquidfun

2D physics engine for games

Home Page:http://google.github.io/liquidfun

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

b2ParticleAssembly.neon.s unable to compile under arm64-v8a

monckey100 opened this issue · comments

Trying to compile under ARM64-V8a has been unsuccessful...

running these flags:

    QMAKE_CXXFLAGS_RELEASE = -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
    QMAKE_CFLAGS_DEBUG = -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
    QMAKE_CXXFLAGS_DEBUG = -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp

you get
:-1: error: the clang compiler does not support '-march=armv7-a'

Omitting it you get the same error for cortex-a8, omitting THAT and you get a problem with the neon assembly file. I am able to compile and deploy without those flags for armeabi-v7a which tells me the compiler does not like the assembly file. I have a feeling this is me being inexperienced with android compilers but I was able to compiler the library, and link with the .a

Doing so ran into another issue where the library could not see the Box2DParticleSystem, which led me back to trying to link the static library