[Ipe-discuss] ipe 7.1.4 development

Dmitriy Morozov ipe at foxcub.org
Thu Jan 24 02:04:47 CET 2013


On Sun, Jan 20, 2013 at 2:07 AM, <auxsvr at gmail.com> wrote:

> One compilation error with pdftoipe:
>
> g++ -Wno-write-strings -I/usr/include/poppler     -c -o xmloutputdev.o
> xmloutputdev.cpp
> xmloutputdev.cpp: In constructor 'XmlOutputDev::XmlOutputDev(char*, XRef*,
> Catalog*, int, int)':
> xmloutputdev.cpp:33:57: error: invalid conversion from 'int' to
> 'ErrorCategory' [-fpermissive]
> In file included from /usr/include/poppler/Object.h:41:0,
>                  from xmloutputdev.cpp:9:
> /usr/include/poppler/Error.h:54:19: error:   initializing argument 1 of
> 'void error(ErrorCategory, int, const char*, ...)' [-fpermissive]
> xmloutputdev.cpp:33:57: error: invalid conversion from 'const char*' to
> 'int' [-fpermissive]
> In file included from /usr/include/poppler/Object.h:41:0,
>                  from xmloutputdev.cpp:9:
> /usr/include/poppler/Error.h:54:19: error:   initializing argument 2 of
> 'void error(ErrorCategory, int, const char*, ...)' [-fpermissive]
> 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'
> make: *** [xmloutputdev.o] Error 1
>
> Is this known?
>
>
I don't know if anyone has responded to this in private, but this problem
is known. In ArchLinux distribution, we just patch it. The following
tarball contains patches, poppler.diff and xmloutputdev.diff, that fix the
compilation problems with pdftoipe.

 https://aur.archlinux.org/packages/ip/ipe/ipe.tar.gz

Best,
Dmitriy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/ipe-discuss/attachments/20130123/d679c959/attachment.html 


More information about the Ipe-discuss mailing list