This is a build issue for the desktop

Hello, I downloaded the code and built it locally on Windows using PowerShell with the following commands:

powershell

cmake --preset ci-windows-x64-vs2022 ..
cmake --build .

I then copied the generated Debug output into the desktop-edge-win environment. However, when I run it, I encounter error -1076.

Interestingly, if I use the prebuilt tunneler binary, the error -1076 does not occur.

Does this mean the error -1076 is caused by something wrong in my local build environment?

Thanks in advance for your support.

I build it locally all the time and I replace the binary all the time like this when doing development. Chat GPT tells me error -1076 means the service didn't start. It's hard to know exactly WHY that happened though. That you'll have to debug.

I'd recommend you:

  • stop the ziti data service AND the ziti montior service:

    net stop ziti
    net stop ziti-monitor
    
  • as administrator, run ONLY ziti-edge-tunnel locally for some amount of time:

    ziti-edge-tunnel.exe -I C:\path\to\identities
    
  • make sure it works

  • copy/paste the exe into the installation directory (i always backup the 'original' ziti-edge-tunnel)

It's impossible for me to help more than this I'm afraid, it's just too broad of a problem at this time with the information you provided

Thanks. I'll keep building, and if I have new findings, I'll post them here.