Make sure the root directory of the Boostinstallation is in the compiler include search path.
确保Boost安装的根目录位于编译器的include搜索路径中。
2
Notice that no separate main function is needed, nor does the code use any link library: the unit_test.hpp header that's part of the Boostinstallation contains all the necessary definitions.
注意,不需要单独的主函数,代码也不使用任何链接库:作为Boost一部分的unit _ test . hpp头文件中包含所需的所有定义。
3
Boost mailing list: Find a wealth of information, including fixes to common problems during installation and test.