[FFmpeg-user] Building FFmpeg with OpenJPEG 2.0

Aaron Boxer boxerab at gmail.com
Wed Mar 23 14:36:35 CET 2016


On Wed, Mar 23, 2016 at 9:31 AM, Reindl Harald <h.reindl at thelounge.net>
wrote:

>
> Am 23.03.2016 um 14:22 schrieb Aaron Boxer:
>
>> On Tue, Mar 22, 2016 at 4:52 PM, Reindl Harald <h.reindl at thelounge.net>
>>
>>> *where* doe soyur build install stuff?
>>>
>>> nothing renames anything - path orders are relevant
>>> in doubt *tell* ffmpeg where it has to seek!
>>>
>>> --extra-ldflags may be your friend
>>>
>>
>> I install OpenJPEG library into /usr/local/lib
>> and header into /usr/local/include
>>
>> Unfortunately, it doesn't look like FFmpeg is finding them
>>
>
> did you tell it to look there?
> what was unclear in "--extra-ldflags may be your friend"?
>
> *how* does you full configure-line looks like?
>
> i really don't understand why you are not posting full informations what
> is installed where and your configure line from the very first start -
> http://www.catb.org/esr/faqs/smart-questions.html#beprecise


Thanks for your help.

I just assumed /usr/local/lib was a standard place to look for libraries.

Anyways, when I install OpenJPEG,  include goes in /usr/local/include and
lib goes in /usr/local/lib

My configure command is:


$ ./configure --enable-libopenjpeg --extra-cflags="-I/usr/local/include"
--extra-ldflags="-L/usr/local/lib"

and the results is

ERROR: libopenjpeg not found








>
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>


More information about the ffmpeg-user mailing list