|
Boost Users : |
From: Markus Werle (numerical.simulation_at_[hidden])
Date: 2006-02-07 04:39:35
Hi!
I have some problems getting started with boost::test.
I tried to build a Vc7 project using the code of
http://boost.org/libs/test/test/result_report_test.cpp, but this
fails to compile due to unresolved symbol init_unit_test_suite.
libboost_unit_test_framework-vc71-mt-sgd-1_33_1.lib(framework.obj) : error
LNK2019: Nicht aufgelöstes externes Symbol '"class boost::unit_test::test_suite
* __cdecl init_unit_test_suite(int,char * * const)"
(?init_unit_test_suite@@YAPAVtest_suite_at_unit_test_at_boost@@HQAPAD_at_Z)', verwiesen
in Funktion '"void __cdecl boost::unit_test::framework::init(int,char * *
const)" (?init_at_framework@unit_test_at_boost@@YAXHQAPAD_at_Z)'
Debug/test.exe : fatal error LNK1120: 1 unaufgelöste externe Verweise
Am I missing anything?
I found out that
#include <boost/test/included/test_exec_monitor.hpp>
resolves the problem, but is this the correct solution?
best regards,
Markus
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net