• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CppUnit - missing include?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CppUnit - missing include?


  • Subject: CppUnit - missing include?
  • From: George Lawrence Storm <email@hidden>
  • Date: Wed, 7 Feb 2007 10:31:44 -0800

I will be porting a project from Windows to OS X which currently has a functioning set of unit tests working under CppUnit. This is my first attempt at using CppUnit and unit testing in general.

I installed cppunit-1.12.0.

To start with the basics I found a little snip-it of code to do a "Hello World! for CppUnit" at <http://pantras.free.fr/articals/ helloworld.html>.

I created a new Command Line Utility C++ Tool and replaced the contents of main.cpp with the Hello World code.

I added "/opt/local/include" to the Header Search Paths.

I verified the ZeroLink is turned off.

When I run it I get the following error:

ZeroLink: unknown symbol '__ZTIN7CppUnit8TestCaseE'
at which point the the program exits due to signal 6 (SIGABRT).

It looks like I failed to include something, any suggestions?

- George Lawrence Storm

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: CppUnit - missing include?
      • From: Paul Walmsley <email@hidden>
  • Prev by Date: Re: Bizarre x86 segment layout problem causing select() slowdown
  • Next by Date: Re: com.yourcompany
  • Previous by thread: Re: Log screen in Debug
  • Next by thread: Re: CppUnit - missing include?
  • Index(es):
    • Date
    • Thread