# Unable to compile Ender 3 V2 -

**URL:** https://marlin.crc.id.au/forum/t/unable-to-compile-ender-3-v2/1919
**Category:** Firmware Builder
**Created:** [15 October 2023 05:31 UTC](https://marlin.crc.id.au/forum/t/unable-to-compile-ender-3-v2/1919 "2023-10-15T05:31:51Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![DJ\_G](https://marlin.crc.id.au/forum/user_avatar/marlin.crc.id.au/dj_g/32/989_2.png) [@DJ\_G](https://marlin.crc.id.au/forum/u/DJ_G)
#### Post date: [15 October 2023 05:31 UTC](https://marlin.crc.id.au/forum/t/unable-to-compile-ender-3-v2/1919/1 "2023-10-15T05:31:51Z")

</div>

I am using the Firmware Builder but cannot compile firmware if I select “DWIN - Jyers UI” as the display.

Steps to recreate:

- Select Ender 3 V2 4.2.2 from builder
- Select DWIN - Jyers UI from the Display Section
- Build the firmware

Result: Marlin/src/HAL/STM32/…/…/inc/SanityCheck.h:2637:4: error: “Please select only one LCD controller option.”

Build Reference: faae2574

---

<div class="post-metadata">

### Author: ![CRCinAU](https://marlin.crc.id.au/forum/user_avatar/marlin.crc.id.au/crcinau/32/1337_2.png) [@CRCinAU](https://marlin.crc.id.au/forum/u/CRCinAU)
#### Post date: [16 October 2023 01:03 UTC](https://marlin.crc.id.au/forum/t/unable-to-compile-ender-3-v2/1919/2 "2023-10-16T01:03:29Z")

</div>

I haven’t had a chance to dig into this yet - but if you select a different UI choice, does it work?

Just trying to give myself more info when I sit down to see what’s going on.

---

<div class="post-metadata">

### Author: ![DJ\_G](https://marlin.crc.id.au/forum/user_avatar/marlin.crc.id.au/dj_g/32/989_2.png) [@DJ\_G](https://marlin.crc.id.au/forum/u/DJ_G)
#### Post date: [16 October 2023 01:23 UTC](https://marlin.crc.id.au/forum/t/unable-to-compile-ender-3-v2/1919/3 "2023-10-16T01:23:31Z")

</div>

Mixed results. I tried three other configurations with default settings. Only change being the display.

BTW, last time I compiled successfully with Jyers UI was 12/31/2022.

**Worked**  
Build Reference: e0bbcfb0  
Display: DWIN - Creality Stock

Build Reference: e0bbcfb0  
Display: DWIN - Pro UI

**Didn’t Work**  
Build Reference: ec33dede  
Display: CR-10 Stock  
Errors:

```auto

Marlin/src/HAL/STM32/../../inc/SanityCheck.h:2637:4: error: "Please select only one LCD controller option."

Marlin/src/HAL/STM32/../../inc/../HAL/STM32/inc/SanityCheck.h:84:6: error: "Serial Port 3 TX IO pins conflict with another pin on the board."

```

---

<div class="post-metadata">

### Author: ![CRCinAU](https://marlin.crc.id.au/forum/user_avatar/marlin.crc.id.au/crcinau/32/1337_2.png) [@CRCinAU](https://marlin.crc.id.au/forum/u/CRCinAU)
#### Post date: [20 October 2023 08:51 UTC](https://marlin.crc.id.au/forum/t/unable-to-compile-ender-3-v2/1919/4 "2023-10-20T08:51:43Z")

</div>

I think I’ve fixed this problem now - it was a conflict between the preset and the builder options which was causing two displays to be enabled - when it should only be one.

Can you please give this a go and see if it resolves the problem?

---

<div class="post-metadata">

### Author: ![DJ\_G](https://marlin.crc.id.au/forum/user_avatar/marlin.crc.id.au/dj_g/32/989_2.png) [@DJ\_G](https://marlin.crc.id.au/forum/u/DJ_G)
#### Post date: [28 October 2023 04:24 UTC](https://marlin.crc.id.au/forum/t/unable-to-compile-ender-3-v2/1919/5 "2023-10-28T04:24:40Z")

</div>

Ran quick test without changing any options other than Display and it worked. Will post back if it breaks in another way. Thank you for fixing!

---

<div class="post-metadata">

### Author: ![system](https://marlin.crc.id.au/forum/uploads/default/original/1X/7cb6de4549725566e42efe3995d1187e475a5f1c.png) [@system](https://marlin.crc.id.au/forum/u/system)
#### Post date: [30 October 2023 04:24 UTC](https://marlin.crc.id.au/forum/t/unable-to-compile-ender-3-v2/1919/6 "2023-10-30T04:24:54Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
