Re: [eigen] Problems linking on OS X |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Problems linking on OS X
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Mon, 7 Jun 2010 21:53:42 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=jNKeVVr+4YgLTY2sZZJLf1uYa1pzU13ZDNZwWrkZqe0=; b=VeP8pJ9xlgVTHjxNE50jhrhp9Xn7z6Mg8qz2dYYOR7is4nXxg8e89EluDqpUZcFpVx zEbeJopFsg57tJ66R9lq8l6VE7JHHjq04TdhlH1XnOBdlrDAubWxcsHXyxZnjbAdpEo3 fYbAlU5w2xfzm4suHtgfe2xt9F/GJBjD1wkbo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=lKBpna5KuEYbBMY+GW3bGfOadKeGWKiuA+CQqTtB5s6PzNFETBpVCZ/cz80ja/Kemw P5dRqdx0oGBUdeIUO5jE+HCPic67F+ha5W0/HvY2I0xAXtQHV2c75+KcVyhlOQJ0i6z3 FwguoEHHmmZRta7BszKpPm2GWl/q9Q8crm0AU=
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.
Benoit
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/MyPlugin.build/Debug/MyPlugin.build/Objects-normal/ppc/QrInstantiations..o
> to std::__ioinit at 0x004AA6D7 in __bss of
> /Users/cleepa/code/audio/MyPlugin/MacBuild/../../PT_SDK/MacBag/Intermediates/MyPlugin.build/Debug/MyPlugin.build/Objects-normal/ppc/QrInstantiations..o
> in Eigen::ei_isMuchSmallerThan(float, float, float)from
> /Users/cleepa/code/audio/MyPlugin/MacBuild/../../PT_SDK/MacBag/Intermediates/MyPlugin.build/Debug/MyPlugin.build/Objects-normal/ppc/QrInstantiations..o
>
> 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!
>