# Arduino compile error Ameba RTL8722DM mini

**URL:** <https://forum.amebaiot.com/t/arduino-compile-error-ameba-rtl8722dm-mini/787>\
**Category:** SDK\
**Tags:** evb-amb82\
**Created:** [September 15, 2021, 8:33pm UTC](https://forum.amebaiot.com/t/arduino-compile-error-ameba-rtl8722dm-mini/787 "2021-09-15T20:33:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rh230021](https://avatars.discourse-cdn.com/v4/letter/r/77aa72/32.png) [@rh230021](https://forum.amebaiot.com/u/rh230021)\
**Post date:** [September 15, 2021, 8:33pm UTC](https://forum.amebaiot.com/t/arduino-compile-error-ameba-rtl8722dm-mini/787/1 "2021-09-15T20:33:24Z")

</div>

Hi,

After having fixed an virus error (2x), I am now getting another error. I am trying to compile the Blink application and get the following message:  
**exec: “rm”: executable file not found in %PATH%**  
**Error compiling for board RTL8722DM\_MINI.**

Using Arduino 1.18.12 but also tried 1.8.16 (on a different computer) same result.  
Any idea what the issue might be? Regards, RH

---

<div class="post-metadata">

**Author:** ![wyy](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wyy](https://forum.amebaiot.com/u/wyy)\
**Post date:** [September 16, 2021, 2:48am UTC](https://forum.amebaiot.com/t/arduino-compile-error-ameba-rtl8722dm-mini/787/2 "2021-09-16T02:48:40Z")

</div>

Hi @rh230021

Can you provide more information? there is insufficient information to determine what the issue is.  
In Arduino, you can turn on verbose output in File → Preferences, and provide a complete log of what Arduino prints out when compiling.

Also, some information on the computer systems you have tested on would be helpful as well, such as the OS.

---

<div class="post-metadata">

**Author:** ![xidameng](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/xidameng/32/18_2.png) [@xidameng](https://forum.amebaiot.com/u/xidameng)\
**Post date:** [September 16, 2021, 7:36am UTC](https://forum.amebaiot.com/t/arduino-compile-error-ameba-rtl8722dm-mini/787/3 "2021-09-16T07:36:13Z")

</div>

Hi @rh230021  
To solve this issue,

1. Please navigate to your arduino packages directory and locate `platform.txt` file under the following path,

2. Open `platform.txt` and search for **“Export bin”** keyword, delete the lines under this section and **save**

3. Re-start your Arduino IDE and this issue should be solved
