zerotier/DesktopUI

Compilation cannot find zt_desktop_tray.lib

jary888 opened this issue · 1 comments

error: linking with link.exe failed: exit code: 1181
|
= note: "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\link.exe" "/NOLOGO" "C:\Users\ETTX\AppData\Local\Temp\rustc0yEIRv\symbols.o" "C:\Users\ETTX\source\repos\DesktopUI\target\x86_64-pc-windows-msvc\release\deps\zerotier_desktop_ui.zerotier_desktop_ui.1db63a00a8bfce49-cgu.0.rcgu.o" "/LIBPATH:C:\Users\ETTX\source\repos\DesktopUI\target\x86_64-pc-windows-msvc\release\deps" "/LIBPATH:C:\Users\ETTX\source\repos\DesktopUI\target\release\deps" "/LIBPATH:C:\Users\ETTX\source\repos\DesktopUI/tray" "/LIBPATH:C:\Users\ETTX\source\repos\DesktopUI/libui-ng/build/meson-out" "/LIBPATH:C:\Users\ETTX\.cargo\registry\src\mirrors.ustc.edu.cn-4affec411d11e50f\windows_x86_64_msvc-0.52.4\lib" "/LIBPATH:C:\Users\ETTX\.cargo\registry\src\mirrors.ustc.edu.cn-4affec411d11e50f\windows_x86_64_msvc-0.48.5\lib" "/LIBPATH:C:\Users\ETTX\source\repos\DesktopUI\target\x86_64-pc-windows-msvc\release\build\ring-58288a9bfa4e0251\out" "/LIBPATH:C:\Users\ETTX\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib" "zt_desktop_tray.lib" "ui.lib" "C:\Users\ETTX\AppData\Local\Temp\rustc0yEIRv\libring-519772f871a70ff2.rlib" "C:\Users\ETTX\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libcompiler_builtins-d4d285127ad54f3d.rlib" "shlwapi.lib" "windows.0.52.0.lib" "windows.0.52.0.lib" "windows.0.52.0.lib" "windows.0.52.0.lib" "windows.0.52.0.lib" "bcrypt.lib" "advapi32.lib" "windows.0.48.5.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" "msvcrt.lib" "/NXCOMPAT" "/LIBPATH:C:\Users\ETTX\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib" "/OUT:C:\Users\ETTX\source\repos\DesktopUI\target\x86_64-pc-windows-msvc\release\deps\zerotier_desktop_ui.exe" "/SUBSYSTEM:windows" "/ENTRY:mainCRTStartup" "/OPT:REF,ICF" "/DEBUG" "/NATVIS:C:\Users\ETTX\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\etc\intrinsic.natvis" "/NATVIS:C:\Users\ETTX\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\etc\liballoc.natvis" "/NATVIS:C:\Users\ETTX\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\etc\libcore.natvis" "/NATVIS:C:\Users\ETTX\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\etc\libstd.natvis"
= note: LINK : fatal error LNK1181: 无法打开输入文件“zt_desktop_tray.lib”

warning: zerotier_desktop_ui (bin "zerotier_desktop_ui") generated 269 warnings
error: could not compile zerotier_desktop_ui (bin "zerotier_desktop_ui") due to 1 previous error; 269 warnings emitted

Were you able to find a solution?