-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[gtk] missing .pc
file for pkg-config
#7641
Comments
- Fixes microsoft#7412 by using gtk 3.24.10. - Possibly fixes microsoft#6554, microsoft#7827, microsoft#8103 as now all the missing assets are correctly copied into installed/<triplet>/share/ and should be deployed with the final application. This simplify the gtk port and correctly generate the missing files. The source of the problem is with the underlying build system, as these files were installed by the demo `icon-browser`, but the gtk-update-icon-cache were executed by the main gtk project, failing if the demo wasn't built or installed. - This also fixes microsoft#7641 as now the meson build will correctly generate the missing .pc files. - This also fixes microsoft#9035, microsoft#7150 by fixing `vcpkg_configure_meson.cmake` which fails on Linux/OSX because it indiscriminately try to pass msvc cl arguments to the cmake c/xx flags. Although this works, it is not the ideal fix. The correct fix would be to do as suggested in issue microsoft#8271. Also see issue microsoft#8630.
Is there any progress on this issue? |
@Glavo Sorry for late, gtk's pkgconfig files should be installed in VCPKG_PATH/installed/TRIPLET/lib/pkgconfig now. Thanks. |
The vcpkg project ships a broken, old, and forked version of GTK: - microsoft/vcpkg#12282 - microsoft/vcpkg#11797 - microsoft/vcpkg#11318 - microsoft/vcpkg#7827 - microsoft/vcpkg#7412 - microsoft/vcpkg#7641 - microsoft/vcpkg#6554
It looks like the I installed
Version Infos
Thanks |
@zdyang Yes I confirmed. |
@JackBoosY #13100 has been merged so this shouldn't be an issue any longer |
When I tried to find gtk in CMake like this, it failed:
find_package(PkgConfig REQUIRED) pkg_check_modules(GTK3 REQUIRED gtk+-3.0)
There is no
.pc
fileassociated with GTK+ 3 in underC:\vcpkg\installed\x64-windows\lib\pkgconfig
.Proposed solution
Add the
.pc
associated with GTK+ 3.The text was updated successfully, but these errors were encountered: