# Trouble with adding header to program file for use in patch

**URL:** <https://forum.xod.io/t/trouble-with-adding-header-to-program-file-for-use-in-patch/569>\
**Category:** Uncategorized\
**Created:** [March 13, 2018, 12:41am UTC](https://forum.xod.io/t/trouble-with-adding-header-to-program-file-for-use-in-patch/569 "2018-03-13T00:41:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kyletetkoski](https://avatars.discourse-cdn.com/v4/letter/k/f0a364/32.png) [@kyletetkoski](https://forum.xod.io/u/kyletetkoski)\
**Post date:** [March 13, 2018, 12:41am UTC](https://forum.xod.io/t/trouble-with-adding-header-to-program-file-for-use-in-patch/569/1 "2018-03-13T00:41:01Z")

</div>

i added the gweimer library so i could play around with a remote and ir receiver. i read that you need IRremote.h  
ive been looking for hours now and cant seem to find where to find it. everything is setup as i want it now lol just trying to find this stupid IRremote.h

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [March 13, 2018, 2:07am UTC](https://forum.xod.io/t/trouble-with-adding-header-to-program-file-for-use-in-patch/569/2 "2018-03-13T02:07:45Z")

</div>

It is included with the library. You have to manually copy it from `XOD/ __lib__ /gweimer/IRremote/USER_AppData_Local_Programs_xod-client-electron_resources_arduino-libraries_IRremote` to a new IRremote folder in your user\AppData\Local\Programs\xod-client-electron\resources\arduino-libraries.

You will need to re-copy the header files every time you update XOD. Hopefully there will be a better way to include header files in the future…
