Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CppUnit - missing include?



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.