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 00:42:57


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

>
> I tried to use Boost test module in my project but I have a little
> problem. When I try to compile simple program:
>
> #define BOOST_TEST_MAIN
> #include <boost/test/included/unit_test.hpp>
>
> it fails to compile on Visual Studio 2008 with three errors:

How do you compile it? What is command line?

The only way these even remotely possible if BOOST_TEST_DYN_LINK is defined
somewhere.

Gennadiy


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