Now, this is a one-time set-up method.
- install opencv library somewhere like '/usr/local'. You need to make a static library! Then, combine all the static libraries into one file: libopencv.a
- copy the header files and library into $OF/libs/opencv/include and $OF/libs/opencv/lib
- edite CoreOF.xcconfig in the openframeworks folder, or you can find it in xcode by opening any example project.
- done.
If you have a dynamic libraries, do the above only for include files. Libraries are included in your project through the xcode-project. Make 'New Group' and put all the dynamic libraries; they will be linked automatically during the Build time.