# Can't find dependent .api file: 'le\_mdc.api'

**URL:** <https://forum.legato.io/t/cant-find-dependent-api-file-le-mdc-api/6126>\
**Category:** Uncategorized\
**Created:** [March 6, 2022, 4:49am UTC](https://forum.legato.io/t/cant-find-dependent-api-file-le-mdc-api/6126 "2022-03-06T04:49:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanaporn\_y](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@tanaporn\_y](https://forum.legato.io/u/tanaporn_y)\
**Post date:** [March 6, 2022, 4:49am UTC](https://forum.legato.io/t/cant-find-dependent-api-file-le-mdc-api/6126/1 "2022-03-06T04:49:08Z")

</div>

Can’t find dependent .api file: ‘le\_mdc.api’  
Do I add any thing wrong??

 ![Screenshot from 2022-03-06 13-49-56](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/e/e49cbc603a1ab8dffc0132899df5293e0cf871b6.png)

[NAD.adef](https://forum.legato.io/uploads/short-url/p21DwdWQQRoRpr02Kvup7ved6zz.adef) (2.0 KB)  
[Component.cdef](https://forum.legato.io/uploads/short-url/tmFwLcOFczge5Qg2s5fCoLnCeO6.cdef) (1.1 KB)

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [March 6, 2022, 8:08am UTC](https://forum.legato.io/t/cant-find-dependent-api-file-le-mdc-api/6126/2 "2022-03-06T08:08:49Z")

</div>

You can see here to add interface file

> [@FX30S - Build Error - Couldn't find file 'le\_avc.api'](https://forum.legato.io/t/fx30s-build-error-couldnt-find-file-le-avc-api/5878/9):
>
> Does your .sdef file in vscode show the airvantage directory: // Interfaces are searched for in the following directories. Each directory/sub-directory needs to // be identified here for the system to find and use .api files. interfaceSearch: { // Your project's search paths. ${MY\_SYSTEM\_DIR}/interfaces // Legato API search paths. ${LEGATO\_ROOT}/interfaces \*\*${LEGATO\_ROOT}/interfaces/airVantage\*\* ${LEGATO\_ROOT}/interfaces/atServices ${LEGATO\_ROOT}/interfaces/logDaemon ${LEGATO\_ROOT}/…

Or you can see here

> [@Can't find le\_mdc.api](https://forum.legato.io/t/cant-find-le-mdc-api/5729/6):
>
> the default compilation command is just for some very basic app like helloworld, you can see it did not add much .api file. Actually you can refer the makefile for each sample application:
