Open retnag opened 3 years ago
Same here. Did you fix that?
I try to compile ImageMagick-6.8.8-10 that author mentioned in README manually ( found it from https://download.imagemagick.org/ImageMagick/download/releases/ )
But unfortunately the compiler returns error from openjpeg (one of ghostscript dependencies), my ghostscript version is 9.54.0, and I try to get an old ghostscript(9.16 or 9.18 ), but there is no suitable formula for my m1 macbook.
coders/jp2.c:1049:43: error: too few arguments to function call, expected 3, have 2
opj_stream_set_user_data(jp2_stream,NULL);
~~~~~~~~~~~~~~~~~~~~~~~~ ^
/opt/homebrew/Cellar/openjpeg/2.4.0/include/openjpeg-2.4/openjpeg.h:1229:27: note: 'opj_stream_set_user_data' declared here
OPJ_API void OPJ_CALLCONV opj_stream_set_user_data(opj_stream_t* p_stream,
^
coders/jp2.c:1050:3: error: implicit declaration of function 'opj_stream_destroy_v3' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
opj_stream_destroy_v3(jp2_stream);
^
15 errors generated.
Environment: