From 2f43bd0651ed869265918ebefa3ba016178feb4a Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Thu, 15 Mar 2012 01:24:57 +0100 Subject: Add multi-threading example based on pthreads. Also update example code compilation instructions. --- doc/example.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/example.c') diff --git a/doc/example.c b/doc/example.c index 31bf68b8..9ffe7023 100644 --- a/doc/example.c +++ b/doc/example.c @@ -2,14 +2,14 @@ // Compile a debug build of mupdf, then compile and run this example: // -// gcc -o build/debug/example -I fitz doc/example.c \ -// build/debug/libfitz.a build/debug/libfreetype.a -lpng -ljpeg \ -// -ljbig2dec -lopenjpeg -lm +// gcc -g -o build/debug/example -I fitz doc/example.c \ +// build/debug/libfitz.a build/debug/libfreetype.a \ +// build/debug/libopenjpeg.a build/debug/libjbig2dec.a \ +// build/debug/libjpeg.a -lpng -lm // // build/debug/example /path/to/document.pdf 1 200 25 -// Include MuPDF header files. The order is important! - +// Include the MuPDF header file. #include void -- cgit v1.2.3