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

pkgconfig (and gphoto2-config) cflags disagree with installed headers #1077

Open
tsdgeos opened this issue Jan 14, 2025 · 0 comments
Open

pkgconfig (and gphoto2-config) cflags disagree with installed headers #1077

tsdgeos opened this issue Jan 14, 2025 · 0 comments

Comments

@tsdgeos
Copy link

tsdgeos commented Jan 14, 2025

pkgconfig file says that cflags are

$prefix/include/gphoto2

the headers are installed in

$prefix/include/gphoto2

but then the headers reference eachother with

#include <gphoto2/gphoto2-context.h>

This means that if you only compile using the cflags that pkgconfig tells you to use, compilation fails because file gphoto2/gphoto2-context.h can not be found.

I think the simplest fix is changing pkgconfig (and gphoto2-config) cflags to be $prefix/include/gphoto2 AND $prefix/include/

kdesysadmin pushed a commit to KDE/kamera that referenced this issue Jan 14, 2025
kdesysadmin pushed a commit to KDE/kamera that referenced this issue Jan 20, 2025
kdesysadmin pushed a commit to KDE/kamera that referenced this issue Jan 20, 2025
kdesysadmin pushed a commit to KDE/kamera that referenced this issue Jan 21, 2025
(cherry picked from commit 220163b)
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

1 participant