Boost logo

Boost Users :

Subject: Re: [Boost-users] newbie needs help with a linker problem
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-03-08 23:07:47


AMDG

On 03/08/2013 04:47 PM, Phil Huffman wrote:
> Hello,
>
> I just installed Boost and GMP on my Mac, using all defaults. I want to use
> GMP via Boost, but
> there is a problem with the linker. I'm sure that clang is getting a bit
> lost looking for GMP's object
> modules. Any help will be gratefully accepted. Thanks.
>
>
> When I compile the below program:
>
> <snip>
>
> using this command:
>
> c++ -I /usr/local/boost_1_53_0 mpz1.cpp -o mpz1 -v
>

You might try adding -lgmp

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net