# This is a build issue for the desktop

**URL:** <https://openziti.discourse.group/t/this-is-a-build-issue-for-the-desktop/4832>\
**Category:** Ziti Desktop Edge for Windows\
**Created:** [July 2, 2025, 12:28pm UTC](https://openziti.discourse.group/t/this-is-a-build-issue-for-the-desktop/4832 "2025-07-02T12:28:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guardiant314](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/guardiant314/32/2036_2.png) [@Guardiant314](https://openziti.discourse.group/u/Guardiant314)\
**Post date:** [July 2, 2025, 12:28pm UTC](https://openziti.discourse.group/t/this-is-a-build-issue-for-the-desktop/4832/1 "2025-07-02T12:28:31Z")

</div>

Hello, I downloaded the [code](https://github.com/openziti/ziti-tunnel-sdk-c/tree/v1.6.1) and built it locally on Windows using PowerShell with the following commands:

powershell

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

```

I then copied the generated `Debug` output into the [desktop-edge-win](https://github.com/openziti/desktop-edge-win/releases/tag/2.6.5) environment. However, when I run it, I encounter error **-1076**.

Interestingly, if I use the prebuilt [tunneler](https://github.com/openziti/ziti-tunnel-sdk-c/releases/tag/v1.6.1) 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.

---

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [July 2, 2025, 12:37pm UTC](https://openziti.discourse.group/t/this-is-a-build-issue-for-the-desktop/4832/2 "2025-07-02T12:37:55Z")

</div>

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:

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

- 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

---

<div class="post-metadata">

**Author:** ![Guardiant314](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/guardiant314/32/2036_2.png) [@Guardiant314](https://openziti.discourse.group/u/Guardiant314)\
**Post date:** [July 2, 2025, 12:41pm UTC](https://openziti.discourse.group/t/this-is-a-build-issue-for-the-desktop/4832/3 "2025-07-02T12:41:37Z")

</div>

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