Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
monckey100 opened this issue Dec 15, 2019 · 0 comments
Open

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

monckey100 opened this issue Dec 15, 2019 · 0 comments

Comments

@monckey100
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant