Re: [eigen] Problems linking on OS X

[ Thread Index | Date Index | More Archives ]

There is nothing in Eigen to link to your project: it's just headers
files to include. It's true that in Eigen 2.0 there was an option to
build a binary library containing some common instantiations, but we
removed that in the devel branch, and you shouldn't use it. Just unzip
the eigen archive and use the headers right away.


2010/6/7 c. leepa <cleepa@xxxxxxxxx>:
> Hi all,
> I'm trying to use Eigen with gcc 4.0 in XCode (although gcc 4.2 has the same
> problem). When I try to link my project, I get the following error:
> ld: bl out of range (24740123 max is +/-16M) from
> Eigen::ei_isMuchSmallerThan(float, float, float)at 0x00164A60 in __text of
> /Users/cleepa/code/audio/MyPlugin/MacBuild/../../PT_SDK/MacBag/Intermediates/
> to std::__ioinit  at 0x004AA6D7 in __bss of
> /Users/cleepa/code/audio/MyPlugin/MacBuild/../../PT_SDK/MacBag/Intermediates/
> in Eigen::ei_isMuchSmallerThan(float, float, float)from
> /Users/cleepa/code/audio/MyPlugin/MacBuild/../../PT_SDK/MacBag/Intermediates/
> This only happens when building Debug PPC - Release i386 and PPC work fine.
> QRInstantiations.o is ~56M, which I assume is part of the problem.
> I couldn't find reports of similar problems. Does anyone have any ideas?
> Thanks!

Mail converted by MHonArc 2.6.19+