The MiscKit

Questions About Using the MiscKit


Home
Hot News
About
Press Kit
FAQ
Documentation
Download
Resources
Services
Search
Credits
Links
Contact Us


Most recent update was on November 12, 1995. If you'd like to submit something to the FAQ or update something in the FAQ, feel free to contact Don Yacktman or use our handy FAQ submission form.

While linking my MiscKit based project, the MiscKit classes all turn up as undefined symbols. Why?

The MiscKit library is installed into /LocalDeveloper/Libraries which is not in the compiler's default search path for libraries. To add this directory to the compiler's search path, add this line to your project's Makefile.preamble:

OTHER_LDFLAGS = -L/LocalDeveloper/Libraries

This will allow the linker to find the libraries. Without this, your project will encounter errors during the linking phase of compilation. Another important thing to remember is to add the MiscKit library to the "Libraries" suitcase in Project Builder. If you don't do that, then the compiler won't even try to find the libraries. Remember that the MiscKit comes with libraries for the palette objects, so you should add a library to the suitcase for each palette that you use, as well.

Everything links but I get "Does not recognize selector" messages and my program crashes. Why?

When you link against the MiscKit library, don't forget to use the -ObjC linker flag, which makes sure that all Objects and Categories are linked into your application. If you forget, you will get runtime errors which will crash your application whenever calling a method located in a category. If you are having trouble with the MiscString methods, this is the most likely reason for it.

I see directories that seem infinitely deep...what gives?

There are many soft links in the MiscKit. These are required mostly to allow the kit to be compiled in place before it is actually installed. From the WorkSpace, this can make some directories seem to be infinitely deep. The upshot of this is:

  • If you see something weird, it is probably there for a reason.
  • When copying the MiscKit be sure to duplicate the links rather than copying through them.

From the WorkSpace, use the "New Link" option when copying portions of the kit that have soft links. Be forewarned that cp -r will copy through the links so you must to use tar to do copy portions of the MiscKit when using the command line.



Questions? Contact our webmaster via email to don@misckit.com. .