external_lib build error using visual code

I start using 2.2.0 SDK and had this error when building zephyr samples external_lib using nrf52833dk_nrf52833.

the problem as show in image:

after some research I found in this question that seems same with my problem: https://devzone.nordicsemi.com/f/nordic-q-a/70189/external_lib-not-compiling-out-of-the-box/288792 , which suggest to do the build using bash and it's work fine:

the question is how do I solve the error in visual code and build it there? 

Parents Reply Children
Related