I have some internal (non-exported) classes in a DLL that I want to test. I'm trying to do this by exporting a testInternals() function that my tester application will add to it's test suite.

The problem I'm having is that to use any of the BOOST_CHECK_??? etc macros I have to include the <boost/test/test_tools.hpp> file. This causes undefined symbol linker errors.

Is there a way to do what I want to do?