Boost logo

Boost Users :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2008-05-16 15:28:04


Noah Roberts <roberts.noah <at> gmail.com> writes:

>
> Gennadiy Rozental wrote:
> > Noah Roberts <roberts.noah <at> gmail.com> writes:
> >>> Check your link line. The only way to get this kind of error is to
> >>> either link with wrong library or no library at all.
> >> Sorry, I must be imagining things again. It must be building and I just
> >> can't see past my own delusion to see that.
> >
> > So, it works now?
>
> Well, since it can't possibly not...it must. I just can't see it.
>
> From my OP: "I'm liking to the unit-test-framework-s library."

Your attempts to being sarcastic are in no way productive. I can assure you
that I personally have no problem linking your example. An error like

> undefined reference to `boost::test_tools::tt_detail::check_impl

means the reference is undefined, which means no one defined it. Unit Test
framework does define it (it's implemented in test_tools.ipp). So either you
are not linking to it (check again your makefile), or you are linking to wrong
library (for example built for different version of boost, or with different
compiler)

HTH,

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