Subject: Re: [boost] threads: linking on OSX
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-10-02 20:13:54
David M. Cotter wrote:
> I followed the instructions from here:
> and it spent a bunch of time compiling everything. no errors. yay.
> so then i go to link my program, i added <boost
> dir>/stage/lib/libboost_thread.a to my project, cuz that's how you
> static link, right? where <boost dir> is the location of the boost
> but it says:
> file is not of required architecture
> Undefined symbols:
> <long list of all the boost symbols i used>
> interesting that even by adding the .a file, it went and found the
> dylib? is that normal? anyway, wrong architecture?? how do i make
> it build universal? (PPC plus intel?
bjam ... architecture=combined
> and what's with the missing symbols?
You can ignore these errors. They should go away with
the architecture problem.
> i'm not really a n00b, i just appear to be one today.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk