one error compiling in xcode osx 10.5

First of all, thank you for writing this engine and maintaining it! I'm new to c++, so please forgive me if my question is ridiculous.

Compiling the current svn in xcode 3.0 on osx 10.5 I stumbled upon one error, that I could fix by commenting a line out, but that's probably not a very pretty solution. Perhaps someone knows a way to fix the problem.

The error:
Code:
collect2: ld returned 1 exit status
        "_b2_defaultFilter", referenced from:
            _b2_defaultFilter$non_lazy_ptr in b2World.o
      ld: symbol(s) not found
      collect2: ld returned 1 exit status
Build failed (1 error)

The error is gone if I comment out the following line in the file b2World.cpp
Code:
m_filter = &b2_defaultFilter;


Thanks in advance.

Kind regards,
Harry
You are missing b2WorldCallbacks.cpp from your project. I don't have a Mac, so someone will need to give me a patch.
Yeah that did it. Do you just need the new xcode project? If so, I attached it to this post.

Thanks for the help!
Harry
This might be more of an xcode question, rather then a box2d question.

After building the library, I'm now trying to set up a new xcode project where I can make my own code, by using the already build library. I think I have set it up ok, and everything builds fine. Just when I run the application, it gives the following error:
Code:
[Session started at 2007-12-05 10:34:09 +0900.]
dyld: Library not loaded: @executable_path/libBox2D.dylib
  Referenced from: /Users/*censored*/c++/test01/build/Debug/test01.app/Contents/MacOS/test01
  Reason: image not found

The Debugger has exited due to signal 5 (SIGTRAP).The Debugger has exited due to signal 5 (SIGTRAP).

My project window looks like this, if that helps at all:

Image

I found out it works fine if I copy the library file to the application's folder. Just would be nice to get it linked to the actual box2d build folder, instead of having to copy it.

Thanks for the effort!

Harry

Original thread: https://box2d.org/forum/viewtopic.php?t=135