Re: [Boost-users] Boost unit_test.cpp problem when try to compile simple program

Gennadiy Rozental writes:
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 "
Just to close the topic. We can use boost/test/included/unit_test.hpp with Boost DLLs. We have to define BOOST_TEST_SOURCE. RM -- My public key can be found at https://keyserver2.pgp.com

Robert Matusewicz
Gennadiy Rozental writes:
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 "
Just to close the topic. We can use boost/test/included/unit_test.hpp with Boost DLLs. We have to define BOOST_TEST_SOURCE.
Just to be clear. This is a hack. So if anything going wrong, please do not send angry e-mails here ;o) Gennadiy
participants (2)
-
Gennadiy Rozental
-
Robert Matusewicz