I've just build the OpenCollada library onto armv7, armv7s and arm64. The arm64 seems to be working a treat but the armv7 and armv7s keep throwing EXC_ARM_DA_ALIGN errors.
These occurred in GeneratedSaxParserParserTemplate.h line 733 (I think) with the code:
Code :typedBuffer = fragmentData;
I had to make it a memcpy:
Code :memcpy(&(typedBuffer), &fragmentData, sizeof(fragmentData));
Which appears to work, I also had to make the adjustment at other points.
andCode :memcpy(&(typedBuffer[dataBufferIndex]), &dataValue, sizeof(dataValue));
LibraryEffectsLoader::handleColorData I had to change the way it was getting the data from the float array to:
Those changes worked for a while but other models started throwing the same issue in COLLADABUURI.cpp so I'm wondering if there is something else afoot, probably with the way I'm building the libs?
Any help would be appreciated