You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I upgrade openjpeg2.3.1(5709632) to openjpeg2.4.0(37ac30c), I met an issue as following when I compiled an OSS(poppler) which depends on openjpeg: fatal error: openjpeg.h: No such file or directory | 20 | #include <openjpeg.h> | | ^~~~~~~~~~~~ | compilation terminated.
I found it is because the patch of Issue#1174. This patch fixes the include directory to /usr/include/openjpeg-2.4, but under cross-compile environment, openjpeg.h should be installed to "${CROSS_ENV}/usr/include/openjpeg-2.4/" instead of "/usr/include/openjpeg-2.4".
The text was updated successfully, but these errors were encountered:
When I upgrade openjpeg2.3.1(5709632) to openjpeg2.4.0(37ac30c), I met an issue as following when I compiled an OSS(poppler) which depends on openjpeg:
fatal error: openjpeg.h: No such file or directory | 20 | #include <openjpeg.h> | | ^~~~~~~~~~~~ | compilation terminated.
I found it is because the patch of Issue#1174. This patch fixes the include directory to /usr/include/openjpeg-2.4, but under cross-compile environment, openjpeg.h should be installed to "${CROSS_ENV}/usr/include/openjpeg-2.4/" instead of "/usr/include/openjpeg-2.4".
The text was updated successfully, but these errors were encountered: