wanglongqi / pdf2djvu

Automatically exported from code.google.com/p/pdf2djvu
0 stars 2 forks source link

Fails to build from source against Poppler ≥ 0.19 #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Compilation error with poppler-0.20:

g++ -fopenmp -fomit-frame-pointer -fmessage-length=0 -O2 -Wall 
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables 
-fasynchronous-unwind-tables -g -Werror=overloaded-virtual -pthread   
-I/usr/include/poppler   -I/usr/include/GraphicsMagick   -I/usr/include/libxml2 
    -c -o pdf-dpi.o pdf-dpi.cc
In file included from /usr/include/poppler/SplashOutputDev.h:41:0,
                 from pdf-backend.hh:22,
                 from pdf-backend.cc:22:
/usr/include/poppler/OutputDev.h:316:16: error: 'virtual void 
OutputDev::processLink(AnnotLink*)' was hidden [-Werror=overloaded-virtual]
In file included from pdf-backend.cc:22:0:
pdf-backend.hh:118:10: error:   by 'void 
pdf::Renderer::processLink(pdf::link::Link*, pdf::Catalog*)' 
[-Werror=overloaded-virtual]
pdf-backend.cc: In constructor 'pdf::Environment::Environment(const char*)':
pdf-backend.cc:64:41: error: 'setErrorFunction' was not declared in this scope

Full log attached.

Original issue reported on code.google.com by lazy.ken...@gmail.com on 18 May 2012 at 7:50

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by jwilk@jwilk.net on 22 May 2012 at 7:47

GoogleCodeExporter commented 9 years ago
Partially fixed in:
* r2dcc95d3e482
* r3befa23ce08d
* r1f2b17f94b75

Original comment by jwilk@jwilk.net on 24 May 2012 at 2:12

GoogleCodeExporter commented 9 years ago
Last compilation issue fixed in rb1bf5cdbd6b7. However, the --no-nfkc option 
appears to be broken.

Original comment by jwilk@jwilk.net on 24 May 2012 at 3:18

GoogleCodeExporter commented 9 years ago
I fixed --no-nfkc in ra717fa4c7978.

Original comment by jwilk@jwilk.net on 28 May 2012 at 3:15

GoogleCodeExporter commented 9 years ago
Should be fixed in 0.7.13.

Original comment by jwilk@jwilk.net on 3 Jun 2012 at 8:28