cppUnit on Xcode

  • Anonymous - 2004-04-28

    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,

    • Adam Wildavsky

      Adam Wildavsky - 2004-10-02

      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!



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks