Registered Member
|
I've run into a cryptic error message when trying to include Eigen in my iphone projects. It seems that everything compiles and runs as advertised when I have the EIGEN_DONT_VECTORIZE flag set, but I get the following error message otherwise.
{standard input}:unknown:Undefined local symbol LC0 {standard input}:unknown:Undefined local symbol LC1 Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1 I created a new project on my system to replicate and isolate the issue, but now I'm stuck. I'm using Xcode 3 and have the -mfpu=neon -mfloat-abi=softfp flags set. The ARM-NEON optimizations are the main reason I want to use Eigen, so I need to fix this before I can more forward. Anybody have any ideas or advice for how to fix this? Thanks. |
Registered Member
|
Apparently the compiler is confused by the static global variables in NEON/Complex.h, wrapping them in inline functions returning them solves the problem. Patch coming.
Join us on Eigen's IRC channel: #eigen on irc.freenode.net
Have a serious interest in Eigen? Then join the mailing list! |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora