Registered Member
|
We are developing an application for iphone 4 in xcode4 where we get an error when compiling for the device:
{standard input}: unknown: Undefined local symbol LC85 {standard input}: unknown: Undefined local symbol LC86 Command / Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1 We are using the gcc 4.2 and Eigen packages such as SVD, Array, QR, LU, Core, Cholesky, etc. However when compiling for the iPhone Simulator 4 gives no error. As could be solved? |
Moderator
|
this seems to be the same issue as here:
viewtopic.php?f=74&t=94774 and it seems this has never been really fixed. In the meantime you could #define EIGEN_DONT_VECTORIZE Also, which version of Eigen are you using? |
Moderator
|
could you try the following patch to see if that does the trick? (I cannot test myself)
|
Registered Member
|
ggael's patch code works only when I include Eigen/Core and use basic arithmatic functions.
Though, it also makes a compile error when I use SVD function such as 'jacobiSvd' in Eigen/SVD. Anyone has solved this problem? @ I am using the latest Eigen (ver 3.0.3) and iOS 4.3.4 with iPhone 3GS and Xcode 4.1 |
Registered Member
|
One thing I can suggest from personal experience -- try getting a somewhat decent version of a compiler. GCC 4.2 is pre-historic by now, and I know that the fruit company isn't too keen on updates, but I had my fair share of trouble with a product I do for Mac OS and most, if not all, of them went away by getting a newer compiler.
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]