HI,everyone.
I tried to load .X file on android and ios,but always suspend on line 2338 ( const f32 tmp = *(f32 *)P; ).
armv5 is OK.
I tried to fix it, but failed.
Any suggestions?
rainfall
CXMeshFileLoader on ARMV6/7 Error
Re: CXMeshFileLoader on ARMV6/7 Error
replace with : memcpy(&tmp, P, 4);
debug is OK, but release still crash.
so it seems like memory overflow
debug is OK, but release still crash.
so it seems like memory overflow
Re: CXMeshFileLoader on ARMV6/7 Error
some one tell me that my compiler is too old.
I will try LLVM GCC 4.2 later
I will try LLVM GCC 4.2 later
Re: CXMeshFileLoader on ARMV6/7 Error
Yay alignment. memcpy should have been ok though, perhaps there's a mistake in your change.
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: CXMeshFileLoader on ARMV6/7 Error
Could you please send me the .x file for testing?