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

Non-generic Arm flags #86

Open
jolting opened this issue Jun 12, 2014 · 0 comments
Open

Non-generic Arm flags #86

jolting opened this issue Jun 12, 2014 · 0 comments

Comments

@jolting
Copy link

jolting commented Jun 12, 2014

In OpenNI2/ThirdParty/PSCommon/BuildSystem/Platform.Arm this line should probably be removed.
CFLAGS += -march=armv7-a -mtune=cortex-a9 -mfpu=neon -mfloat-abi=softfp #-mcpu=cortex-a8

Not all arm systems are cortex-a9, armv7-a, support neon and most importantly some use hard float abis. These CFLAGS should be specified at compile time for a specific platform by passing them into make.

For example -mfloat-abi=softfp creates build errors on Ubuntu 14.04 armhf.

It seems that the neon is required. It should probably be noted somewhere that OpenNI2 only supports ARM with NEON.

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