I just started using ‘boost test’ for C++ unit tests in a Windows environment (Visual Studio 2010). I’m following this tutorial as a guide:
http://legalizeadulthood.wordpress.com/2009/07/04/c-unit-tests-with-boost-test-part-1/
But after including the boost unit_test.hpp file, it shows the compile error below:
LINK : fatal error LNK1104: cannot open file 'libboost_unit_test_framework-vc100-mt-gd-1_52.lib'
My source code is like this:
#define BOOST_TEST_MAIN
#include <boost/test/unit_test.hpp>
Please assist with ideas on how to solve this.
I solved this issue by two steps.