Integrates the dlib C++ library into openFrameworks Xcode projects via prebuilt static library.
README
How to add DLib to XCode
Build Phases > Link Binary With Libraries
Addlibdlib.aBuild Settings > Library Search Paths
Add the directory containinglibdlib.a, Like this: ../../../addons/ofxDLib/dlib/libBuild Settings > Other Linker Flags
Add../../../addons/ofxDLib/dlib/lib/libdlib.aBuild Settings > OTHER_LDFLAGS
add../../../addons/ofxDLib/dlib/lib/libdlib.aProject Navigator
Add/dlib/all.source.cpp to the project (so it compiles with target) source.cpp should now appear in the Build Phases > Compile SourcesTarget > Build Settings > Other C++ Flags
Switch off GUI (X11) compilation by adding-DDLIB_NO_GUI_SUPPORT to Other C++ FlagsTarget > Build Settings > Header Search Paths
Add the correct directory (../../../addons/ofxDLib/dlib/) to FIX "nil" in /dlib/dlib/graph_cuts/min_cut.h
Just search and Replace every mention ofnil and change to no_parent Becaus Clang says it's a reserved keyword.
ofxAddons