title: How do I properly add the Kal framework to my iPhone project?
body: <p>I'm new to iPhone development and I'm having trouble using the 3rd part Kal framework in my project.  I can't find any documentation on how to add the Kal framework to my code, so I assumed it was just a matter of adding the source files to my project's "Groups and Files" and set the Header file search path to include the new code.  </p>
  
  <ol>
  <li>Is that all I need to do to properly add the Kal framework to my iPhone project?</li>
  <li><p>I'm getting this error (shown below), what is it indicating? </p>
  
  <p><code>Undefined symbols:
    ".objc_class_name_KalViewController", referenced from:
        literal-pointer@__OBJC@__cls_refs@KalViewController in RootViewController.o
  ld: symbol(s) not found</code></p>
  
  <p>I get this error when I add the statement...   </p>
  
  <p><code>kalViewController = [[[KalViewController alloc] init] autorelease];</code></p>
  
  <p>to my RootViewController.m viewDidLoad method and #import "Kal.h"</p></li>
  </ol>
  
  <p>Thanks so much for your help!</p>
  
  <p><strong>UPDATE:</strong> I found this response (shown below) in <a href="https://stackoverflow.com/questions/1191263/xcode-linking-build-error">a similar SO question</a>...</p>
  
  <blockquote>
    <p>There is also another thing to do:
    check in the file list when you select
    the "Classes" group. The checkbox next
    to the .m files must be enabled (which
    tells XCode to compile and link the
    file) especially if u add them with
    "Add existing files..." command.</p>
  </blockquote>
  
  <p>I checked and my KalViewController.m files doesn't have a checkbox checked (which I think means it's not added to my target), but how do I check the checkboxes next to the files I need?  I'm so confused...</p>
  
  <p><strong>UPDATE:</strong> Thanks to Alex's comments below, I created a new project from scratch and dragged the Kal code into Xcode, then after adding the problematic lines of code mentioned above, everything built fine.</p>