[Poppler-bugs] [Bug 58906] 0.22.0 does not find openjpeg-2.0.0
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri May 9 06:57:00 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=58906
--- Comment #11 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
(In reply to comment #10)
> Created attachment 98748 [details] [review]
> initial attempt at openjpeg2 support
>
> I've updated my patch to support openjpeg2 with pkg-config support. I've
> also merged the JPEG2000Stream2.cc changes into JPEG2000Stream.cc.
>
> Thomas, you should be able to rebase your changes onto this.
I first just applied Your patch, the configure now works fine, it detects
openjpeg 2.1. BUT: when I try to compile it (without any changes from me), I
got
JPEG2000Stream.cc: In member function 'void JPXStream::init()':
JPEG2000Stream.cc:231:3: warning: 'void opj_stream_set_user_data(void**,
void*)' is deprecated (declared at
/usr/local/include/openjpeg-2.1/openjpeg.h:1082) [-Wdeprecated-declarations]
JPEG2000Stream.cc:231:47: error: too many arguments to function 'void
opj_stream_set_user_data(void**, void*)'
In file included from JPEG2000Stream.h:21:0,
from JPEG2000Stream.cc:17:
/usr/local/include/openjpeg-2.1/openjpeg.h:1082:1: note: declared here
JPEG2000Stream.cc:231:47: warning: 'void opj_stream_set_user_data(void**,
void*)' is deprecated (declared at
/usr/local/include/openjpeg-2.1/openjpeg.h:1082) [-Wdeprecated-declarations]
make[3]: *** [JPEG2000Stream.lo] Fehler 1
I looked into the openjpeg 2,0 header files, it's the same,
opj_stream_set_user_data only accepts two arguments, so I'm wondering how You
get it compiled. Okay, if I apply my changes, we'll get it compiled again. But
will we get my patch compiled on any installation???
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20140509/d93ca9fa/attachment.html>
More information about the Poppler-bugs
mailing list