# Error while compiling

**URL:** <https://forum.arduino.cc/t/error-while-compiling/1347904>\
**Category:** IDE 2.x\
**Created:** [January 28, 2025, 8:26am UTC](https://forum.arduino.cc/t/error-while-compiling/1347904 "2025-01-28T08:26:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sten\_stur](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sten_stur/32/1128570_2.png) [@sten\_stur](https://forum.arduino.cc/u/sten_stur)\
**Post date:** [January 28, 2025, 8:26am UTC](https://forum.arduino.cc/t/error-while-compiling/1347904/1 "2025-01-28T08:26:47Z")

</div>

I get the folowing error when i compile a code: exec: "/bin/avr-g++": executable file not found in %PATH%

How do i fix this? I use 2.3.4 and win 10

---

<div class="post-metadata">

**Author:** ![ledsyn](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ledsyn/32/1203827_2.png) [@ledsyn](https://forum.arduino.cc/u/ledsyn)\
**Post date:** [January 28, 2025, 2:33pm UTC](https://forum.arduino.cc/t/error-while-compiling/1347904/2 "2025-01-28T14:33:11Z")

</div>

Have it worked at some point, or been like this from the install of the IDE?

---

<div class="post-metadata">

**Author:** ![sten\_stur](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sten_stur/32/1128570_2.png) [@sten\_stur](https://forum.arduino.cc/u/sten_stur)\
**Post date:** [January 28, 2025, 2:38pm UTC](https://forum.arduino.cc/t/error-while-compiling/1347904/3 "2025-01-28T14:38:31Z")

</div>

Never worked

---

<div class="post-metadata">

**Author:** ![ledsyn](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ledsyn/32/1203827_2.png) [@ledsyn](https://forum.arduino.cc/u/ledsyn)\
**Post date:** [January 28, 2025, 2:52pm UTC](https://forum.arduino.cc/t/error-while-compiling/1347904/4 "2025-01-28T14:52:24Z")

</div>

Have you tried any troubleshooting so far? Like reinstall the program? I guess you have done this with an administrator account.

---

<div class="post-metadata">

**Author:** ![sten\_stur](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sten_stur/32/1128570_2.png) [@sten\_stur](https://forum.arduino.cc/u/sten_stur)\
**Post date:** [January 28, 2025, 3:58pm UTC](https://forum.arduino.cc/t/error-while-compiling/1347904/5 "2025-01-28T15:58:11Z")

</div>

The program is packaged and sent from our IT department (to approximately 150 computers), they are working on the problem but they have no experience with this program.

---

<div class="post-metadata">

**Author:** ![ledsyn](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ledsyn/32/1203827_2.png) [@ledsyn](https://forum.arduino.cc/u/ledsyn)\
**Post date:** [January 28, 2025, 4:06pm UTC](https://forum.arduino.cc/t/error-while-compiling/1347904/6 "2025-01-28T16:06:55Z")

</div>

> [@sten\_stur](#):
>
> they have no experience with this program.

> [@sten\_stur](#):
>
> executable file not found in %PATH%

Dealing with paths should be a coffee break for IT staff.

> [@sten\_stur](#):
>
> The program is packaged and sent from our IT department (to approximately 150 computers)

Not sure why they need to package the IDE, it's already in a package, ready to install... sounds like they messed up.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [July 27, 2025, 4:07pm UTC](https://forum.arduino.cc/t/error-while-compiling/1347904/7 "2025-07-27T16:07:23Z")

</div>

Closed on July 27, 2025, 4:07pm UTC

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