# FX30S - Build Error - Couldn't find file 'le\_avc.api'

**URL:** <https://forum.legato.io/t/fx30s-build-error-couldnt-find-file-le-avc-api/5878>\
**Category:** VSCode\
**Created:** [July 7, 2021, 2:24pm UTC](https://forum.legato.io/t/fx30s-build-error-couldnt-find-file-le-avc-api/5878 "2021-07-07T14:24:47Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [July 21, 2021, 1:04am UTC](https://forum.legato.io/t/fx30s-build-error-couldnt-find-file-le-avc-api/5878/6 "2021-07-21T01:04:46Z")

</div>

Here is my example on helloworld sample:

1. 

in hello1.adef, add

bindings:  
{  
hello1.hello1Component.le\_avc → avcService.le\_avc

}

1. 

in Component.cdef, add  
requires:  
{  
api:  
{  
le\_avc.api  
}

}

1. leaf shell

2. 

(lsh:swi-wp76\_4.7.0) owner@ubuntu:~/leaf/apps/Demo/hello1$ mkapp ${LEGATO\_DEF\_FILE} -s components -t ${LEGATO\_TARGET} -w ${LEGATO\_OBJECT\_DIR} -o ${LEGATO\_OUTPUT\_DIR} -i ${LEGATO\_ROOT}/interfaces/airVantage

---

_[View the full topic](https://forum.legato.io/t/fx30s-build-error-couldnt-find-file-le-avc-api/5878)._
