1 2 3 // If you are compiling dlib as a shared library and installing it somewhere on your system 4 // then it is important that any programs that use dlib agree on the state of the 5 // DLIB_ASSERT statements (i.e. they are either always on or always off). Therefore, 6 // uncomment one of the following lines to force all DLIB_ASSERTs to either always on or 7 // always off. If you don't define one of these two macros then DLIB_ASSERT will toggle 8 // automatically depending on the state of certain other macros, which is not what you want 9 // when creating a shared library. 10 //#define ENABLE_ASSERTS // asserts always enabled 11 //#define DLIB_DISABLE_ASSERTS // asserts always disabled 12 13 //#define DLIB_ISO_CPP_ONLY 14 //#define DLIB_NO_GUI_SUPPORT 15 //#define DLIB_ENABLE_STACK_TRACE 16 17 // You should also consider telling dlib to link against libjpeg, libpng, libgif, fftw, CUDA, 18 // and a BLAS and LAPACK library. To do this you need to uncomment the following #defines. 19 // #define DLIB_JPEG_SUPPORT 20 // #define DLIB_PNG_SUPPORT 21 // #define DLIB_GIF_SUPPORT 22 // #define DLIB_USE_FFTW 23 // #define DLIB_USE_BLAS 24 // #define DLIB_USE_LAPACK 25 // #define DLIB_USE_CUDA 26 27 28 // Define this so the code in dlib/test_for_odr_violations.h can detect ODR violations 29 // related to users doing bad things with config.h 30 #define DLIB_NOT_CONFIGURED 31 32