/home/wuxi/opencv/opencv-4.5.5/3rdparty/openjpeg/openjp2/opj_stdint.h:48:2: error: #error unsupported platform
#error unsupported platform
不编译这个模块
修改文件:opencv-4.5.5/3rdparty/openjpeg/openjp2/opj_stdint.h
找到48行的#error,在之前加一个宏定义:
#define OPJ_HAVE_STDINT_H