msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.28k stars 1.21k forks source link

Add Neovim QT #16672

Closed techie-guy closed 1 year ago

techie-guy commented 1 year ago

Package name

neovim-qt

Brief description of package

Neovim QT is a QT GUI for Neovim

URL for package's homepage

https://github.com/equalsraf/neovim-qt

Provide a basic test case to validate the package's functionality.

./bin/nvim-qt.exe --version

MINGW environments where you need the package

Are you willing to submit a PR?

Yes

techie-guy commented 1 year ago

The Pull Request for the package has been merged.

Closing this Issue.

Freed-Wu commented 2 months ago
❯ nvim-qt --version
C:/msys64/ucrt64/bin/nvim-qt.exe: error while loading shared libraries: api-ms-win-crt-utility-l1-1-0.dll: cannot open shared object file: No such file or directory
❯ ldd =nvim-qt
        ntdll.dll => /mnt/c/Windows/SYSTEM32/ntdll.dll (0x7fff44ed0000)
        KERNEL32.DLL => /mnt/c/Windows/System32/KERNEL32.DLL (0x7fff441d0000)
        KERNELBASE.dll => /mnt/c/Windows/System32/KERNELBASE.dll (0x7fff425b0000)
        ucrtbase.dll => /mnt/c/Windows/System32/ucrtbase.dll (0x7fff429c0000)
        libgcc_s_seh-1.dll => /ucrt64/bin/libgcc_s_seh-1.dll (0x7fff31ed0000)
        USER32.dll => /mnt/c/Windows/System32/USER32.dll (0x7fff431e0000)
        win32u.dll => /mnt/c/Windows/System32/win32u.dll (0x7fff42cb0000)
        libwinpthread-1.dll => /ucrt64/bin/libwinpthread-1.dll (0x7fff32c70000)
        libstdc++-6.dll => /ucrt64/bin/libstdc++-6.dll (0x7fff2a580000)
        GDI32.dll => /mnt/c/Windows/System32/GDI32.dll (0x7fff44d30000)
        gdi32full.dll => /mnt/c/Windows/System32/gdi32full.dll (0x7fff42de0000)
        msvcp_win.dll => /mnt/c/Windows/System32/msvcp_win.dll (0x7fff42920000)
        libmsgpack-c.dll => not found
        api-ms-win-crt-environment-l1-1-0.dll => not found
        api-ms-win-crt-heap-l1-1-0.dll => not found
        api-ms-win-crt-math-l1-1-0.dll => not found
        api-ms-win-crt-private-l1-1-0.dll => not found
        api-ms-win-crt-runtime-l1-1-0.dll => not found
        api-ms-win-crt-stdio-l1-1-0.dll => not found
        api-ms-win-crt-string-l1-1-0.dll => not found
        api-ms-win-crt-time-l1-1-0.dll => not found
        api-ms-win-crt-utility-l1-1-0.dll => not found
        Qt5Core.dll => /ucrt64/bin/Qt5Core.dll (?)
        Qt5Gui.dll => /ucrt64/bin/Qt5Gui.dll (?)
        Qt5Network.dll => /ucrt64/bin/Qt5Network.dll (?)
        Qt5Svg.dll => /ucrt64/bin/Qt5Svg.dll (?)
        Qt5Widgets.dll => /ucrt64/bin/Qt5Widgets.dll (?)

It cannot work, and some library is not found?

Freed-Wu commented 2 months ago

I confirm it is a bug. It will not happened in mingw64, but in ucrt64.

Biswa96 commented 2 months ago

Are you using Windows 10 or 11?

Freed-Wu commented 2 months ago

Yes, win10

Biswa96 commented 2 months ago

The ldd output is misleading. Use mingw ntldd package.

Freed-Wu commented 2 months ago

After paman -Syu, seems it works. Sorry for my disturbing :cry: