MINGW-packages
MINGW-packages copied to clipboard
[qt6-static] CMake can not locate harfbuzz in an empty Hello-world widgets application.
Description / Steps to reproduce the issue
Greate! Qt Charts is back in static release. However, a new tiny problem breaks out after the update.
When creating a new empty hello-world QWidget application with qtcreator (CMAKE), CMake reports some error messages with IMPORTED_IMPLIB and harfbuzz::harfbuzz, like this:
Running C:\msys64\ucrt64\bin\cmake.exe -S D:/Projects/testQt6Static -B D:/Projects/build-testQt6Static-Desktop_Qt_6_6_0_static_MinGW_w64_UCRT64_MSYS2-Release "-DCMAKE_GENERATOR:STRING=Ninja" "-DCMAKE_BUILD_TYPE:STRING=Release" "-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=D:\Projects\build-testQt6Static-Desktop_Qt_6_6_0_static_MinGW_w64_UCRT64_MSYS2-Release/.qtc/package-manager/auto-setup.cmake" "-DQT_QMAKE_EXECUTABLE:FILEPATH=C:/msys64/ucrt64/qt6-static/bin/qmake.exe" "-DCMAKE_PREFIX_PATH:PATH=C:/msys64/ucrt64/qt6-static" "-DCMAKE_C_COMPILER:FILEPATH=C:/msys64/ucrt64/bin/gcc.exe" "-DCMAKE_CXX_COMPILER:FILEPATH=C:/msys64/ucrt64/bin/g++.exe" "-DCMAKE_CXX_FLAGS_INIT:STRING=" in D:\Projects\build-testQt6Static-Desktop_Qt_6_6_0_static_MinGW_w64_UCRT64_MSYS2-Release.
-- The CXX compiler identification is GNU 13.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/ucrt64/bin/g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found ZLIB: C:/msys64/ucrt64/lib/libz.dll.a (found version "1.3")
-- Found WrapSystemZLIB: TRUE
-- Using system ZLIB.
-- Found WrapZLIB: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Checking for module 'libb2'
-- Found libb2, version 0.98.1
-- Found WrapSystemPCRE2: C:/msys64/ucrt64/lib/libpcre2-16.dll.a (found version "10.42")
-- Using system PCRE2.
-- Found WrapPCRE2: TRUE
-- Performing Test HAVE_GETTIME
-- Performing Test HAVE_GETTIME - Success
-- Performing Test HAVE_SHM_OPEN_SHM_UNLINK
-- Performing Test HAVE_SHM_OPEN_SHM_UNLINK - Failed
-- Found WrapRt: TRUE
-- Found WrapSystemPNG: C:/msys64/ucrt64/lib/libpng.dll.a;C:/msys64/ucrt64/lib/libz.dll.a (found version "1.6.40")
-- Using system PNG.
-- Found WrapPNG: TRUE
-- Found WrapSystemHarfbuzz: TRUE
-- Using system Harfbuzz.
-- Found WrapHarfbuzz: TRUE
-- Found WrapSystemFreetype: C:/msys64/ucrt64/lib/libfreetype.dll.a (found version "2.13.2")
-- Using system Freetype.
-- Found WrapFreetype: TRUE
-- Found WrapVulkanHeaders: C:/msys64/ucrt64/include
-- Found WrapSystemJpeg: C:/msys64/ucrt64/lib/libjpeg.dll.a (found version "80")
-- Using system Jpeg.
-- Found WrapJpeg: TRUE
-- Checking for module 'libmng'
-- Found libmng, version 2.0.3
-- Found TIFF: C:/msys64/ucrt64/lib/libtiff.dll.a (found version "4.6.0")
-- Found OpenSSL: C:/msys64/ucrt64/lib/libcrypto.dll.a (found version "3.1.4")
-- Found WrapOpenSSLHeaders: C:/msys64/ucrt64/include (found version "3.1.4")
-- Found WrapOpenSSL: C:/msys64/ucrt64/lib/libcrypto.dll.a (found version "3.1.4")
-- Checking for module 'libwebp'
-- Found libwebp, version 1.3.2
-- Checking for module 'libwebpdemux'
-- Found libwebpdemux, version 1.3.2
-- Checking for module 'libwebpmux'
-- Found libwebpmux, version 1.3.2
-- Found WrapWebP: C:/msys64/ucrt64/include
-- Configuring done (6.9s)
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "harfbuzz::harfbuzz"
configuration "Release".
-- Generating done (0.0s)
CMake Generate step failed. Build files cannot be regenerated correctly.
CMake process exited with exit code 1.
Elapsed time: 00:07.
May be some lib config for harfbuzz is missing in Qt's CMake config files.
The problem only exist in widgets apps, console app is good.
Expected behavior
May tell CMake about the path for harfbuzz libs.
Actual behavior
Thanks a lot!
Verification
- [X] I have verified that my MSYS2 is up-to-date before submitting the report (see https://www.msys2.org/docs/updating/)
Windows Version
MINGW64_NT-10.0-22621
MINGW environments affected
- [X] MINGW64
- [ ] MINGW32
- [X] UCRT64
- [ ] CLANG64
- [ ] CLANG32
- [ ] CLANGARM64
Are you willing to submit a PR?
No response
CMake file auto-generated by qtcreator is here:
cmake_minimum_required(VERSION 3.5)
project(testQt6Static VERSION 0.1 LANGUAGES CXX)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets)
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets)
set(PROJECT_SOURCES
main.cpp
widget.cpp
widget.h
widget.ui
)
if(${QT_VERSION_MAJOR} GREATER_EQUAL 6)
qt_add_executable(testQt6Static
MANUAL_FINALIZATION
${PROJECT_SOURCES}
)
# Define target properties for Android with Qt 6 as:
# set_property(TARGET testQt6Static APPEND PROPERTY QT_ANDROID_PACKAGE_SOURCE_DIR
# ${CMAKE_CURRENT_SOURCE_DIR}/android)
# For more information, see https://doc.qt.io/qt-6/qt-add-executable.html#target-creation
else()
if(ANDROID)
add_library(testQt6Static SHARED
${PROJECT_SOURCES}
)
# Define properties for Android with Qt 5 after find_package() calls as:
# set(ANDROID_PACKAGE_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/android")
else()
add_executable(testQt6Static
${PROJECT_SOURCES}
)
endif()
endif()
target_link_libraries(testQt6Static PRIVATE Qt${QT_VERSION_MAJOR}::Widgets)
###############Interim Remedies#####################
###for issue https://github.com/msys2/MINGW-packages/issues/18966
target_link_libraries(testQt6Static PRIVATE Qt${QT_VERSION_MAJOR}::Widgets pthread)
set_property(TARGET harfbuzz::harfbuzz PROPERTY
IMPORTED_IMPLIB "c:/msys64/mingw64/lib/libharfbuzz.dll.a" )
####################################################
# Qt for iOS sets MACOSX_BUNDLE_GUI_IDENTIFIER automatically since Qt 6.1.
# If you are developing for iOS or macOS you should consider setting an
# explicit, fixed bundle identifier manually though.
if(${QT_VERSION} VERSION_LESS 6.1.0)
set(BUNDLE_ID_OPTION MACOSX_BUNDLE_GUI_IDENTIFIER com.example.testQt6Static)
endif()
set_target_properties(testQt6Static PROPERTIES
${BUNDLE_ID_OPTION}
MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}
MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
MACOSX_BUNDLE TRUE
WIN32_EXECUTABLE TRUE
)
include(GNUInstallDirs)
install(TARGETS testQt6Static
BUNDLE DESTINATION .
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
if(QT_VERSION_MAJOR EQUAL 6)
qt_finalize_executable(testQt6Static)
endif()
Oh, I checked the files with this package, may be something has been commented out: PKGBUIILD:
license=(spdx:LGPL-3.0-only WITH spdx:Qt-GPL-exception-1.0 AND spdx:GPL-2.0-or-later AND spdx:GPL-3.0-or-later)
pkgdesc="A cross-platform application and UI framework (mingw-w64)"
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
"${MINGW_PACKAGE_PREFIX}-vulkan-loader"
"${MINGW_PACKAGE_PREFIX}-dbus"
"${MINGW_PACKAGE_PREFIX}-brotli"
"${MINGW_PACKAGE_PREFIX}-freetype"
#"${MINGW_PACKAGE_PREFIX}-graphite2"
#"${MINGW_PACKAGE_PREFIX}-harfbuzz"
"${MINGW_PACKAGE_PREFIX}-libjpeg-turbo"
"${MINGW_PACKAGE_PREFIX}-libmng"
"${MINGW_PACKAGE_PREFIX}-libpng"
"${MINGW_PACKAGE_PREFIX}-libtiff"
"${MINGW_PACKAGE_PREFIX}-libwebp"
#"${MINGW_PACKAGE_PREFIX}-md4c"
and the file 009-Fix-transitive-dependencies-of-static-libraries.patch metions harfbuzz,
I Create a pull request: 18967, It would be appreciated if an expert could see if this initiative actually solved this failure .
does installing harfbuzz fix the issue?
does installing harfbuzz fix the issue?
harfbuzz has been already installed with elder Qt6 versions.
does installing harfbuzz fix the issue?
harfbuzz has been already installed with elder Qt6 versions.
So, Adding it as a dependency won't change anything.
Oh! Not only CMake, QMake hello-world widgets also have similar problem.
C:/msys64/ucrt64/bin/mingw32-make.exe -f Makefile.Release
mingw32-make[1]: Entering directory 'D:/Projects/build-testqmke-Desktop_Qt_6_6_0_static_MinGW_w64_UCRT64_MSYS2-Release'
g++ -Wl,-s -static -static -Wl,-subsystem,windows -mthreads -o release/testqmke.exe release/main.o release/dialog.o release/testqmke_plugin_import.o release/moc_dialog.o C:/msys64/ucrt64/qt6-static/share/qt6/plugins/styles/libqwindowsvistastyle.a C:/msys64/ucrt64/qt6-static/lib/objects-Release/QWindowsIntegrationPlugin_resources_1/.rcc/qrc_openglblacklists.cpp.obj C:/msys64/ucrt64/qt6-static/lib/objects-Release/QWindowsIntegrationPlugin_resources_2/.rcc/qrc_cursors.cpp.obj C:/msys64/ucrt64/qt6-static/share/qt6/plugins/platforms/libqwindows.a -limm32 -loleaut32 -lsetupapi -lwinspool -lwtsapi32 -lshcore -lcomdlg32 -ld3d9 -lruntimeobject C:/msys64/ucrt64/qt6-static/lib/libQt6OpenGL.a C:/msys64/ucrt64/qt6-static/share/qt6/plugins/iconengines/libqsvgicon.a C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqgif.a C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqicns.a C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqico.a C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqjpeg.a -ljpeg C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a -lmng C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqsvg.a C:/msys64/ucrt64/qt6-static/lib/libQt6Svg.a C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqtga.a C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqtiff.a -ltiff C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqwbmp.a C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqwebp.a -lwebp -lwebpdemux -lwebpmux C:/msys64/ucrt64/qt6-static/lib/objects-Release/Widgets_resources_1/.rcc/qrc_qstyle.cpp.obj C:/msys64/ucrt64/qt6-static/lib/objects-Release/Widgets_resources_2/.rcc/qrc_qstyle1.cpp.obj C:/msys64/ucrt64/qt6-static/lib/objects-Release/Widgets_resources_3/.rcc/qrc_qmessagebox.cpp.obj C:/msys64/ucrt64/qt6-static/lib/libQt6Widgets.a -ldwmapi -luxtheme C:/msys64/ucrt64/qt6-static/lib/objects-Release/Gui_resources_1/.rcc/qrc_qpdf.cpp.obj C:/msys64/ucrt64/qt6-static/lib/objects-Release/Gui_resources_2/.rcc/qrc_gui_shaders.cpp.obj C:/msys64/ucrt64/qt6-static/lib/libQt6Gui.a -ld3d11 -ldxgi -ldxguid -ld3d12 -lpng -lglib-2.0 -lusp10 -lgdi32 -lshlwapi -lintl -lm -lgraphite2 -lrpcrt4 -lbz2 -lharfbuzz -lfreetype -lbrotlidec -lbrotlicommon -ld2d1 -ldwrite C:/msys64/ucrt64/qt6-static/lib/libQt6Core.a -lz -lsynchronization -lmpr -luserenv -ladvapi32 -lauthz -lkernel32 -lnetapi32 -lole32 -lshell32 -luser32 -luuid -lversion -lwinmm -lws2_32 -lb2 -lpcre2-16 -lmingw32 C:/msys64/ucrt64/qt6-static/lib/libQt6EntryPoint.a -lshell32
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZL13myprocesstermP15mng_data_structhhjj+0x9): undefined reference to `__imp_mng_get_userdata'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZL10mysettimerP15mng_data_structj+0x9): undefined reference to `__imp_mng_get_userdata'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZL14mygettickcountP15mng_data_struct+0x6): undefined reference to `__imp_mng_get_userdata'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZL13myclosestreamP15mng_data_struct+0x6): undefined reference to `__imp_mng_get_userdata'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZL15mygetcanvaslineP15mng_data_structj+0x9): undefined reference to `__imp_mng_get_userdata'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN11QMngHandlerD2Ev+0x22): undefined reference to `__imp_mng_cleanup'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZL11mywritedataP15mng_data_structPvjPj+0x12): undefined reference to `__imp_mng_get_userdata'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZL10myreaddataP15mng_data_structPvjPj+0x12): undefined reference to `__imp_mng_get_userdata'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN11QMngHandlerD0Ev+0x22): undefined reference to `__imp_mng_cleanup'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZL15myprocessheaderP15mng_data_structjj+0xe): undefined reference to `__imp_mng_get_userdata'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZL15myprocessheaderP15mng_data_structjj+0x1e): undefined reference to `__imp_mng_set_canvasstyle'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN11QMngHandler11jumpToImageEi+0x28): undefined reference to `__imp_mng_display_freeze'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN11QMngHandler11jumpToImageEi+0x48): undefined reference to `__imp_mng_display_goframe'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivateC2EP11QMngHandler+0x56): undefined reference to `__imp_mng_initialize'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivateC2EP11QMngHandler+0x73): undefined reference to `__imp_mng_setcb_errorproc'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivateC2EP11QMngHandler+0x84): undefined reference to `__imp_mng_setcb_openstream'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivateC2EP11QMngHandler+0x95): undefined reference to `__imp_mng_setcb_closestream'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivateC2EP11QMngHandler+0xa6): undefined reference to `__imp_mng_setcb_readdata'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivateC2EP11QMngHandler+0xb7): undefined reference to `__imp_mng_setcb_writedata'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivateC2EP11QMngHandler+0xc8): undefined reference to `__imp_mng_setcb_processheader'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivateC2EP11QMngHandler+0xd9): undefined reference to `__imp_mng_setcb_getcanvasline'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivateC2EP11QMngHandler+0xea): undefined reference to `__imp_mng_setcb_refresh'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivateC2EP11QMngHandler+0xfb): undefined reference to `__imp_mng_setcb_gettickcount'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivateC2EP11QMngHandler+0x10c): undefined reference to `__imp_mng_setcb_settimer'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivateC2EP11QMngHandler+0x11d): undefined reference to `__imp_mng_setcb_processterm'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivateC2EP11QMngHandler+0x129): undefined reference to `__imp_mng_set_doprogressive'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivateC2EP11QMngHandler+0x13f): undefined reference to `__imp_mng_set_suspensionmode'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivateD2Ev+0xe): undefined reference to `__imp_mng_cleanup'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivate13processHeaderEjj+0x18): undefined reference to `__imp_mng_set_canvasstyle'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivate12getNextImageEP6QImage+0x20): undefined reference to `__imp_mng_readdisplay'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivate12getNextImageEP6QImage+0x4a): undefined reference to `__imp_mng_display_resume'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivate12getNextImageEP6QImage+0xc6): undefined reference to `__imp_mng_display_resume'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivate10writeImageERK6QImage+0x17): undefined reference to `__imp_mng_reset'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivate10writeImageERK6QImage+0x21): undefined reference to `__imp_mng_create'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivate10writeImageERK6QImage+0xe9): undefined reference to `__imp_mng_putchunk_mhdr'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivate10writeImageERK6QImage+0x111): undefined reference to `__imp_mng_putchunk_term'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivate10writeImageERK6QImage+0x14e): undefined reference to `__imp_mng_putchunk_ihdr'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivate10writeImageERK6QImage+0x19e): undefined reference to `__imp_mng_putimgdata_ihdr'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivate10writeImageERK6QImage+0x1b0): undefined reference to `__imp_mng_putchunk_iend'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivate10writeImageERK6QImage+0x1c2): undefined reference to `__imp_mng_putchunk_mend'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivate10writeImageERK6QImage+0x1d4): undefined reference to `__imp_mng_write'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivate11jumpToImageEi+0x27): undefined reference to `__imp_mng_display_freeze'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivate11jumpToImageEi+0x48): undefined reference to `__imp_mng_display_goframe'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZN18QMngHandlerPrivate18setBackgroundColorERK6QColor+0x44): undefined reference to `__imp_mng_set_bgcolor'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/qt6-static/share/qt6/plugins/imageformats/libqmng.a(qmnghandler.cpp.obj):(.text$_ZNK18QMngHandlerPrivate15backgroundColorEv+0x20): undefined reference to `__imp_mng_get_bgcolor'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_jbig.o):(.text+0x53): undefined reference to `jbg_enc_init'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_jbig.o):(.text+0x5b): undefined reference to `jbg_enc_out'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_jbig.o):(.text+0x63): undefined reference to `jbg_enc_free'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_jbig.o):(.text+0xd3): undefined reference to `jbg_dec_init'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_jbig.o):(.text+0xe6): undefined reference to `jbg_newlen'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_jbig.o):(.text+0xff): undefined reference to `jbg_dec_in'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_jbig.o):(.text+0x111): undefined reference to `jbg_dec_getsize'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_jbig.o):(.text+0x128): undefined reference to `jbg_dec_getimage'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_jbig.o):(.text+0x13e): undefined reference to `jbg_dec_free'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_jbig.o):(.text+0x1b3): undefined reference to `jbg_strerror'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_jbig.o):(.text+0x1d9): undefined reference to `jbg_dec_free'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_jpeg_12.o):(.text+0x7e4): undefined reference to `jpeg12_write_raw_data'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_jpeg_12.o):(.text+0xf74): undefined reference to `jpeg12_read_raw_data'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_jpeg_12.o):(.text+0x16f2): undefined reference to `jpeg12_read_scanlines'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_jpeg_12.o):(.text+0x19b2): undefined reference to `jpeg12_write_scanlines'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0xf6): undefined reference to `libdeflate_free_decompressor'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0x104): undefined reference to `libdeflate_free_compressor'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0x581): undefined reference to `lerc_encodeForVersion'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0x7d5): undefined reference to `libdeflate_zlib_compress_bound'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0x802): undefined reference to `libdeflate_zlib_compress'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0x866): undefined reference to `libdeflate_alloc_compressor'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0x8a3): undefined reference to `ZSTD_compress'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0x8ae): undefined reference to `ZSTD_isError'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0x924): undefined reference to `ZSTD_getErrorName'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0xc3f): undefined reference to `ZSTD_compressBound'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0xf50): undefined reference to `libdeflate_zlib_decompress'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0xf91): undefined reference to `lerc_getBlobInfo'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0x109d): undefined reference to `lerc_decode'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0x1215): undefined reference to `ZSTD_decompress'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0x1220): undefined reference to `ZSTD_isError'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0x1230): undefined reference to `ZSTD_getErrorName'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0x12e9): undefined reference to `libdeflate_alloc_decompressor'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0x1412): undefined reference to `lerc_decode'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0x175c): undefined reference to `libdeflate_free_compressor'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0x179b): undefined reference to `ZSTD_maxCLevel'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lerc.o):(.text+0x17a4): undefined reference to `ZSTD_maxCLevel'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lzma.o):(.text+0x180): undefined reference to `lzma_code'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lzma.o):(.text+0x2d3): undefined reference to `lzma_code'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lzma.o):(.text+0x383): undefined reference to `lzma_stream_encoder'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lzma.o):(.text+0x441): undefined reference to `lzma_lzma_preset'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lzma.o):(.text+0x476): undefined reference to `lzma_stream_encoder'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lzma.o):(.text+0x52e): undefined reference to `lzma_code'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lzma.o):(.text+0x544): undefined reference to `lzma_memusage'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lzma.o):(.text+0x552): undefined reference to `lzma_stream_decoder'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lzma.o):(.text+0x6ef): undefined reference to `lzma_stream_decoder'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lzma.o):(.text+0x7a8): undefined reference to `lzma_end'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lzma.o):(.text+0x808): undefined reference to `lzma_end'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lzma.o):(.text+0x8a0): undefined reference to `lzma_end'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_lzma.o):(.text+0xa88): undefined reference to `lzma_lzma_preset'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zip.o):(.text+0xc5): undefined reference to `libdeflate_free_decompressor'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zip.o):(.text+0xd6): undefined reference to `libdeflate_free_compressor'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zip.o):(.text+0x2d7): undefined reference to `libdeflate_zlib_compress_bound'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zip.o):(.text+0x313): undefined reference to `libdeflate_zlib_compress'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zip.o):(.text+0x3a3): undefined reference to `libdeflate_alloc_compressor'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zip.o):(.text+0x832): undefined reference to `libdeflate_zlib_decompress'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zip.o):(.text+0x948): undefined reference to `libdeflate_alloc_decompressor'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zip.o):(.text+0xb9b): undefined reference to `libdeflate_free_compressor'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x93): undefined reference to `ZSTD_freeDStream'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0xaf): undefined reference to `ZSTD_freeCStream'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x17a): undefined reference to `ZSTD_compressStream'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x185): undefined reference to `ZSTD_isError'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x204): undefined reference to `ZSTD_getErrorName'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x290): undefined reference to `ZSTD_endStream'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x29b): undefined reference to `ZSTD_isError'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x2f4): undefined reference to `ZSTD_getErrorName'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x35c): undefined reference to `ZSTD_initCStream'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x367): undefined reference to `ZSTD_isError'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x3a9): undefined reference to `ZSTD_createCStream'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x3e4): undefined reference to `ZSTD_getErrorName'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x4db): undefined reference to `ZSTD_decompressStream'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x4e6): undefined reference to `ZSTD_isError'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x4f2): undefined reference to `ZSTD_getErrorName'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x5ef): undefined reference to `ZSTD_initDStream'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x5fa): undefined reference to `ZSTD_isError'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x623): undefined reference to `ZSTD_createDStream'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x65c): undefined reference to `ZSTD_getErrorName'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x6de): undefined reference to `ZSTD_maxCLevel'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x6e7): undefined reference to `ZSTD_maxCLevel'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x748): undefined reference to `ZSTD_freeDStream'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libtiff.a(tif_zstd.o):(.text+0x7b8): undefined reference to `ZSTD_freeCStream'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libwebp.a(picture_csp_enc.c.obj):(.text+0x845): undefined reference to `SharpYuvInit'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libwebp.a(picture_csp_enc.c.obj):(.text+0x84c): undefined reference to `SharpYuvGetConversionMatrix'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libwebp.a(picture_csp_enc.c.obj):(.text+0x8d3): undefined reference to `SharpYuvConvert'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x14c): undefined reference to `gr_make_face_with_ops'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x1e6): undefined reference to `gr_face_destroy'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x334): undefined reference to `gr_face_featureval_for_lang'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x356): undefined reference to `gr_face_find_fref'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x36a): undefined reference to `gr_fref_set_feature_value'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x405): undefined reference to `gr_make_seg'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x41d): undefined reference to `gr_seg_n_slots'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x555): undefined reference to `gr_seg_first_slot'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x58f): undefined reference to `gr_slot_before'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x59a): undefined reference to `gr_slot_after'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x5a4): undefined reference to `gr_slot_gid'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x619): undefined reference to `gr_slot_can_insert_before'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x689): undefined reference to `gr_slot_origin_X'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x6fd): undefined reference to `gr_slot_next_in_segment'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x7de): undefined reference to `gr_seg_first_slot'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x819): undefined reference to `gr_slot_advance_Y'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x833): undefined reference to `gr_slot_next_in_segment'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x847): undefined reference to `gr_slot_origin_X'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x86a): undefined reference to `gr_slot_origin_Y'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x90f): undefined reference to `gr_seg_advance_X'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x968): undefined reference to `gr_slot_origin_X'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x9c6): undefined reference to `gr_featureval_destroy'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0x9d0): undefined reference to `gr_seg_destroy'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0xaba): undefined reference to `gr_seg_advance_X'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0xace): undefined reference to `gr_seg_first_slot'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0xb09): undefined reference to `gr_slot_advance_Y'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0xb23): undefined reference to `gr_slot_origin_X'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0xb60): undefined reference to `gr_slot_origin_Y'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0xb83): undefined reference to `gr_slot_next_in_segment'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0xbbe): undefined reference to `gr_featureval_destroy'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0xbe1): undefined reference to `gr_featureval_destroy'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0xbeb): undefined reference to `gr_seg_destroy'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0xc05): undefined reference to `gr_seg_first_slot'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0xc0d): undefined reference to `gr_slot_origin_X'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0xc24): undefined reference to `gr_seg_advance_X'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0xc5b): undefined reference to `gr_featureval_destroy'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-graphite2.cc.obj):(.text+0xc65): undefined reference to `gr_seg_destroy'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-uniscribe.cc.obj):(.text+0x5e3): undefined reference to `ScriptFreeCache'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-uniscribe.cc.obj):(.text+0x70f): undefined reference to `__imp_UuidCreate'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-uniscribe.cc.obj):(.text+0x71): undefined reference to `ScriptPlace'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-uniscribe.cc.obj):(.text+0xc8): undefined reference to `ScriptShape'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libharfbuzz.a(hb-uniscribe.cc.obj):(.text+0xdb): undefined reference to `ScriptItemize'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libfreetype.a(src_bzip2_ftbzip2.c.obj):(.text+0x6c): undefined reference to `BZ2_bzDecompressEnd'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libfreetype.a(src_bzip2_ftbzip2.c.obj):(.text+0x11d): undefined reference to `BZ2_bzDecompress'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libfreetype.a(src_bzip2_ftbzip2.c.obj):(.text+0x32a): undefined reference to `BZ2_bzDecompressEnd'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libfreetype.a(src_bzip2_ftbzip2.c.obj):(.text+0x380): undefined reference to `BZ2_bzDecompressInit'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib\libfreetype.a(src_bzip2_ftbzip2.c.obj):(.text+0x612): undefined reference to `BZ2_bzDecompressInit'
collect2.exe: error: ld returned 1 exit status
mingw32-make[1]: *** [Makefile.Release:74: release/testqmke.exe] Error 1
mingw32-make[1]: Leaving directory 'D:/Projects/build-testqmke-Desktop_Qt_6_6_0_static_MinGW_w64_UCRT64_MSYS2-Release'
mingw32-make: *** [Makefile:45: release] Error 2
for QMAKE App extra link libraries should be involved:
QMAKE_LIBS += -ltiff -lmng.dll -ljpeg -ljbig -ldeflate -lzstd -llerc -llzma -lgraphite2 -lbz2 -lusp10 -lRpcrt4 -lsharpyuv
Then It's OK! I'll then focus in CMake projetcs and find out how we can slove this problem and succeed in building.
qt6-static is not fully static, It's linked to some shared libraries. We are waiting for someone to take the job and fix that.
For CMake we can Temporarily add deps like:
target_link_libraries(testQt6Static PRIVATE Qt${QT_VERSION_MAJOR}::Widgets pthread)
set_property(TARGET harfbuzz::harfbuzz PROPERTY
IMPORTED_IMPLIB "c:/msys64/mingw64/lib/libharfbuzz.dll.a" )
But this approach is imperfect。
Do any experts know where they should be modified to help users add these dependencies without feeling? Should I patch the qmakespec folder as well as Qt*.cmake?
QMAKE_LIBS += -ltiff -lmng.dll -ljpeg -ljbig -ldeflate -lzstd -llerc -llzma -lgraphite2 -lbz2 -lusp10 -lRpcrt4 -lsharpyuv
target_link_libraries(testQt6Helloworld PRIVATE Qt${QT_VERSION_MAJOR}::Widgets pthread)
set_property(TARGET harfbuzz::harfbuzz PROPERTY
IMPORTED_IMPLIB "c:/msys64/mingw64/lib/libharfbuzz.dll.a" )
No, you should fix qt6-static to pick static libraries instead of shared ones at CMake configuration time and make sure that no qt6-static library was linked against any shared library except the runtime ones. That requires a huge work that could need days to complete.
No, you should fix qt6-static to pick static libraries instead of shared ones at CMake configuration time and make sure that no qt6-static library was linked against any shared library except the runtime ones. That requires a huge work that could need days to complete.
Ok, got it.
qt6-static is not fully static, It's linked to some shared libraries. We are waiting for someone to take the job and fix that.
I'm not really sure I understand how it is connected to the OP's issue with harfbuzz.
For example, in my case CMake already picks static libraries and not shared ones:
-- Found WrapSystemPNG: C:/msys64/mingw64/lib/libpng.dll.a;C:/msys64/mingw64/lib/libz.dll.a (found version "1.6.40")
-- Found WrapSystemFreetype: C:/msys64/mingw64/lib/libfreetype.dll.a (found version "2.13.2")
-- Found ZLIB: C:/msys64/mingw64/lib/libz.dll.a (found version "1.3")
-- Found WrapSystemPCRE2: C:/msys64/mingw64/lib/libpcre2-16.dll.a (found version "10.42")
-- Found TIFF: C:/msys64/mingw64/lib/libtiff.dll.a (found version "4.6.0")
-- Found OpenSSL: C:/msys64/mingw64/lib/libcrypto.dll.a (found version "3.1.4")
-- Found WrapOpenSSL: C:/msys64/mingw64/lib/libcrypto.dll.a (found version "3.1.4")
So the only problem that occurs is due to invalid/incomplete WrapSystemHarfbuzz:
-- Found WrapSystemHarfbuzz: TRUE
-- Using system Harfbuzz.
...
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "harfbuzz::harfbuzz".
P.S. Full log can be found below:
-- Building for: Ninja
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found WrapSystemPNG: C:/msys64/mingw64/lib/libpng.dll.a;C:/msys64/mingw64/lib/libz.dll.a (found version "1.6.40")
-- Using system PNG.
-- Found WrapPNG: TRUE
-- Found WrapSystemHarfbuzz: TRUE
-- Using system Harfbuzz.
-- Found WrapHarfbuzz: TRUE
-- Found WrapSystemFreetype: C:/msys64/mingw64/lib/libfreetype.dll.a (found version "2.13.2")
-- Using system Freetype.
-- Found WrapFreetype: TRUE
-- Found ZLIB: C:/msys64/mingw64/lib/libz.dll.a (found version "1.3")
-- Found WrapSystemZLIB: TRUE
-- Using system ZLIB.
-- Found WrapZLIB: TRUE
-- Found WrapVulkanHeaders: C:/msys64/mingw64/include
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Checking for module 'libb2'
-- Found libb2, version 0.98.1
-- Found WrapSystemPCRE2: C:/msys64/mingw64/lib/libpcre2-16.dll.a (found version "10.42")
-- Using system PCRE2.
-- Found WrapPCRE2: TRUE
-- Performing Test HAVE_GETTIME
-- Performing Test HAVE_GETTIME - Success
-- Performing Test HAVE_SHM_OPEN_SHM_UNLINK
-- Performing Test HAVE_SHM_OPEN_SHM_UNLINK - Failed
-- Found WrapRt: TRUE
-- Found WrapSystemJpeg: C:/msys64/mingw64/lib/libjpeg.dll.a (found version "80")
-- Using system Jpeg.
-- Found WrapJpeg: TRUE
-- Checking for module 'libmng'
-- Found libmng, version 2.0.3
-- Found TIFF: C:/msys64/mingw64/lib/libtiff.dll.a (found version "4.6.0")
-- Found OpenSSL: C:/msys64/mingw64/lib/libcrypto.dll.a (found version "3.1.4")
-- Found WrapOpenSSLHeaders: C:/msys64/mingw64/include (found version "3.1.4")
-- Found WrapOpenSSL: C:/msys64/mingw64/lib/libcrypto.dll.a (found version "3.1.4")
-- Checking for module 'libwebp'
-- Found libwebp, version 1.3.2
-- Checking for module 'libwebpdemux'
-- Found libwebpdemux, version 1.3.2
-- Checking for module 'libwebpmux'
-- Found libwebpmux, version 1.3.2
-- Found WrapWebP: C:/msys64/mingw64/include
-- Configuring done (23.1s)
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "harfbuzz::harfbuzz".
.dll.a
is the extension for import libraries on MinGW-w64, which means CMake is picking shared libraries.
@MehdiChinoune I thought .dll.a is for static libraries and .dll for shared libraries At least that's how it works in Linux world with .a and .so extensions.
Furthermore, file
shows that .dll.a is an ar
archive:
$ file C:/msys64/mingw64/lib/libz.dll.a
C:/msys64/mingw64/lib/libz.dll.a: current ar archive
$ ar t C:/msys64/mingw64/lib/libz.dll.a
zlib1_dll_d000106.o
zlib1_dll_d000000.o
zlib1_dll_d000105.o
zlib1_dll_d000104.o
...
So what is it if it's not a static library?
static libraries has .a
extension.
I said it before .dll.a
is an import library, Do your research about What is an import library on Windows
.
Can confirm still reproduceable with mingw64/mingw-w64-x86_64-qt6-static 6.6.2-3
.
Try CLANG64. UCRT64 and MINGW64 have been causing absurd problems for me recently. For example: https://github.com/msys2/MINGW-packages/issues/19995. I have switched to CLANG64 completely.
Can be successfully compiled like this way.
Add this into your .pro, when you use Qt6-static:
greaterThan(QT_MAJOR_VERSION, 5) { QMAKE_LIBS += -lgraphite2 -lbz2 -lusp10 -lRpcrt4 message("Qt6 or later") }
Can still confirm still reproduceable with ucrt64/mingw-w64-ucrt-x86_64-qt6-static 6.7.0-1
, so it's not a MinGW64 or UCRT thing @iahung3 .
And also, since I did a clean-install to test if this issue is related to MINGW64, I also found out libwebp
and libmng
need to be manually installed before getting this error. I guess maybe we also need to add those two as dependency? @MehdiChinoune (might related: https://github.com/msys2/MINGW-packages/issues/10306)
By the way this might be related to the IMPORTED_IMPLIB issue:
- https://aur.archlinux.org/packages/mingw-w64-harfbuzz-icu#comment-925738
- https://aur.archlinux.org/cgit/aur.git/commit/?h=mingw-w64-qt6-svg-static&id=b3ad8ec6e24e01c3569b7aade438498c3fb65fbc