/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/usr/lib/python3/dist-packages/setuptools/command/easy_install.py:146: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
jpeg_toolbox_extension.c: In function ‘read_file’:
jpeg_toolbox_extension.c:197:53: error: ‘struct jpeg_decompress_struct’ has no member named ‘block_size’
197 | result = dict_add_int(result, "block_size", cinfo.block_size);
| ^
jpeg_toolbox_extension.c:198:65: error: ‘struct jpeg_decompress_struct’ has no member named ‘min_DCT_h_scaled_size’; did you mean ‘min_DCT_scaled_size’?
198 | esult = dict_add_int(result, "min_DCT_h_scaled_size", cinfo.min_DCT_h_scaled_size);
| ^~~~~~~~~~~~~~~~~~~~~
| min_DCT_scaled_size
jpeg_toolbox_extension.c:199:65: error: ‘struct jpeg_decompress_struct’ has no member named ‘min_DCT_v_scaled_size’; did you mean ‘min_DCT_scaled_size’?
199 | esult = dict_add_int(result, "min_DCT_v_scaled_size", cinfo.min_DCT_v_scaled_size);
| ^~~~~~~~~~~~~~~~~~~~~
| min_DCT_scaled_size
jpeg_toolbox_extension.c:219:63: error: ‘jpeg_component_info’ has no member named ‘DCT_h_scaled_size’; did you mean ‘DCT_scaled_size’?
219 | comp = dict_add_int(comp, "DCT_h_scaled_size", compptr->DCT_h_scaled_size);
| ^~~~~~~~~~~~~~~~~
| DCT_scaled_size
jpeg_toolbox_extension.c:220:63: error: ‘jpeg_component_info’ has no member named ‘DCT_v_scaled_size’; did you mean ‘DCT_scaled_size’?
220 | comp = dict_add_int(comp, "DCT_v_scaled_size", compptr->DCT_v_scaled_size);
| ^~~~~~~~~~~~~~~~~
| DCT_scaled_size
jpeg_toolbox_extension.c: In function ‘write_file’:
jpeg_toolbox_extension.c:475:9: error: ‘struct jpeg_compress_struct’ has no member named ‘block_size’
475 | cinfo.block_size = dict_get_int(data, "block_size");
| ^
jpeg_toolbox_extension.c:476:9: error: ‘struct jpeg_compress_struct’ has no member named ‘min_DCT_h_scaled_size’
476 | cinfo.min_DCT_h_scaled_size = dict_get_int(data, "min_DCT_h_scaled_size");
| ^
jpeg_toolbox_extension.c:477:9: error: ‘struct jpeg_compress_struct’ has no member named ‘min_DCT_v_scaled_size’
477 | cinfo.min_DCT_v_scaled_size = dict_get_int(data, "min_DCT_v_scaled_size");
| ^
jpeg_toolbox_extension.c:500:16: error: ‘jpeg_component_info’ has no member named ‘DCT_h_scaled_size’; did you mean ‘DCT_scaled_size’?
500 | compptr->DCT_h_scaled_size = dict_get_int(item, "DCT_h_scaled_size");
| ^~~~~~~~~~~~~~~~~
| DCT_scaled_size
jpeg_toolbox_extension.c:501:16: error: ‘jpeg_component_info’ has no member named ‘DCT_v_scaled_size’; did you mean ‘DCT_scaled_size’?
501 | compptr->DCT_v_scaled_size = dict_get_int(item, "DCT_v_scaled_size");
| ^~~~~~~~~~~~~~~~~
| DCT_scaled_size
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
python3 setup.py install