Re: ipe 7.1.4 development

Dmitriy Morozov <[email protected]>
Newsgroups gmane.comp.graphics.ipe.general
Message-ID <CAM3X-AY6nat2edZkCSprR0MM=isMdSk5Ow1ASXDQ0jZN+0Qn3g@mail.gmail.com>
On Sun, Jan 20, 2013 at 2:07 AM, <[email protected]> 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

_______________________________________________
Ipe-discuss mailing list
Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]
http://lists.science.uu.nl/mailman/listinfo/ipe-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.