I’ve downloaded the ZeroTier source code from GitHub and have followed the instructions to build ZT in Visual Studio (I’m running Visual Studio Community 2022, targeting Win SDK 10.0.19041.0); running VS in Admin mode, when I Debug (Debug, x64) ZT builds, flashes a terminal window, and returns to VS. I’m expecting the ZT icon to show up in my toolbar tray like it’s installed (I’m able to install the ZeroTierOne.msi and run it fine).
Snapshot of my Debug Output window:
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Users\lepinxyz\source\repos\zt_alpine\windows\Build\x64\Debug\zerotier-one_x64.exe’. Symbols loaded.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\ntdll.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\kernel32.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\KernelBase.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\ws2_32.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\rpcrt4.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\wsock32.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\bcryptprimitives.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\msvcrt.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\bcrypt.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\crypt32.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\IPHLPAPI.DLL’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\ucrtbase.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\userenv.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\user32.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\win32u.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\gdi32.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\secur32.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\ncrypt.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\sechost.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\gdi32full.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\msvcp_win.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\advapi32.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\shell32.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\ole32.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\combase.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\oleaut32.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\shlwapi.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\msvcp140d.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\vcruntime140_1d.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\vcruntime140d.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\ucrtbased.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\sspicli.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\cryptbase.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\ntasn1.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\imm32.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\kernel.appcore.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\setupapi.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\newdev.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\SHCore.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\cfgmgr32.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\WofUtil.dll’.
‘zerotier-one_x64.exe’ (Win32): Loaded ‘C:\Windows\System32\devrtl.dll’.
The thread 37468 has exited with code 0 (0x0).
The thread 35716 has exited with code 0 (0x0).
The thread 30128 has exited with code 0 (0x0).
The thread 21704 has exited with code 0 (0x0).
The program ‘[31732] zerotier-one_x64.exe’ has exited with code 0 (0x0).
I’m missing something; any thoughts? Suggestions? Questions?