Closed zvladimir closed 2 years ago
Could you paste what’s in the error message where the …..
are? I think the real error might be there.
Otherwise, could this be related to #764?
Compiling slint-macros v0.2.1
error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
|
= note: "x86_64-w64-mingw32-gcc" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\slint_macros-2e6c95108505e0a0.slint_macros.61220850-cgu.0.rcgu.o" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\slint_macros-2e6c95108505e0a0.slint_macros.61220850-cgu.1.rcgu.o" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\slint_macros-2e6c95108505e0a0.slint_macros.61220850-cgu.10.rcgu.o" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\slint_macros-2e6c95108505e0a0.slint_macros.61220850-cgu.11.rcgu.o" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\slint_macros-2e6c95108505e0a0.slint_macros.61220850-cgu.12.rcgu.o" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\slint_macros-2e6c95108505e0a0.slint_macros.61220850-cgu.13.rcgu.o" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\slint_macros-2e6c95108505e0a0.slint_macros.61220850-cgu.14.rcgu.o" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\slint_macros-2e6c95108505e0a0.slint_macros.61220850-cgu.15.rcgu.o" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\slint_macros-2e6c95108505e0a0.slint_macros.61220850-cgu.2.rcgu.o" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\slint_macros-2e6c95108505e0a0.slint_macros.61220850-cgu.3.rcgu.o" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\slint_macros-2e6c95108505e0a0.slint_macros.61220850-cgu.4.rcgu.o" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\slint_macros-2e6c95108505e0a0.slint_macros.61220850-cgu.5.rcgu.o" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\slint_macros-2e6c95108505e0a0.slint_macros.61220850-cgu.6.rcgu.o" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\slint_macros-2e6c95108505e0a0.slint_macros.61220850-cgu.7.rcgu.o" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\slint_macros-2e6c95108505e0a0.slint_macros.61220850-cgu.8.rcgu.o" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\slint_macros-2e6c95108505e0a0.slint_macros.61220850-cgu.9.rcgu.o" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\slint_macros-2e6c95108505e0a0.57guhqhsn5xbnq3o.rcgu.o" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\slint_macros-2e6c95108505e0a0.e0tobcder8n0qvg.rcgu.o" "-L" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps" "-L" "C:\\Users\\Vlax\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\winapi-x86_64-pc-windows-gnu-0.4.0\\lib" "-L" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-Wl,-Bstatic" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libspin_on-c917cf0d7e3471cb.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libpin_utils-5bd7db9e4adeb7ee.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libi_slint_compiler-03ea53bebf5528d2.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libresvg-0c052f0c87a85711.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libsvgfilters-a934e8d22e16c63c.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\librgb-d7b343861f9f4b11.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libusvg-e74c26f2065c52c3.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\librctree-eb8a31fb7b38fd25.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\librustybuzz-13b565a2ee3edfbe.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libunicode_bidi_mirroring-ffb23298e8206c70.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libunicode_ccc-87c3d6fe031e4808.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libunicode_general_category-c6f72ca993f2111b.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libsimplecss-254aafd4fbd73baf.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libdata_url-4c181b0eef14145f.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libbase64-185265ab30144bf7.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libroxmltree-b15a8d5b7e1ee9c7.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libxmlparser-ec97fdd895869f90.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libunicode_script-ec4267d27eae2a06.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libunicode_vo-6627a20dc204f3d3.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libkurbo-80fd7bbdad77ce9f.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libarrayvec-855d0e3b797d6778.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libfloat_cmp-6ba2c35ecdf5d675.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libxmlwriter-cd1280accef73c39.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libsvgtypes-89bb607239f41caf.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libsiphasher-7782e34fb95dbaf9.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libfontdue-ec9ec7da72f50555.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libhashbrown-9e83f16361463f42.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libahash-f5a0c52c1c5c40aa.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libfontdb-513e49b7f10cb3f7.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libmemmap2-e089a8aab70eeb85.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\liblog-5ddffd2b55a6bc12.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libttf_parser-3ae4be1b0ac5d2a6.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\liblyon_svg-affaa9a169f1340e.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libsvgtypes-47ee5726f38804d4.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libsiphasher-7453d8388f4db3ed.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libfloat_cmp-bbd773eacdcb281f.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\liblinked_hash_set-41a6880587268e5c.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\liblinked_hash_map-9454e6753fd6d5b8.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libdunce-9a6df0e725bc2399.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\liburl-7df9b315830b8336.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libidna-395cb52b53637acb.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libunicode_normalization-eda319b4695a236d.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libtinyvec-a387592c835d7af3.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libtinyvec_macros-60660db10e0bba72.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libunicode_bidi-8cfeb266f5e1a557.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libform_urlencoded-0f5d373c8b98da3e.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libpercent_encoding-6212ff86c95959d9.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libmatches-7e1b1613a1951a19.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\librowan-dd6080bbb6289a87.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libtext_size-04d6aa2fc17c953f.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\librustc_hash-50d732ace7be549e.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libhashbrown-c6cd4c264fc815c3.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libcountme-61228f2359fc54bf.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libcss_color_parser2-f76fdfccc3391f15.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libcodemap_diagnostic-8119f65926cda99f.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libatty-ec760df5b0448cf2.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libcodemap-cf6ec296964dfd73.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libtermcolor-810c2bfb70d9d84b.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libwinapi_util-0987c81712160d43.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libwinapi-e75f88044dd870ba.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libonce_cell-2491f5a3780ae495.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libnum_enum-01d25430f00ccf85.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libi_slint_common-653bb7bc9b24a5c4.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\liblyon_path-c2c59ed6ffb9b5f7.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\liblyon_geom-d68b067fb20c1a77.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libeuclid-7d317a94bce88758.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libimage-17abd0293c84de94.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libnum_iter-01a4eb9eccbb39db.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libjpeg_decoder-167454280e18bcb5.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\librayon-55b1953fb474732d.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\librayon_core-9a143a9f71a0b9e6.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libcrossbeam_deque-ffd3d75655b2b888.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libcrossbeam_epoch-5afbc4593281e6b2.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libmemoffset-870e35dcedfc6e3f.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libcrossbeam_channel-ee311b8732a1e973.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libcrossbeam_utils-641f3adcf80250c9.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\liblazy_static-3d1c7a62523bdbef.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libscoped_threadpool-96c68bfee27dbb4d.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libnum_rational-5156ecbdda1141cf.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libnum_integer-c0280d3ddd6c7327.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libgif-5c07809c4d42f9af.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libcolor_quant-e7e39e8f7ac50ece.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libbyteorder-ef30325a4c57626a.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libnum_traits-22d13b7416d8c6e8.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libtiff-8574acafd78e67e9.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libflate2-b80972ed74bc54c3.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libminiz_oxide-3287d12f1572ef03.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libweezl-b9acb9b1d29d9a8a.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libjpeg_decoder-bcbc97f68aafe177.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libexr-1536155cbc4c0445.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libflume-c5047e4990174721.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libspin-47740542d457ab53.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\liblock_api-3fab2a1cb0e73358.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libscopeguard-1d34558f41f97568.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libpin_project-a49bda5a35a46579.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libfutures_sink-6c91cbb8200eb24b.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libfutures_core-63fd727e84b5b021.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libnanorand-d70329aee6893507.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libgetrandom-4019a002d9bbfd47.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libthreadpool-9ea05abd20d12a20.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libnum_cpus-b44a0f5e7b8b3761.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libbit_field-217bc9c6067a9be2.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libinflate-58c32cfbd21a578a.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\liblebe-78a06b90db0e046b.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libhalf-856c6d9521865a21.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libsmallvec-a46e3cef0175fc75.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libsmol_str-a745d7b3bcfc6d79.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libserde-088b348266fd6509.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libby_address-2b0f9d6ada58e276.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libquote-657656c6312e089e.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libproc_macro2-087c5cddee3ff021.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libunicode_xid-a7ad4dcd1711da10.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libitertools-896152b96c5109ff.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libeither-76749c00d726ae5a.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libtiny_skia-d0665e6564c0a40d.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libpng-3e0cf6df1c8fa74f.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libdeflate-f2899d9c561b100a.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libadler32-6e83ef6bbdb6d690.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libminiz_oxide-a0e65016d9fb59a9.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libadler-5ae885293a14a7fa.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libcrc32fast-92c08935fedb0145.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libbitflags-1d36d0b97522543c.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libsafe_arch-f28ffa80ae7e2d5a.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libcfg_if-95641b8be4a5d040.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libbytemuck-10f6ed8bbd02eae3.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libarrayvec-30c41b7f3d5bbda9.rlib" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libarrayref-4dab1f6bf6d50fb4.rlib" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libproc_macro-9ca4642813f599e5.rlib" "-Wl,--start-group" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-0ef6a1f4ede94b56.rlib" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-7a832a7c7800efa8.rlib" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-6eb666a7c5a4af6a.rlib" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-1af0bf8a350915e8.rlib" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libaddr2line-d5a17343e1b65ac7.rlib" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-4ec9e70d4a72f3e3.rlib" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-0d849b46e87570a1.rlib" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-2d5a548828b0c630.rlib" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-0295737ee98d507a.rlib" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-a983b7030a28478d.rlib" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-a8ffafefa8b105ed.rlib" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-19a066a82c294742.rlib" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-9b54bf68af38be86.rlib" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-c313ef63115ce558.rlib" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-d7812c91b2f09baf.rlib" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-2fd0cc2a5fa24e6b.rlib" "-Wl,--end-group" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-499045c7fe445a30.rlib" "-Wl,-Bdynamic" "-lwinapi_advapi32" "-lwinapi_cfgmgr32" "-lwinapi_comctl32" "-lwinapi_credui" "-lwinapi_d2d1" "-lwinapi_dwmapi" "-lwinapi_dwrite" "-lwinapi_dxgi" "-lwinapi_fwpuclnt" "-lwinapi_gdi32" "-lwinapi_imm32" "-lwinapi_iphlpapi" "-lwinapi_kernel32" "-lwinapi_msimg32" "-lwinapi_mswsock" "-lwinapi_ntdll" "-lwinapi_ole32" "-lwinapi_opengl32" "-lwinapi_secur32" "-lwinapi_shcore" "-lwinapi_shell32" "-lwinapi_shlwapi" "-lwinapi_synchronization" "-lwinapi_user32" "-lwinapi_uxtheme" "-lwinapi_windowscodecs" "-lwinapi_winmm" "-lwinapi_winspool" "-lwinapi_ws2_32" "-lbcrypt" "-lkernel32" "-lws2_32" "-lbcrypt" "-ladvapi32" "-luserenv" "-lkernel32" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-L" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-o" "C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\slint_macros-2e6c95108505e0a0.dll" "-Wl,--gc-sections" "-shared" "-Wl,--out-implib=C:\\temp\\cvs\\slint\\my-project\\target\\debug\\deps\\libslint_macros-2e6c95108505e0a0.dll.a" "-nodefaultlibs" "C:\\Users\\Vlax\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
= note: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: error: export ordinal too large: 98740
collect2.exe: error: ld returned 1 exit status
error: could not compile `slint-macros` due to previous error
Thanks, so this is the same :-/.
Could you try adding this to your Cargo.toml
:
[profile.dev.build-override]
opt-level = 2
It works! Thank you )
Excellent. I've posted this also in #764 and will close this issue as a duplicate. Then maybe in the other ticket we can discuss whether to add this to the docs / FAQ and defaults within the repo.
Hi there.
I start learning Slint and try to compile "hello world" https://slint-ui.com/releases/0.2.1/docs/tutorial/rust/getting_started.html I get a mistake:
What am I doing wrong?