I spoke too soon: compile is working, but linking fails. I guess I need that check in the configure file after all....
On Wed, Mar 23, 2016 at 10:40 AM, Aaron Boxer <boxe...@gmail.com> wrote: > OK, figured this one out. Thanks to everyone who helped. > > Here is what I had to do: > > 1. Install latest OpenJPEG from source (version 2.1) > 2. remove check for openjpeg library from configure script > 3. $ ./configure --enable-libopenjpeg > --extra_cflags="-DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H" > 4. manually edit config.h and change > #define HAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H 0 > to > HAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H 1 > 5. make > > Perhaps someone who understands FFmpeg configuration can advise on how to > improve this. > > Cheers, > Aaron > > > On Wed, Mar 23, 2016 at 10:05 AM, Paul B Mahol <one...@gmail.com> wrote: > >> On 3/23/16, Aaron Boxer <boxe...@gmail.com> wrote: >> > On Wed, Mar 23, 2016 at 9:31 AM, Reindl Harald <h.rei...@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.rei...@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 >> >> There is config.log somewhere I guess? >> _______________________________________________ >> ffmpeg-user mailing list >> ffmpeg-user@ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> > > _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user