RE: [Cppunit-devel] CppUnit 1.9.6 tar ball -- Visual .NET
Brought to you by:
blep
From: Philippe L. <phi...@ca...> - 2002-04-22 22:23:50
|
Hi, I did a cvs update of cppunit and I can't get the testplugin to work for = my own project. Everything compiles fine inside the examples .dsw. I can = run them, life is good. I've defined CPPUNIT_DLL. Then, I added a cppunitplugin.cpp file with = the following content #include <cppunit/plugin/TestPlugIn.h> CPPUNIT_PLUGIN_IMPLEMENT(); // needed for an ATL project // note that cppunit fails if stdafx.h is included before the macro. #include "stdafx.h" =20 Finally, I link with cppunitd_dll.lib. It compiles... but it returns Failed to load test plug-in: Symbol [cppunitTestPlugIn] not found in dynamic libary:Bob.dll This is really weird as simple_plugin works like a charm and I can't see = what the missing option could be. Please help Phil |