This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Iphone NEON compilation errors

Tags: None
(comma "," separated)
jimjones
Registered Member
Posts
2
Karma
0

Iphone NEON compilation errors

Sun Oct 31, 2010 4:50 pm
Greetings,

I'm trying to switch my home-grown iphone math library to eigen, but ran into compilation errors I can't decipher. I am able to compile it to target the intel-based simulator, but when I target the arm chip for the actual iphone, i see these errors. I apologize in advance for any obvious problems - I'm a C++ template neophyte!

errors:

Code: Select all
include/arm_neon.h:7860: error: cannot convert 'const float32_t*' to 'const float*' for argument '1' to '__builtin_neon_sf __vector__ __builtin_neon_vld1v2sf(const float*)'
include/arm_neon.h:7926: error: cannot convert 'const float32_t*' to 'const float*' for argument '1' to '__builtin_neon_sf __vector__ __builtin_neon_vld1v4sf(const float*)'
include/arm_neon.h:7986: error: cannot convert 'const float32_t*' to 'const float*' for argument '1' to '__builtin_neon_sf __vector__ __builtin_neon_vld1_lanev2sf(const float*, __builtin_neon_sf __vector__, int)'
.... (1142 more!)


I suspect it has to do with the arm_neon.h header & the float32_t type - but that's where I'm stuck.
User avatar
bjacob
Registered Member
Posts
658
Karma
3

Re: Iphone NEON compilation errors

Sun Oct 31, 2010 4:58 pm
You need Konstantinos here --- our ARM specialist. Find his email address in the Eigen/src/Core/arch/NEON/PacketMath.h file. You could CC him in a bug report, or in an email to the list.


Join us on Eigen's IRC channel: #eigen on irc.freenode.net
Have a serious interest in Eigen? Then join the mailing list!
jimjones
Registered Member
Posts
2
Karma
0

Re: Iphone NEON compilation errors

Sun Oct 31, 2010 8:58 pm
Thanks for the quick response. I mailed Konstantinos and will reply with a followup when/if I make progress.
nalinpradeep
Registered Member
Posts
1
Karma
0
OS

Re: Iphone NEON compilation errors

Wed Nov 17, 2010 7:17 pm
Jimjones,
I'm faced with similar issue, and would appreciate if you could share the fix for the compilation issues. Thanks.
manuels
Registered Member
Posts
47
Karma
0

Re: Iphone NEON compilation errors

Wed Nov 17, 2010 10:40 pm
Hi,

seems like there has been a change of the float32_t type from custom data type to a typedef for float:
http://www.pubbs.net/200911/gcc/3874-ne ... -type.html

This was one year ago, are your compilers/libs up to date?


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], rockscient, Yahoo [Bot]