Open danielmbomfim opened 5 months ago
Can you try setting $env:STATIC_VCRUNTIME="false"
before running tauri?
I've tried setting STATIC_VCRUNTIME to true and false and in both cases it resulted in the same error:
note: libnotes_core-f68c78f7aafdebce.rlib(types.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in libnotes_core-f68c78f7aafdebce.rlib(661a13275f506f3d-lib.rs.o)
I suspect tauri is using 'MD_DynamicRelease' and this is causing the error since realm requires 'MT_StaticRelease' to compile
Hmm, what about $env:RUSTFLAGS="-C target-feature=+crt-static"
?
Unfortunately it still doesn't work. I don't know if it helps, but this is the command that is failing:
"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX64\\x64\\link.exe"
"/NOLOGO"
"C:\\Users\\danie\\AppData\\Local\\Temp\\rustcBvZxwN\\symbols.o"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\notes_app_desktop.notes_app_desktop.6ecb8c3a75f19585-cgu.00.rcgu.o"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\notes_app_desktop.notes_app_desktop.6ecb8c3a75f19585-cgu.01.rcgu.o"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\notes_app_desktop.notes_app_desktop.6ecb8c3a75f19585-cgu.02.rcgu.o"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\notes_app_desktop.notes_app_desktop.6ecb8c3a75f19585-cgu.03.rcgu.o"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\notes_app_desktop.notes_app_desktop.6ecb8c3a75f19585-cgu.04.rcgu.o"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\notes_app_desktop.notes_app_desktop.6ecb8c3a75f19585-cgu.05.rcgu.o"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\notes_app_desktop.notes_app_desktop.6ecb8c3a75f19585-cgu.06.rcgu.o"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\notes_app_desktop.notes_app_desktop.6ecb8c3a75f19585-cgu.07.rcgu.o"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\notes_app_desktop.notes_app_desktop.6ecb8c3a75f19585-cgu.08.rcgu.o"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\notes_app_desktop.notes_app_desktop.6ecb8c3a75f19585-cgu.09.rcgu.o"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\notes_app_desktop.notes_app_desktop.6ecb8c3a75f19585-cgu.10.rcgu.o"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\notes_app_desktop.notes_app_desktop.6ecb8c3a75f19585-cgu.11.rcgu.o"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\notes_app_desktop.notes_app_desktop.6ecb8c3a75f19585-cgu.12.rcgu.o"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\notes_app_desktop.notes_app_desktop.6ecb8c3a75f19585-cgu.13.rcgu.o"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\notes_app_desktop.notes_app_desktop.6ecb8c3a75f19585-cgu.14.rcgu.o"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\notes_app_desktop.notes_app_desktop.6ecb8c3a75f19585-cgu.15.rcgu.o"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\notes_app_desktop.wew02l500ul6zuo.rcgu.o"
"/LIBPATH:C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps"
"/LIBPATH:C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\build\\notes-app-desktop-cde17ec517bd137a\\out"
"/LIBPATH:C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\atlmfc\\lib\\x64"
"/LIBPATH:C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\build\\libsqlite3-sys-608fc42fe4457760\\out"
"/LIBPATH:C:\\Users\\danie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\windows_x86_64_msvc-0.48.5\\lib"
"/LIBPATH:C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\build\\notes-core-23312a30e93c8e94\\out/build/Release"
"/LIBPATH:C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\build\\notes-core-23312a30e93c8e94\\out/build/_deps/libuv-build/Release"
"/LIBPATH:C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\build\\notes-core-23312a30e93c8e94\\out/build/_deps/cpprealm-build/realm-core/zlib/lib"
"/LIBPATH:C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\build\\notes-core-23312a30e93c8e94\\out/build/_deps/cpprealm-build/realm-core/openssl/lib"
"/LIBPATH:C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\build\\notes-core-23312a30e93c8e94\\out/lib/"
"/LIBPATH:C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\atlmfc\\lib\\x64"
"/LIBPATH:C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\build\\notes-core-23312a30e93c8e94\\out"
"/LIBPATH:C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\atlmfc\\lib\\x64"
"/LIBPATH:C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\build\\cxx-3617f10fe574384c\\out"
"/LIBPATH:C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\atlmfc\\lib\\x64"
"/LIBPATH:C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\build\\link-cplusplus-7cb512d92977d773\\out"
"/LIBPATH:C:\\Users\\danie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\windows_x86_64_msvc-0.52.0\\lib"
"/LIBPATH:C:\\Users\\danie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\windows_x86_64_msvc-0.42.2\\lib"
"/LIBPATH:C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\build\\webview2-com-sys-ca4c394f8dfdace8\\out\\x64"
"/LIBPATH:C:\\Users\\danie\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\windows_x86_64_msvc-0.39.0\\lib"
"/LIBPATH:C:\\Users\\danie\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libtauri_plugin_oauth-79cf790ded9b97fa.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libreqwest-ae0f5b1650e046db.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libhyper_tls-4ce03349d33fcf57.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libbase64-12047fa5f6502f87.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libwinreg-e6055e3f24a8df1d.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libipnet-e40c3d06628d1c29.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libtokio_native_tls-7ed9a645768ef8de.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libserde_urlencoded-118c72a6b14e0b16.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libmime-595a06c6d2cb9416.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libencoding_rs-d39708f6ede3b93c.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libnative_tls-0181742e26c92a33.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libschannel-20ec0c8c227c52c1.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libhyper-946e27b4450a2354.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libwant-1669db49736cb583.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libtry_lock-2e6b2e7676419d0b.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libhttparse-64768799949d438c.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libh2-5e23af88bcc95c84.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libindexmap-df12b1d4d6fa1225.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libequivalent-579570ddbab58cbc.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libhashbrown-050279b5d9321749.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libtokio_util-e24b202dcec7b964.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libfutures_sink-4e96c615a8044247.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libtower_service-cd5bad298fb3dfc3.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libtracing-0f1bac5e2af12693.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libtracing_core-39b36575eb748b15.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libfutures_channel-ae0dac2c7d4ae04f.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libhttp_body-20357d8d4f083f17.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libnotes_core-f68c78f7aafdebce.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libcxx-24578ba99b993d9a.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\liblink_cplusplus-f371c24656718b86.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libtauri-8f2e67c14b2ff19c.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libopen-8d799849bc7122b6.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libwindows_sys-b5d20a32f62a67b4.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libdirs_next-8538a792c490e461.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libdirs_sys_next-3b301bfa413bda2a.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libtauri_runtime_wry-c6dfb13eead78b4a.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libwry-7bb6e930a81887cf.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libtao-1e78b78168209228.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\liblibc-9a1755b02595f183.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libunicode_segmentation-7b34173755168a2b.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libcrossbeam_channel-f668fc9f7285ccce.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libinstant-e7b75d214f0c7689.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\liblazy_static-bfdec79560375188.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libwebview2_com-f812aba25db39983.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libwebview2_com_sys-fed322f88a6e1ff7.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libstate-d215d19e67d950b1.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libanyhow-e6766b4c6a35e262.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libfutures_util-0a3ed96bee994960.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libfutures_io-e178502f68017898.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libslab-86c58654cfa03fa3.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libfutures_task-9effbeaefac0eac9.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libpin_utils-fb04e2caa6bc2b29.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libfutures_core-a998fccd34c051a8.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libtokio-62ce20aed2b644ad.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libnum_cpus-b34f8c979e102527.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libsocket2-a9521b35b7dca503.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libpin_project_lite-786f45d07adc3263.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libmio-b3eb7b6df1d9eb9f.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libwindows_sys-9a008b6c564e5927.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libtauri_runtime-0ca6e6dbeed3dbba.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libwindows-4a8ebd3dabf76041.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libhttp_range-bab9e43fa3c304bd.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libhttp-da178325df1cee8a.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libbytes-fa130b014f3de749.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libtauri_utils-4a0eea248497bb3d.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libdunce-f4466a21853da285.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libglob-ab27d2c3e856cac3.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libwindows_version-316797a2e55c3ed8.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libinfer-b07e9391b7bcf82b.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libcfb-da4657cf84cf14f2.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libuuid-c6c6d737614d7482.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libfnv-4e13d571545a949f.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libbrotli-0f203ebe9be58d84.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libbrotli_decompressor-52d5fcf3a281f5ae.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\liballoc_stdlib-c039c1eb65d9f66b.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\liballoc_no_stdlib-4a26b64f1647ec2d.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libkuchikiki-4e572b5c95c2fd32.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libselectors-945b99c6ec85d2f4.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libthin_slice-9618e7e52f5aa7d1.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libservo_arc-aef386c65da9935e.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libstable_deref_trait-bb7b48659a2ee279.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libnodrop-98bfcb83b0535e39.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libfxhash-91e4237517a53f90.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libbyteorder-0fe6bc06a52ea00a.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libbitflags-1509608f8c2bd55b.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libcssparser-124fcd61c85e004a.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libitoa-13dc7d396c25d58e.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libdtoa_short-1bf3ef555acaa490.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libdtoa-125cfc102a46bdeb.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libphf-8c278aee23b2a324.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libphf_shared-0ece8aa9b97e885a.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libindexmap-7a7fd5aa41a2b499.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libhashbrown-95ac7a061f564e6e.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libmatches-e33642bcbbfd89f1.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libhtml5ever-2541d53342a9538d.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libmarkup5ever-39f0a1a1abb442e8.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libstring_cache-d3a3933f8acee5be.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libprecomputed_hash-ca9ab6abc614ee69.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libphf-7e5f6a970a500762.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libphf_shared-17f98adfa634c142.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libtendril-23a1adedb29856b6.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libutf8-c05cf9c292567b6f.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libfutf-85b63c2b1852d1a1.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libdebug_unreachable-58878f1aa01cb17b.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libmac-60c5380c68733022.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libjson_patch-0e95d655438eb32a.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libtreediff-a339cf487433a697.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libthiserror-5ecf19115b6349de.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\liburl-6a6fc4ac5f3bbca2.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libidna-b96940f7f9a050cc.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libunicode_normalization-11455f2338b9e961.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libtinyvec-d7a8b451ef49766c.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libtinyvec_macros-633e929320d71bc2.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libunicode_bidi-e0a016bcb8c26608.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libform_urlencoded-37334a5a01c98446.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libpercent_encoding-fa9414375d91599b.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libserde_with-8f940f4ba781269c.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libphf-eb5d88a2bee43e1a.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libphf_shared-e13f714ba7259018.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libsiphasher-eda96ded8598ca20.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libraw_window_handle-b2983fa01233b571.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\librand-4857e152bd77d485.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\librand_chacha-89850d239b2ed6e7.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libppv_lite86-d81efe3cd03e4be3.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\librand_core-d9f405290f54ea43.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libgetrandom-f0f75ed2e61ff607.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libonce_cell-cb7a30e2a8f923f4.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libsemver-be1aafeb26d354f7.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libserialize_to_javascript-6fd96a588159d642.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libserde_json-8d8a51de9cc9969f.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libryu-6dd0e1d24d68b939.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libitoa-2cd17e1748e1ff52.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libignore-fb4d4de7f670a16c.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libwalkdir-e943d8cb61e1742e.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libsame_file-61492eb0b2ecaba6.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libcrossbeam_deque-5c0489784ca4c496.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libcrossbeam_epoch-66ea4d47459f541f.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libcrossbeam_utils-9485703a44e0d0ea.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libwinapi_util-ee7bed0ef82f397f.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libwinapi-0cbd4765d14f3847.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libglobset-6e4aaf97a83f9e29.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libbstr-8744e0dae2d8338a.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libtempfile-f9d216a21af89918.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libfastrand-f36c47b38baaf102.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libwindows_sys-9873fd2780835f94.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libwindows_targets-1ac42e17101f6355.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libregex-46f37c18aa3db24f.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libregex_automata-c75732497c2fc881.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libaho_corasick-1c60d0d685a1e603.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libmemchr-9bbe69ba8d377335.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libregex_syntax-3f5ddac0408a2376.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libserde-4f7d47b1d0ba62e3.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libdiesel-fb5a57b74287ff9f.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libr2d2-ed07f243b1ca2a19.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libscheduled_thread_pool-f72b971499f668c8.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libparking_lot-ef5c1f1f1aa0bf39.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libparking_lot_core-996296dea64463f2.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libwindows_targets-aed834cd9556f4f2.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libcfg_if-4edc8a563da3f7b6.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libsmallvec-ecbc03924dc4941f.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\liblock_api-fb262b56fe5e93ba.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\libscopeguard-03920a18643abba3.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\liblog-150da5099223dbf3.rlib"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\liblibsqlite3_sys-fc5f96331e6d00f5.rlib"
"C:\\Users\\danie\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd-af7a289140bfd09b.rlib"
"C:\\Users\\danie\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libpanic_unwind-804f96e85949d3c7.rlib"
"C:\\Users\\danie\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_demangle-d732e2e30f000f5c.rlib"
"C:\\Users\\danie\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd_detect-245c07b81320e419.rlib"
"C:\\Users\\danie\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libhashbrown-071209d3d999dcc9.rlib"
"C:\\Users\\danie\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_alloc-f692450d6626dc45.rlib"
"C:\\Users\\danie\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libunwind-80b2971dd5ef99d4.rlib"
"C:\\Users\\danie\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcfg_if-9b96265a2194d52d.rlib"
"C:\\Users\\danie\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liblibc-9f5f4b367cf5c108.rlib"
"C:\\Users\\danie\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liballoc-1c3a36fab1085cf8.rlib"
"C:\\Users\\danie\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_core-2cc1781d1b9a07fd.rlib"
"C:\\Users\\danie\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcore-9e99b6830b9b39fb.rlib"
"C:\\Users\\danie\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcompiler_builtins-d4d285127ad54f3d.rlib"
"windows.lib"
"legacy_stdio_definitions.lib"
"ntdll.lib"
"windows.0.48.5.lib"
"windows.lib"
"windows.0.52.0.lib"
"bcrypt.lib"
"advapi32.lib"
"advapi32.lib"
"cfgmgr32.lib"
"gdi32.lib"
"kernel32.lib"
"msimg32.lib"
"ole32.lib"
"opengl32.lib"
"shell32.lib"
"user32.lib"
"winspool.lib"
"windows.0.52.0.lib"
"windows.0.48.5.lib"
"kernel32.lib"
"advapi32.lib"
"bcrypt.lib"
"kernel32.lib"
"ntdll.lib"
"userenv.lib"
"ws2_32.lib"
"kernel32.lib"
"ws2_32.lib"
"kernel32.lib"
"ntdll.lib"
"kernel32.lib"
"libcmt.lib"
"/NXCOMPAT"
"/LIBPATH:C:\\Users\\danie\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib"
"/OUT:C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\deps\\notes_app_desktop.exe"
"/SUBSYSTEM:windows"
"/ENTRY:mainCRTStartup"
"/OPT:REF,ICF"
"/DEBUG"
"/NATVIS:C:\\Users\\danie\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\intrinsic.natvis"
"/NATVIS:C:\\Users\\danie\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis"
"/NATVIS:C:\\Users\\danie\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libcore.natvis"
"/NATVIS:C:\\Users\\danie\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libstd.natvis"
"C:\\Users\\danie\\Documents\\draft-notes\\src-tauri\\target\\release\\build\\notes-app-desktop-cde17ec517bd137a\\out/resource.lib"
"/NODEFAULTLIB:libvcruntimed.lib"
"/NODEFAULTLIB:vcruntime.lib"
"/NODEFAULTLIB:vcruntimed.lib"
"/NODEFAULTLIB:libcmtd.lib"
"/NODEFAULTLIB:msvcrt.lib"
"/NODEFAULTLIB:msvcrtd.lib"
"/NODEFAULTLIB:libucrt.lib"
"/NODEFAULTLIB:libucrtd.lib"
"/DEFAULTLIB:libcmt.lib"
"/DEFAULTLIB:libvcruntime.lib"
"/DEFAULTLIB:ucrt.lib"
Hmm, then i don't know either and i don't have a project that uses c++ code myself so i can't test it.
I'd recommend to maybe reach out to the rust community directly since there shouldn't be something tauri specific involved here then.
I will try to do that then. Thanks for the help
Describe the bug
I have created a crate that makes use of realm-cpp for data storage and sincronization in my tauri app, right now i'm able to compile with no problems for linux, but when trying to compile for windows the folowing error occurs:
I suppose this means tauri links using 'MD_DynamicRelease', but to build realm-cpp it's required to use 'MT_StaticRelease' I'd like to know if it's possible to configure tauri to use 'MD_DynamicRelease'.
Any help is much appreciated.
Reproduction
No response
Expected behavior
No response
Full
tauri info
outputStack trace
No response
Additional context
No response