[FFmpeg-user] Building with openjpeg support

Tim Nicholson tim.nicholson at bbc.co.uk
Mon Jul 18 11:39:11 CEST 2011


On 18/07/11 10:17, Nicolas George wrote:
> Le decadi 30 messidor, an CCXIX, Tim Nicholson a écrit :
>> cc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
>> -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99
>> -fomit-frame-pointer -pthread -I/usr/include/dirac
>> -I/usr/include/freetype2 -E -o /tmp/ffconf.i2yuxBPg.o
>> /tmp/ffconf.Pdmsc3R3.c
>> /tmp/ffconf.Pdmsc3R3.c:1:22: fatal error: openjpeg.h: No such file
>> or directory
>> compilation terminated.
>> ERROR: libopenjpeg not found
>>
>> ...is not much more revealing....
>
> It is, since you said you had /usr/include/openjpeg/openjpeg.h instead of
> the expected /usr/include/openjpeg.h. Apparently, your package manager
> thought it was a funny thing to do to move the header file from its
> standard, expected place.
>

I wondered that, but I noticed that libraries like lame and 
opencore-amrnb are similarly subfoldered so the "expected place" seems 
to be "/usr/include" and its subdirs. So Just what is the standard?



> You can try giving --extra-cflags="-I/usr/incalude/openjpeg" to configure
> and see if it works.

Or maybe symlink the headers back to the "proper" place...


Thanks for confirming for me.
-- 
Tim


http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					


More information about the ffmpeg-user mailing list