vcpkg icon indicating copy to clipboard operation
vcpkg copied to clipboard

[glib] build failure

Open wmjb opened this issue 1 year ago • 6 comments

Operating system

windows-arm

Compiler

msvc

Steps to reproduce the behavior

vcpkg install glib --triplet=arm-windows

Failure logs

missing linking with three libraries - advapi32.lib, shell32.lib ole32.lib.

Additional context

manually adding these link arguments to the ninja build file results in success. how can the port files be modified to include these? so when a glib is built as part of another package it can succeed?

wmjb avatar Sep 26 '24 19:09 wmjb

also package cairo is missing ole32.lib for arm-windows

wmjb avatar Sep 26 '24 20:09 wmjb

also package pango is missing advapi32.lib for arm-windows

wmjb avatar Sep 26 '24 20:09 wmjb

also sassc missing shell32.lib for arm-windows

wmjb avatar Sep 26 '24 22:09 wmjb

also gtk3 missing Gdi32.lib shell32.lib ole32.lib advapi32.lib comdlg32.lib Winspool.lib for arm-windows

is there some global settings for vcpkg on a per triplet basis?

wmjb avatar Sep 26 '24 22:09 wmjb

Do you really want to target 32-bit arm instead of arm64?

Please show proper error logs. glib is built with meson. For windows, vcpkg normally passes implicit link libraries as initialized in CMake to meson, via a generated "machine file". (And meson doesn't use that list for configuration tests...)

dg0yt avatar Sep 27 '24 04:09 dg0yt

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

github-actions[bot] avatar Dec 10 '25 02:12 github-actions[bot]