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

No package gtk4 found #1485

Closed
erwinschrodinger1 opened this issue Sep 1, 2023 · 0 comments · Fixed by #1486
Closed

No package gtk4 found #1485

erwinschrodinger1 opened this issue Sep 1, 2023 · 0 comments · Fixed by #1486
Labels
enhancement New feature or request

Comments

@erwinschrodinger1
Copy link
Contributor

Issue Encountered during GTK4 Installation on Windows

I followed the recommended installation guide from the book GTK4 Installation Guide for Windows, but I encountered the following error:

Package gtk4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk4' found

The reason behind this error is that the guide does not include instructions to add the PKG_CONFIG_PATH environment variable. To resolve this issue, you should add a new environment variable with the following details:

Variable Name: PKG_CONFIG_PATH
Variable Value: C:\gtk-build\gtk\x64\release\lib\pkgconfig

Here is an image highlighting the error in the code:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant