Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find openjpeg.h when cross-compile. #1320

Closed
leimaohui opened this issue Jan 7, 2021 · 1 comment
Closed

Can't find openjpeg.h when cross-compile. #1320

leimaohui opened this issue Jan 7, 2021 · 1 comment

Comments

@leimaohui
Copy link

leimaohui commented Jan 7, 2021

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".

@rouault
Copy link
Collaborator

rouault commented Jan 10, 2021

Fixed per pull request #1321

@rouault rouault closed this as completed Jan 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants