1) make the sources (always worked until yesterday)
leptonica is at version 1.70
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I..
-O2 -DNDEBUG -DLOCALEDIR=\"/usr/local/share/locale\" -DUSE_STD_NAMESPACE
-I../ccutil -I../ccstruct -I../cube -I../viewer -I../textord -I../dict
-I../classify -I../ccmain -I../wordrec -I../cutil -I../opencl
-I/usr/local/include/leptonica -pthread -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng12
-std=c++11 -MT libtesseract_api_la-pdfrenderer.lo -MD -MP -MF
.deps/libtesseract_api_la-pdfrenderer.Tpo -c -o
libtesseract_api_la-pdfrenderer.lo `test -f 'pdfrenderer.cpp' || echo
'./'`pdfrenderer.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG
-DLOCALEDIR=\"/usr/local/share/locale\" -DUSE_STD_NAMESPACE -I../ccutil
-I../ccstruct -I../cube -I../viewer -I../textord -I../dict -I../classify
-I../ccmain -I../wordrec -I../cutil -I../opencl -I/usr/local/include/leptonica
-pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libdrm -I/usr/include/libpng12 -std=c++11 -MT
libtesseract_api_la-pdfrenderer.lo -MD -MP -MF
.deps/libtesseract_api_la-pdfrenderer.Tpo -c pdfrenderer.cpp -fPIC -DPIC -o
.libs/libtesseract_api_la-pdfrenderer.o
pdfrenderer.cpp: In static member function 'static bool
tesseract::TessPDFRenderer::imageToPDFObj(Pix*, char*, long int, char**, long
int*)':
pdfrenderer.cpp:442:59: error: 'l_generateCIDataForPdf' was not declared in
this scope
l_generateCIDataForPdf(filename, pix, kJpegQuality, &cid);
^
pdfrenderer.cpp:463:27: error: 'l_CIDataDestroy' was not declared in this scope
l_CIDataDestroy(&cid);
^
pdfrenderer.cpp:470:25: error: 'l_CIDataDestroy' was not declared in this scope
l_CIDataDestroy(&cid);
^
pdfrenderer.cpp:491:29: error: 'l_CIDataDestroy' was not declared in this scope
l_CIDataDestroy(&cid);
^
pdfrenderer.cpp:496:33: error: 'L_COMP_DATA' has no member named 'predictor'
const char *predictor = (cid->predictor) ? " /Predictor 14\n" : "";
^
pdfrenderer.cpp:531:25: error: 'l_CIDataDestroy' was not declared in this scope
l_CIDataDestroy(&cid);
^
pdfrenderer.cpp:537:23: error: 'l_CIDataDestroy' was not declared in this scope
l_CIDataDestroy(&cid);
^
make[3]: *** [libtesseract_api_la-pdfrenderer.lo] Fehler 1
make[3]: Leaving directory `/tmp/tesseract-3.0/tess-svn/api'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/tmp/tesseract-3.0/tess-svn'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/tmp/tesseract-3.0/tess-svn'
make: *** [tesseract] Fehler 2
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
Please use labels and text to provide additional information.
Original issue reported on code.google.com by walter.m...@googlemail.com on 18 Aug 2014 at 2:42
Original issue reported on code.google.com by
walter.m...@googlemail.com
on 18 Aug 2014 at 2:42