# File not found sdkconfig.h

**URL:** <https://forum.unphone.net/t/file-not-found-sdkconfig-h/18>\
**Category:** unPhone programming\
**Created:** [11 January 2023 21:24 UTC](https://forum.unphone.net/t/file-not-found-sdkconfig-h/18 "2023-01-11T21:24:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ima](https://avatars.discourse-cdn.com/v4/letter/i/67e7ee/32.png) [@Ima](https://forum.unphone.net/u/Ima)\
**Post date:** [11 January 2023 21:24 UTC](https://forum.unphone.net/t/file-not-found-sdkconfig-h/18/1 "2023-01-11T21:24:11Z")

</div>

Compile fails with “file not found sdkconfig.h”

---

<div class="post-metadata">

**Author:** ![Ima](https://avatars.discourse-cdn.com/v4/letter/i/67e7ee/32.png) [@Ima](https://forum.unphone.net/u/Ima)\
**Post date:** [11 January 2023 21:33 UTC](https://forum.unphone.net/t/file-not-found-sdkconfig-h/18/2 "2023-01-11T21:33:01Z")

</div>

Another answer from [the library docs](https://gitlab.com/hamishcunningham/unphonelibrary/-/blob/main/README.mkd#troubleshooting):

```auto
If you see an error `file not found sdkconfig.h` then you're probably
  hitting [this issue](https://github.com/espressif/arduino-esp32/pull/6962)
  and need [this fix](https://github.com/espressif/arduino-esp32/pull/7330).
  (`magic.sh setup` should create the appropriate `Arduino/hardware/espressif`
  tree for you; you might need to delete the old version first.)

```
