[FFmpeg-devel] [PATCH] libopenjpeg wrapper for jpeg2k decoding / debian package

Mathieu Malaterre mathieu.malaterre
Mon Feb 9 14:04:59 CET 2009


On Mon, Feb 9, 2009 at 12:22 PM, Jai Menon <jmenon86 at gmail.com> wrote:
> Hi,
>
> On Mon, Feb 9, 2009 at 4:28 PM, Mathieu Malaterre
> <mathieu.malaterre at gmail.com> wrote:
>> On Fri, Feb 6, 2009 at 1:20 PM, Jai Menon <jmenon86 at gmail.com> wrote:
>>> Hi,
>>>
>>> On Fri, Feb 6, 2009 at 5:20 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
>>>> Michael Niedermayer <michaelni <at> gmx.at> writes:
>>>>
>>>>> > revised patch attached.
>>>>>
>>>>> looks ok
>>>>
>>>> Patch applied after removing trailing whitespace;-)
>>>
>>> Thanks. next up is tivo demuxer :-)
>>
>> Could someone add support for the default debian libopenjpeg installation:
>>
>> ...
>> gcc -Wall -W -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99
>> -fomit-frame-pointer -E -o /tmp/ffmpeg-conf-9160-12268-522.o
>> /tmp/ffmpeg-conf-13316-12268-2283.c
>> /tmp/ffmpeg-conf-13316-12268-2283.c:1:34: error:
>> libopenjpeg/openjpeg.h: No such file or directory
>
> thats where the makefile installs it.
>
> [...]
>
>> /usr/include/openjpeg.h
>
> it could also have been openjpeg/openjpeg.h :-)
> I dunno much about packages and in this specific case, when writing
> the code, I used a
> svn checkout of openjpeg and used make && make install.
> Not to mention, the opjviewer code in the repository uses
> libopenjpeg/openjpeg.h.

Because it is using the source path... not an install tree. External
code should not use this relative path, but instead the install path.

2cts
-- 
Mathieu




More information about the ffmpeg-devel mailing list