saloromer / ffmbc

Automatically exported from code.google.com/p/ffmbc
0 stars 0 forks source link

ffmbc fails to build with libopenjpeg #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm having difficulty getting ffmbc to compile with OpenJPEG 1.4. I receive the 
following error when linking:

LD  ffmbc_g
Undefined symbols:
  "_opj_decode_with_info", referenced from:
      _libopenjpeg_decode_frame in libavcodec.a(libopenjpeg.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [ffmbc_g] Error 1
Mistys-Mac-Pro:FFmbc-0.6-rc1 digitilization$ make clean

I was compiling with --enable-libopenjpeg and --enable-gpl

I'm using Mac OS X 10.6 (GCC 4.2.1).

Original issue reported on code.google.com by misty.de...@museumforhumanrights.ca on 17 Feb 2011 at 5:51

GoogleCodeExporter commented 8 years ago
Did something change in libopenjpeg API/ABI ?

Did you make clean ?

That's weird.

Original comment by baptiste...@gmail.com on 18 Feb 2011 at 2:32

GoogleCodeExporter commented 8 years ago
I did make clean between configure changes.

I'm not sure if libopenjpeg changed API. I tried recompiling using libopenjpeg 
1.3.3, but it appears to have the same result.

The only reference to the particular error I can find on Google is a Japanese 
blog post pre-openjpeg 1.4, but I don't know enough about the code to know 
whether it's helpful: http://yosilove.blog.shinobi.jp/Entry/803/

Applying the patch from that blog resolves the compilation errors, but ffmbc 
segfaults when I try to open a .mj2 video.

Original comment by misty.de...@museumforhumanrights.ca on 18 Feb 2011 at 6:17

GoogleCodeExporter commented 8 years ago
I cannot reproduce, so I'm gonna close this one, I hope it was fixed in the 
mean time.

Original comment by baptiste...@gmail.com on 15 Jun 2012 at 10:16