Dear All,

Ubuntu and Mint ship with libopenjpeg-dev 1.3+dfsg-4.7ubuntu1. If I
don't have libopenjpeg-dev installed, I get a compilation failure:
/home/kofa/darktable-src/src/common/imageio_j2k.c:32:22: fatal error:
openjpeg.h: No such file or directory
 #include <openjpeg.h>
                      ^
compilation terminated.

If I do install it, I get:
[ 26%] Building C object src/CMakeFiles/lib_darktable.dir/common/imageio_j2k.c.o
/home/kofa/darktable-src/src/common/imageio_j2k.c: In function
‘dt_imageio_open_j2k’:
/home/kofa/darktable-src/src/common/imageio_j2k.c:206:11: error:
‘opj_image_t’ has no member named ‘icc_profile_buf’
   if(image->icc_profile_buf)
           ^

According to the mailing list, there's a check for the libopenjpeg-dev
version (http://sourceforge.net/p/darktable/mailman/message/30893661/
- 'The support for color profiles was introduced in 1.5 and we check
that the version matches.'); apparently, something's wrong there; the
file itself just includes the header. As far as I know, 1.5 is only
available via a PPA or in the upcoming Ubuntu release:
https://launchpad.net/~otto-kesselgulasch/+archive/ubuntu/gimp-experimental/+build/5374004
http://packages.ubuntu.com/utopic/libopenjpeg-dev

Please check.

Thanks,
Kofa

------------------------------------------------------------------------------
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to