Closed aerorahul closed 4 years ago
Wrong Jasper if I remember correctly - use 1.900.1 or apply the usual patch to Jasper 2.x. Funny thing is, this offending functionality is never used in our applications.
On Jul 29, 2020, at 3:04 PM, Rahul Mahajan notifications@github.com wrote:
Unable to build with clang
/Users/rmahajan/scratch/NCEPLIBS/nceplibs/build/wgrib2/src/wgrib2/wgrib2/enc_jpeg2000clone.c:133:10: error: no member named 'inmem' in 'jas_imaget' image.inmem=1;
1 error generated. make[6]: *** [wgrib2/CMakeFiles/obj_lib.dir/enc_jpeg2000_clone.c.o] Error 1 make[5]: *** [wgrib2/CMakeFiles/obj_lib.dir/all] Error 2 make[4]: *** [all] Error 2 make[3]: *** [wgrib2/src/wgrib2-stamp/wgrib2-build] Error 2 make[2]: *** [CMakeFiles/wgrib2.dir/all] Error 2 make[1]: *** [CMakeFiles/wgrib2.dir/rule] Error 2 make: *** [wgrib2] Error 2 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <https://github.com/NOAA-EMC/NCEPLIBS-wgrib2/issues/8>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AB5C2RPGYUCAI7EUMVTPSFTR6CFGFANCNFSM4PMBEN4Q>.
@kgerheiser says to just comment out that line.
Doing that wgrib2 builds.
Infact -- looking at L1411 in wgrib2/Changes
:
wgrib2/Changes: enc_jpeg2000_clone.c: jasper v1.900.25+ changes ABI, need to comment out line image.inmem_=1
So I think a bugfix is in order.
closed via #9
Unable to build with Newer jasper.