Compiling error

Benjamin Gilbert bgilbert at
Fri May 29 16:56:49 EDT 2015

On 2015-05-29 11:19, Justin JEONG wrote:
> OPENJPEG2_LIBS=-L/home/justin/local/bin/openjpeg-2.1.0-Linux-i386/lib

This fails because you have not included -lopenjp2.  If you add it, you 
will get the error below.

> /usr/bin/ld: skipping incompatible
> /home/justin/local/bin/openjpeg-2.1.0-Linux-i386/lib/
> when searching for -lopenjp2

It appears that you are trying to build a 64-bit OpenSlide and link it 
to a 32-bit OpenJPEG.

--Benjamin Gilbert

More information about the openslide-users mailing list