Boost logo

Boost Users :

Subject: Re: [Boost-users] Can't get boost log example to link
From: Klaim - Joël Lamotte (mjklaim_at_[hidden])
Date: 2013-07-22 05:16:06


On Mon, Jul 22, 2013 at 9:00 AM, Leo Carreon <lcarreon_at_[hidden]>wrote:

> If I'm not mistaken, you need to have -DBOOST_LOG_DYN_LINK on the compile
> and link command lines.

Only if you compiled boost (or got a package where boost) with dynamic
linking.
With static linking you don't need this.

However, make sure that you are linking with log_setup too.

Joel Lamotte



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