[CMake] linking error after upgrading to snow leopard
Boudewijn Rempt
boud at valdyas.org
Fri Sep 11 14:16:14 EDT 2009
On Friday 11 September 2009, James C. Sutherland wrote:
> On Sep 11, 2009, at 8:24 AM, Boudewijn Rempt wrote:
> > I'm getting weird linking errors after I upgraded to Snow Leopard.
>
> This is probably because the library you are linking to is 32-bit and
> Snow Leopard's development environment will produce 64-bit binaries.
>
> Try recompiling the library/libraries you are linking against.
That's why I specified -arch i386 -- and if I don't do that, Qt tells me it's
32 bits and I'm trying to build a 64 bit app.
--
Boudewijn Rempt | http://www.valdyas.org
More information about the CMake
mailing list