[FFmpeg-trac] #2807(build system:new): libopenjpeg v1.5.1 library discovery failed
FFmpeg
trac at avcodec.org
Wed Jul 24 12:08:33 CEST 2013
#2807: libopenjpeg v1.5.1 library discovery failed
--------------------------------------+----------------------------------
Reporter: floodkoff | Type: defect
Status: new | Priority: normal
Component: build system | Version: 2.0
Keywords: libopenjpeg | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+----------------------------------
I want to cross compile ffmpeg 2.0 with support of libopenjpeg under 64bit
Debian 7.1. But configure script ends with '''ERROR: libopenjpeg not
found'''
Configure command line parameters:
{{{
./configure \
--disable-static \
--enable-shared \
--pkg-config=pkg-config \
--enable-runtime-cpudetect \
--arch=x86 \
--target-os=mingw32 \
--enable-cross-compile \
--enable-w32threads \
--enable-memalign-hack \
--cross-prefix=i686-w64-mingw32- \
--enable-libopenjpeg \
--extra-cflags="-I/home/mybestfriend/openjpeg-1.5.1/libopenjpeg" \
--extra-ldflags="-L/home/mybestfriend/openjpeg-1.5.1/libopenjpeg/.libs"
}}}
`/home/mybestfriend/openjpeg-1.5.1` Folder contains openjpeg library
v1.5.1 *.c and *.h files downloaded it from
https://code.google.com/p/openjpeg/downloads/detail?name=openjpeg-1.5.1.tar.gz&can=2&q=
`/home/mybestfriend/openjpeg-1.5.1/libopenjpeg/.libs` Folder contains
cross compiled `libopenjpeg.a` library using the following configure
commandline parameters:
{{{
./configure \
--host=i686-w64-mingw32 \
--enable-mj2 \
--enable-jpwl \
--enable-jpip
}}}
I have also noticed the compilation error in config.log `undefined
reference to '_opj_version'`. But `libopenjpeg.a` have this function:
{{{
i686-w64-mingw32-nm libopenjpeg.a | grep opj_ver
00000010 T _opj_version at 0
}}}
I tried libopenjpeg v1.5.0, but it didn't helped.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2807>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list