xinxinlx / openjpeg

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

cross compiling error #347

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As per report on the ML:

You know it's a lonely world when you google a compile failure and only find 
your own message.
Anyway jb pointed me to a fix/workaround [this is static cross compiling].
https://github.com/rdp/ffmpeg-windows-build-helpers/issues/37

[...]

CCLD j2k_to_image.exe
j2k_to_image-convert.o:convert.c:(.text+0xee): undefined reference to 
`_imp__opj_image_create@12′
j2k_to_image-convert.o:convert.c:(.text+0xe2a): undefined reference to 
`_imp__opj_image_create@12′
j2k_to_image-convert.o:convert.c:(.text+0x100e): undefined reference to 
`_imp__opj_image_destroy@4′ 
Reverting to 1.4 for now

Original issue reported on code.google.com by mathieu.malaterre on 15 May 2014 at 6:47

GoogleCodeExporter commented 9 years ago
Hi.

I ran into this same problem when cross-compiling a fully static Imagemagick 
with Openjpeg support. Maybe the fix could look something like the attached 
patch? I don't really know anything about your build system or cmake, it's just 
the first solution I came up with. I hope it helps.

Original comment by cantabil...@gmail.com on 7 Aug 2014 at 7:00

Attachments: