| Anonymous | Login | 2013-05-21 14:24 UTC |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
| 0000088 | [Pdftoipe] | major | always | 2011-10-16 11:22 | 2013-01-24 07:31 | ||
| Reporter | pinotree | View Status | public | ||||
| Assigned To | Ocheong | ||||||
| Priority | normal | Resolution | fixed | ||||
| Status | resolved | ||||||
| Summary | 0000088: pdftoipe does not compile with poppler >= 0.18 | ||||||
| Description |
pdftoipe-20110916 does not compile with the new stable serie of poppler, 0.18.0: $ make g++ -Wno-write-strings -I/usr/include/poppler -c -o xmloutputdev.o xmloutputdev.cpp xmloutputdev.cpp: In member function 'virtual void XmlOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, GBool, int*, GBool)': xmloutputdev.cpp:339:13: error: 'DCTStream' was not declared in this scope xmloutputdev.cpp:339:24: error: expected primary-expression before ')' token xmloutputdev.cpp:339:25: error: expected ')' before 'str' There are two problems: a) the code assumes DCTStream is declared in Stream.h (which is only when poppler is compiled with an own JPEG decoder, instead of using libjpeg) b) getRawStream() has been removed, since it was the very same as getNextStream() The attached patch fixes both the issues by making use of getNextStream(), which is declared in the base Stream class, hence no more cast is required. The patch makes pdftoipe compile also on older poppler versions (e.g. 0.12.x). |
||||||
| Additional Information | |||||||
| Tags | No tags attached. | ||||||
| Attached Files |
|
||||||
|
|
|||||||
Notes |
|
|
(0000315) pinotree (reporter) 2012-07-15 19:41 |
Any news about this bug? |
|
(0000322) Ocheong (administrator) 2013-01-24 07:31 |
Fixed in 2013-01-24. |
| Mantis 1.1.8[^] Copyright © 2000 - 2009 Mantis Group |
© 2013 SourceForge. All Rights Reserved. SourceForge is a Dice Holdings, Inc. company Terms of Use - Privacy Policy - Cookies/Opt Out