Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost unit_test.cpp problem when try to compile simple program
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-09-25 08:47:35


Robert Matusewicz <matekm <at> gmail.com> writes:

>
> > The only way these even remotely possible if BOOST_TEST_DYN_LINK is defined
> > somewhere.
> >
> > Gennadiy
>
> Yes, Yes - I link to dynamic Boost and use BOOS_ALL_DYN_LINK. There is
> no way to use Boost.Test with dynamic linking?

You need different include than. Can't have it both ways. Either you include
library implementation or you link with it.

Use boost/test/unit_test.hpp


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