I'm a newbie to cppunit. I wrote some testcase and tested them using TextTestRunner. It compiled and ran well. But when I switch to QtTestRunner, I got link errors in return. Here's one piece of the message:
.../cppunitstudy.cpp:44: undefined reference to `CppUnit::QtTestRunner::QtTestRunner()'
It seems I should offer some lib files for QtTestRunner to get it over. But since I install cppunit w/ portage (I'm a Gentoo linux user), I don't know which files should I take. Who could tell me? Or any other ideas?
Any help will be appreciated. THanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, all
I'm a newbie to cppunit. I wrote some testcase and tested them using TextTestRunner. It compiled and ran well. But when I switch to QtTestRunner, I got link errors in return. Here's one piece of the message:
.../cppunitstudy.cpp:44: undefined reference to `CppUnit::QtTestRunner::QtTestRunner()'
It seems I should offer some lib files for QtTestRunner to get it over. But since I install cppunit w/ portage (I'm a Gentoo linux user), I don't know which files should I take. Who could tell me? Or any other ideas?
Any help will be appreciated. THanks