
Noah Roberts
Gennadiy Rozental wrote:
Noah Roberts
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