gsshvnc icon indicating copy to clipboard operation
gsshvnc copied to clipboard

Building on MSYS2 UCRT64 fails due to missing gvncpulse-1.0 and libssh_threads

Open agerwick opened this issue 1 year ago • 1 comments

I've installed the following dependencies: $ pacman -s mingw-w64-ucrt-x86_64-meson mingw-w64-ucrt-x86_64-python mingw-w64-ucrt-x86_64-meson mingw-w64-ucrt-x86_64-ninja mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-gtk3 mingw-w64-ucrt-x86_64-libssh mingw-w64-ucrt-x86_64-gtk-vnc mingw-w64-ucrt-x86_64-gtkmm3 mingw-w64-ucrt-x86_64-cmake

and I end up with these specific versions: mingw-w64-ucrt-x86_64-meson-1.6.0-2 mingw-w64-ucrt-x86_64-python-3.12.7-2 mingw-w64-ucrt-x86_64-ninja-1.12.1-1 mingw-w64-ucrt-x86_64-gcc-14.2.0-2 mingw-w64-ucrt-x86_64-gtk3-3.24.43-1 mingw-w64-ucrt-x86_64-libssh-0.11.1-1 mingw-w64-ucrt-x86_64-gtk-vnc-1.3.1-2 mingw-w64-ucrt-x86_64-gtkmm3-3.24.9-1 mingw-w64-ucrt-x86_64-cmake-3.31.0-1

But there are two dependencies that I can't find, gvncpulse-1.0 and libssh_threads. Where can I find these? Alternatively, is there a pre-built Windows executable available? I have not tried building on Windows before...

Here's the complete output: $ /ucrt64/bin/meson setup builddir The Meson build system Version: 1.6.0 Source dir: C:/ins/tmp/gsshvnc Build dir: C:/ins/tmp/gsshvnc/builddir Build type: native build Project name: gsshvnc Project version: 0.96.0 C++ compiler for the host machine: c++ (gcc 14.2.0 "c++ (Rev2, Built by MSYS2 project) 14.2.0") C++ linker for the host machine: c++ ld.bfd 2.43.1 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: YES (C:\msys64\ucrt64\bin/pkg-config.EXE) 2.3.0 Run-time dependency gvnc-1.0 found: YES 1.3.1 Run-time dependency gtk-vnc-2.0 found: YES 1.3.1 Run-time dependency gtkmm-3.0 found: YES 3.24.9 Found CMake: C:\msys64\ucrt64\bin/cmake.EXE (3.31.0) Run-time dependency gvncpulse-1.0 found: NO (tried pkgconfig and cmake) Run-time dependency libssh found: YES 0.11.1 Run-time dependency libssh_threads found: NO (tried pkgconfig and cmake) Run-time dependency threads found: YES Library ws2_32 found: YES Windows resource compiler: GNU windres (GNU Binutils) 2.43.1 Build targets in project: 2 NOTICE: Future-deprecated features used:

  • 0.56.0: {'gui_app arg in executable'}

Found ninja-1.12.1 at C:\msys64\ucrt64\bin/ninja.EXE

agerwick avatar Dec 02 '24 15:12 agerwick

gvncpulse and libssh_threads are both optional, and are not currently used in Windows builds.

Also, Windows installers can be found on the releases page (e.g. https://github.com/zrax/gsshvnc/releases/tag/v0.96)

zrax avatar Dec 02 '24 21:12 zrax