Сборка Winsparkle на кросс-компиляторе MXE в Ubuntu 16.04 - PullRequest
0 голосов
/ 03 октября 2018

Я пытаюсь собрать Seafile для Windows на MXE, и ему нужна библиотека winsparkle.Поэтому я пытаюсь собрать библиотеку winsparkle с помощью cmake на кросс-компиляторе mxe в Ubuntu 16.04.После успешного запуска cmake я запускаю команду make.Когда процесс сборки приближался к% 100, он пытался связать, но это было неудачно.Вот полный журнал:

[100%] Building CXX object CMakeFiles/WinSparkle.dir/home/zek/Desktop/QT/windeployment/mxe/winsparkle/src/updatedownloader.cpp.obj
[100%] Linking CXX shared library bin/WinSparkle.dll
CMakeFiles/WinSparkle.dir/objects.a(signatureverifier.cpp.obj):signatureverifier.cpp:(.text+0xe0): undefined reference to `BIO_new_mem_buf'
CMakeFiles/WinSparkle.dir/objects.a(signatureverifier.cpp.obj):signatureverifier.cpp:(.text+0x110): undefined reference to `PEM_read_bio_DSA_PUBKEY'
CMakeFiles/WinSparkle.dir/objects.a(signatureverifier.cpp.obj):signatureverifier.cpp:(.text+0x126): undefined reference to `BIO_free'
CMakeFiles/WinSparkle.dir/objects.a(signatureverifier.cpp.obj):signatureverifier.cpp:(.text+0x13c): undefined reference to `DSA_free'
CMakeFiles/WinSparkle.dir/objects.a(signatureverifier.cpp.obj):signatureverifier.cpp:(.text+0x210): undefined reference to `BIO_free'
CMakeFiles/WinSparkle.dir/objects.a(signatureverifier.cpp.obj):signatureverifier.cpp:(.text+0xb3a): undefined reference to `BIO_new_mem_buf'
CMakeFiles/WinSparkle.dir/objects.a(signatureverifier.cpp.obj):signatureverifier.cpp:(.text+0xb7a): undefined reference to `PEM_read_bio_DSA_PUBKEY'
CMakeFiles/WinSparkle.dir/objects.a(signatureverifier.cpp.obj):signatureverifier.cpp:(.text+0xb9a): undefined reference to `BIO_free'
CMakeFiles/WinSparkle.dir/objects.a(signatureverifier.cpp.obj):signatureverifier.cpp:(.text+0xbda): undefined reference to `DSA_verify'
CMakeFiles/WinSparkle.dir/objects.a(signatureverifier.cpp.obj):signatureverifier.cpp:(.text+0xc08): undefined reference to `DSA_free'
CMakeFiles/WinSparkle.dir/objects.a(signatureverifier.cpp.obj):signatureverifier.cpp:(.text+0x1086): undefined reference to `ERR_get_error'
CMakeFiles/WinSparkle.dir/objects.a(signatureverifier.cpp.obj):signatureverifier.cpp:(.text+0x1096): undefined reference to `ERR_error_string'
CMakeFiles/WinSparkle.dir/objects.a(signatureverifier.cpp.obj):signatureverifier.cpp:(.text+0x13a9): undefined reference to `BIO_free'
CMakeFiles/WinSparkle.dir/objects.a(signatureverifier.cpp.obj):signatureverifier.cpp:(.text+0x13f9): undefined reference to `DSA_free'
CMakeFiles/WinSparkle.dir/objects.a(filename.cpp.obj):filename.cpp:(.text+0x571): undefined reference to `wxStringOperationsWchar::EncodeNChars(unsigned int, wxUniChar const&)'
CMakeFiles/WinSparkle.dir/objects.a(filename.cpp.obj):filename.cpp:(.text$_ZN8wxString6appendEj9wxUniChar[__ZN8wxString6appendEj9wxUniChar]+0x63): undefined reference to `wxStringOperationsWchar::EncodeNChars(unsigned int, wxUniChar const&)'
CMakeFiles/WinSparkle.dir/objects.a(string.cpp.obj):string.cpp:(.text+0x490): undefined reference to `wxStringOperationsWchar::EncodeChar(wxUniChar const&)'
CMakeFiles/WinSparkle.dir/objects.a(string.cpp.obj):string.cpp:(.text+0x2dd7): undefined reference to `wxStringOperationsWchar::EncodeNChars(unsigned int, wxUniChar const&)'
CMakeFiles/WinSparkle.dir/objects.a(string.cpp.obj):string.cpp:(.text+0x5754): undefined reference to `wxStringOperationsWchar::EncodeNChars(unsigned int, wxUniChar const&)'
CMakeFiles/WinSparkle.dir/objects.a(uri.cpp.obj):uri.cpp:(.text+0x2a8): undefined reference to `wxStringOperationsWchar::EncodeChar(wxUniChar const&)'
CMakeFiles/WinSparkle.dir/objects.a(uri.cpp.obj):uri.cpp:(.text+0x30d): undefined reference to `wxStringOperationsWchar::EncodeChar(wxUniChar const&)'
CMakeFiles/WinSparkle.dir/objects.a(uri.cpp.obj):uri.cpp:(.text+0x39a): undefined reference to `wxStringOperationsWchar::EncodeChar(wxUniChar const&)'
CMakeFiles/WinSparkle.dir/objects.a(uri.cpp.obj):uri.cpp:(.text+0x3ff): undefined reference to `wxStringOperationsWchar::EncodeChar(wxUniChar const&)'
CMakeFiles/WinSparkle.dir/objects.a(uri.cpp.obj):uri.cpp:(.text+0xaba): undefined reference to `wxStringOperationsWchar::EncodeChar(wxUniChar const&)'
CMakeFiles/WinSparkle.dir/objects.a(uri.cpp.obj):uri.cpp:(.text+0xb5f): more undefined references to `wxStringOperationsWchar::EncodeChar(wxUniChar const&)' follow
CMakeFiles/WinSparkle.dir/objects.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x268e): undefined reference to `_imp__OpenThemeData@8'
CMakeFiles/WinSparkle.dir/objects.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x2709): undefined reference to `_imp__IsThemeBackgroundPartiallyTransparent@12'
CMakeFiles/WinSparkle.dir/objects.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x273b): undefined reference to `_imp__DrawThemeParentBackground@12'
CMakeFiles/WinSparkle.dir/objects.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x278c): undefined reference to `_imp__DrawThemeBackground@24'
CMakeFiles/WinSparkle.dir/objects.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x27d0): undefined reference to `_imp__GetThemeMargins@28'
CMakeFiles/WinSparkle.dir/objects.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x464b): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x5225): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x59ed): undefined reference to `_imp__OpenThemeData@8'
CMakeFiles/WinSparkle.dir/objects.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x5a32): undefined reference to `_imp__GetThemeMargins@28'
CMakeFiles/WinSparkle.dir/objects.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x5a7e): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x5acd): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(dataobj.cpp.obj):dataobj.cpp:(.text+0x7f0): undefined reference to `IsIidFromList(_GUID const&, _GUID const**, unsigned int)'
CMakeFiles/WinSparkle.dir/objects.a(dataobj.cpp.obj):dataobj.cpp:(.text+0xa20): undefined reference to `IsIidFromList(_GUID const&, _GUID const**, unsigned int)'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x69f): undefined reference to `_imp__OpenThemeData@8'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x6c9): undefined reference to `_imp__IsThemePartDefined@12'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x70d): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x767): undefined reference to `_imp__GetThemePartSize@28'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x7b3): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x8c3): undefined reference to `_imp__OpenThemeData@8'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x97e): undefined reference to `_imp__DrawThemeBackground@24'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0xa14): undefined reference to `_imp__GetThemeBackgroundContentRect@24'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0xb04): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0xca9): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0xd63): undefined reference to `_imp__OpenThemeData@8'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0xdd0): undefined reference to `_imp__IsThemePartDefined@12'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0xe34): undefined reference to `_imp__IsThemeBackgroundPartiallyTransparent@12'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0xe87): undefined reference to `_imp__DrawThemeParentBackground@12'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0xefd): undefined reference to `_imp__DrawThemeBackground@24'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0xf31): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x109d): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x1133): undefined reference to `_imp__OpenThemeData@8'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x11f2): undefined reference to `_imp__DrawThemeBackground@24'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x1222): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x12cd): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x13b3): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x1423): undefined reference to `_imp__OpenThemeData@8'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x147a): undefined reference to `_imp__IsThemePartDefined@12'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x1519): undefined reference to `_imp__DrawThemeBackground@24'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x15a6): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x1640): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x16af): undefined reference to `_imp__OpenThemeData@8'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x16d5): undefined reference to `_imp__IsThemePartDefined@12'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x173f): undefined reference to `_imp__GetThemePartSize@28'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x17ad): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x1844): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x18b3): undefined reference to `_imp__OpenThemeData@8'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x1972): undefined reference to `_imp__DrawThemeBackground@24'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x19a2): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x1a1d): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x1b03): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x1f0a): undefined reference to `_imp__OpenThemeData@8'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x1f88): undefined reference to `_imp__GetThemeColor@20'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x22bc): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x238a): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x24c3): undefined reference to `_imp__OpenThemeData@8'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x2583): undefined reference to `_imp__DrawThemeBackground@24'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x263f): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x2893): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x30d3): undefined reference to `_imp__OpenThemeData@8'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x3209): undefined reference to `_imp__DrawThemeBackground@24'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x3239): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x32cf): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x347a): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x3ee0): undefined reference to `_imp__OpenThemeData@8'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x3fdf): undefined reference to `_imp__DrawThemeBackground@24'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x400f): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x417f): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x42a1): undefined reference to `_imp__DrawThemeBackground@24'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x44ad): undefined reference to `_imp__OpenThemeData@8'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x4567): undefined reference to `_imp__IsThemePartDefined@12'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x499a): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text+0x512d): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP12DrawCheckBoxEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP12DrawCheckBoxEP8wxWindowR4wxDCRK6wxRecti]+0x53): undefined reference to `_imp__OpenThemeData@8'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP12DrawCheckBoxEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP12DrawCheckBoxEP8wxWindowR4wxDCRK6wxRecti]+0x156): undefined reference to `_imp__DrawThemeBackground@24'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP12DrawCheckBoxEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP12DrawCheckBoxEP8wxWindowR4wxDCRK6wxRecti]+0x186): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP12DrawCheckBoxEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP12DrawCheckBoxEP8wxWindowR4wxDCRK6wxRecti]+0x2ff): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP15DrawRadioBitmapEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP15DrawRadioBitmapEP8wxWindowR4wxDCRK6wxRecti]+0x53): undefined reference to `_imp__OpenThemeData@8'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP15DrawRadioBitmapEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP15DrawRadioBitmapEP8wxWindowR4wxDCRK6wxRecti]+0x156): undefined reference to `_imp__DrawThemeBackground@24'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP15DrawRadioBitmapEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP15DrawRadioBitmapEP8wxWindowR4wxDCRK6wxRecti]+0x186): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP15DrawRadioBitmapEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP15DrawRadioBitmapEP8wxWindowR4wxDCRK6wxRecti]+0x2ff): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP14DrawPushButtonEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP14DrawPushButtonEP8wxWindowR4wxDCRK6wxRecti]+0x53): undefined reference to `_imp__OpenThemeData@8'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP14DrawPushButtonEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP14DrawPushButtonEP8wxWindowR4wxDCRK6wxRecti]+0x156): undefined reference to `_imp__DrawThemeBackground@24'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP14DrawPushButtonEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP14DrawPushButtonEP8wxWindowR4wxDCRK6wxRecti]+0x186): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP14DrawPushButtonEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP14DrawPushButtonEP8wxWindowR4wxDCRK6wxRecti]+0x30f): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(utilsgui.cpp.obj):utilsgui.cpp:(.text+0xae4): undefined reference to `_imp__SHAutoComplete@8'
CMakeFiles/WinSparkle.dir/objects.a(uxtheme.cpp.obj):uxtheme.cpp:(.text+0x5): undefined reference to `_imp__IsAppThemed@0'
CMakeFiles/WinSparkle.dir/objects.a(uxtheme.cpp.obj):uxtheme.cpp:(.text+0x11): undefined reference to `_imp__IsThemeActive@0'
CMakeFiles/WinSparkle.dir/objects.a(window.cpp.obj):window.cpp:(.text+0x70bc): undefined reference to `_imp__OpenThemeData@8'
CMakeFiles/WinSparkle.dir/objects.a(window.cpp.obj):window.cpp:(.text+0x70f0): undefined reference to `_imp__GetThemeColor@20'
CMakeFiles/WinSparkle.dir/objects.a(window.cpp.obj):window.cpp:(.text+0x7177): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(window.cpp.obj):window.cpp:(.text+0x7193): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(window.cpp.obj):window.cpp:(.text+0x7212): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(window.cpp.obj):window.cpp:(.text+0xe9f1): undefined reference to `_imp__OpenThemeData@8'
CMakeFiles/WinSparkle.dir/objects.a(window.cpp.obj):window.cpp:(.text+0xeace): undefined reference to `_imp__GetThemeBackgroundContentRect@24'
CMakeFiles/WinSparkle.dir/objects.a(window.cpp.obj):window.cpp:(.text+0xeb52): undefined reference to `_imp__IsThemeBackgroundPartiallyTransparent@12'
CMakeFiles/WinSparkle.dir/objects.a(window.cpp.obj):window.cpp:(.text+0xeb92): undefined reference to `_imp__DrawThemeParentBackground@12'
CMakeFiles/WinSparkle.dir/objects.a(window.cpp.obj):window.cpp:(.text+0xebfb): undefined reference to `_imp__DrawThemeBackground@24'
CMakeFiles/WinSparkle.dir/objects.a(window.cpp.obj):window.cpp:(.text+0xec30): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(window.cpp.obj):window.cpp:(.text+0x10039): undefined reference to `_imp__OpenThemeData@8'
CMakeFiles/WinSparkle.dir/objects.a(window.cpp.obj):window.cpp:(.text+0x100dd): undefined reference to `_imp__GetThemeBackgroundContentRect@24'
CMakeFiles/WinSparkle.dir/objects.a(window.cpp.obj):window.cpp:(.text+0x10170): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(window.cpp.obj):window.cpp:(.text+0x1066a): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(window.cpp.obj):window.cpp:(.text+0x106b5): undefined reference to `_imp__CloseThemeData@4'
CMakeFiles/WinSparkle.dir/objects.a(xmlparse.c.obj):xmlparse.c:(.text+0x3e6d): undefined reference to `_Expat_LoadLibrary'
collect2: error: ld returned 1 exit status
CMakeFiles/WinSparkle.dir/build.make:734: recipe for target 'bin/WinSparkle.dll' failed
make[2]: *** [bin/WinSparkle.dll] Error 1
CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/WinSparkle.dir/all' failed
make[1]: *** [CMakeFiles/WinSparkle.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

что я могу сделать?В чем дело?А вот команда my cmake:

i686-w64-mingw32.static-cmake .. -DCMAKE_TOOLCHAIN_FILE=$PREFIX/share/cmake/mxe-conf.cmake -DUSE_QT5=on -DQt5_DIR=$PREFIX/qt5/lib/cmake/Qt5 -DPKG_CONFIG_EXECUTABLE=$MXE_PATH/usr/bin/i686-w64-mingw32.static-pkg-config
...