Go to file
Davis King 17813702c8 Disabled destruction of the global thread pool on program shutdown when using dlib
on MS Windows since this avoids a few program shutdown bugs when dlib us used as
part of a DLL.  For example, when creating python modules with threading the interpreter
sometimes hangs on program shutdown as a result of trying to destroy the global
thread pool.  Note that not destroying this resource on program shutdown is the
recommended approach according to Microsoft.
see http://blogs.msdn.com/b/oldnewthing/archive/2012/01/05/10253268.aspx
2013-05-26 15:54:31 -04:00
dlib Disabled destruction of the global thread pool on program shutdown when using dlib 2013-05-26 15:54:31 -04:00
docs updated docs 2013-05-24 21:46:20 -04:00
examples Minor cleanup 2013-05-24 21:52:44 -04:00
python_examples Starting to flesh out the python interface documentation a little more. 2013-05-26 14:21:02 -04:00
tools Changed code to avoid compiler warning in visual studio. 2013-05-26 15:02:29 -04:00
.hgignore Updated mercurial ignore list 2013-05-26 14:16:45 -04:00
.hgtags Added tag v18.2 for changeset 5de237bc41c1 2013-04-23 19:07:37 -04:00
README.txt fixed grammar 2012-05-20 13:14:04 -04:00


If you are reading this file then you must have downloaded dlib via the 
mercurial repository.  If you are new to dlib then go read the introduction
and how to compile pages at http://dlib.net/intro.html and http://dlib.net/compile.html.
If you are planning on contributing code then also read the contribution
instructions at http://dlib.net/howto_contribute.html.


COMPILING DLIB EXAMPLE PROGRAMS
   Go into the examples folder and type:
   mkdir build; cd build; cmake .. ; cmake --build .

   That will build all the examples.  Note that there is nothing to install
   when using dlib.  It's just a folder of source files.  Sometimes people
   tell me dlib should be compiled and installed as some kind of shared
   library, however, they are wrong. Please read this http://dlib.net/howto_contribute.html#9 
   before starting this argument again.  


RUNNING THE UNIT TEST SUITE
   Type the following to compile and run the dlib unit test suite (it takes a while):
   cd dlib/test; mkdir build; cd build; cmake ..; cmake --build . --config Release; ./test --runall

   Note that on windows your compiler might put the test executable in a subfolder called
   Release.  If that's the case then you have to go to that folder before running the test.


DOCUMENTATION
   The mercurial repository doesn't contain finished documentation.  The stuff in
   the docs folder is just a bunch of scripts and xml files used to generate the 
   documentation.  There is a readme in docs/README.txt which discusses how to do
   this.  However, unless you are trying to modify the documentation, you should
   just download a copy from http://dlib.net.  That would probably be easier than
   setting up your environment to generate the documentation yourself.