I'm trying to run cppunit on my system under Mac OS X 10.3.3 with Xcode, and I'm getting the following error when I try to run the program:
ZeroLink: unknown symbol '__ZN7CppUnit8TestCase3runEPNS_10TestResultE'
prog has exited due to signal 6 (SIGABRT).
Any idea why I would be seeing this? The program compiles with no problems, it just looks like it can't find a method it needs. I've set up a TestSuite with one registered test class as described in the cppunit docs.
Thanks for your help,
Scott
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to run cppunit on my system under Mac OS X 10.3.3 with Xcode, and I'm getting the following error when I try to run the program:
ZeroLink: unknown symbol '__ZN7CppUnit8TestCase3runEPNS_10TestResultE'
prog has exited due to signal 6 (SIGABRT).
Any idea why I would be seeing this? The program compiles with no problems, it just looks like it can't find a method it needs. I've set up a TestSuite with one registered test class as described in the cppunit docs.
Thanks for your help,
Scott
I wrote to Scott Grant who sent me the solution: add libcppunit.a to the project.
In the olden days a problem like this would have shown up at compile time. I see that dynamic linking changes that.
Thanks Scott!
AW