Awesome, patch works as expected and gdal builds against the latest jasper.
Thanks a lot.
diff --git a/frmts/jpeg2000/jpeg2000_vsil_io.cpp
b/frmts/jpeg2000/jpeg2000_vsil_io.cpp index 74f1e64..3a948d0 100644 ---
a/frmts/jpeg2000/jpeg2000_vsil_io.cpp +++
b/frmts/jpeg2000/jpeg2000_vsil_io.cpp @@
On mercredi 7 décembre 2016 11:19:11 CET Donovan Cameron wrote:
> On 07/12/16 10:41 AM, Even Rouault wrote:
> > You could as well replace the JAS_CAST(uchar *, buf); by
> > JAS_CAST(unsigned char*, buf)
>
> Thanks Even, that's helpful.
>
> Whereabouts would I try to make this patch? Not sure what
On 07/12/16 10:41 AM, Even Rouault wrote:
You could as well replace the JAS_CAST(uchar *, buf); by
JAS_CAST(unsigned char*, buf)
Thanks Even, that's helpful.
Whereabouts would I try to make this patch? Not sure what file to look
for to do this. Sorry!
--
Kind regards,
Donovan
__
On mercredi 7 décembre 2016 10:27:41 CET Donovan Cameron wrote:
> Downgrading jasper to 1.900.5 results in a successful build.
Looking in the jasper of my ubuntu 16.04 (1.900.1-debian1-2.4ubuntu1), I can
see:
/usr/include/jasper/jas_config2.h:#define uchar unsigned char
/usr/incl
Downgrading jasper to 1.900.5 results in a successful build.
On 07/12/16 10:22 AM, Donovan Cameron wrote:
Morning Everyone!
Jasper was update in Arch Linux today and trying to build gdal 2.1
from the git 2.1 release branch (r36743) the compile fails with a
jpeg2000 + jasper error:
make -C
Morning Everyone!
Jasper was update in Arch Linux today and trying to build gdal 2.1 from
the git 2.1 release branch (r36743) the compile fails with a jpeg2000 +
jasper error:
make -C jpeg2000 install-obj
make[2]: Entering directory
'/tmp/makepkg/gdal-filegdb/src/gdal-2.1/frmts/jpeg2000'
g++