Add libdlib.a
Add the directory containing libdlib.a
,
Like this: ../../../addons/ofxDLib/dlib/lib
Add ../../../addons/ofxDLib/dlib/lib/libdlib.a
add ../../../addons/ofxDLib/dlib/lib/libdlib.a
Add /dlib/all.source.cpp
to the project (so it compiles with target)
source.cpp
should now appear in the Build Phases > Compile Sources
Switch off GUI (X11) compilation by adding -DDLIB_NO_GUI_SUPPORT
to Other C++ Flags
Add the correct directory ( ../../../addons/ofxDLib/dlib/
) to
Just search and Replace every mention of nil
and change to no_parent
Becaus Clang says it's a reserved keyword.