Re: [Cppunit-devel] examples on webpage.
Brought to you by:
blep
From: Bart W. <whi...@ll...> - 2003-02-13 00:33:13
|
Actually, Thomas has a good point. The cookbook example has several problems that cause it to not compile. Read the comments within my attachments to see where the cookbook led you astray. Build like this: g++ -c testrunner.cpp g++ -c complexTestSuite.cpp g++ -o testrunner testrunner.o complexTestSuite.o -lcppunit Then just run ./testrunner You may need -L or -I flags to g++ if you installed cppunit someplace non-standard. Hope this helps. -- Bart Whiteley Computer Scientist voice: (925) 423-2249 National Atmospheric Release Advisory Center FAX: (925) 423-8274 Lawrence Livermore National Laboratory email: whi...@ll... P.O. Box 808, Livermore, CA 94551-0808 MS: L-103 |