stuartcaunt / isgl3d

iOS Scene Graph Library: a 3D framework for the iPhone, iPad and iPod touch
http://isgl3d.com
Other
108 stars 46 forks source link

A problem of ios deviece build #46

Open fanliugen opened 12 years ago

fanliugen commented 12 years ago

in xcode4.4,i build app,appear problem below: isgl3d-isgl3d-8838b99/isgl3d/math/vfp/matrix_impl.m:36:17: Instruction 'fldmia' can not set flags, but 's' suffix specified

isgl3d/math/vfp/matrix_impl.m:60:45: Instruction 'fldmia' can not set flags, but 's' suffix specified

jesperschlager commented 12 years ago

I have this same issue.. any luck resolving it?

johankool commented 12 years ago

I ran into this issue too. And found this StackOverflow discussion: http://stackoverflow.com/questions/11783751/inline-assembly-issue-with-llvm-4-0

It changed fldmias to VLDMIA.32 for someone else's problem. I figured it could work here too. And with some sheer guess work I resolved the other build error by replacing fstmias with VSTMIA.32. And it worked!

Now, I don't know any assembly myself, and I am completely out of my comfort zone here. So if someone can confirm this isn't utter bull, that'd be great. Anyway, I'll do a PR soon with these changes.