This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Compiling in SEGGER Embedded Studio works, but compiling with 'make' fails

I have developed a custom Buttonless DFU application on top of the default example in the NRF SDK. In this custom app, I have also merged the BLE UART application, so I include the following code:  #include "ble_nus.h". In the SEGGER Embedded Studio, when I Build Solution, it compiles perfectly without errors. However, when I compile with the command make -C <path-to--custom-buttonless-Makefile-dir> it stops when compiling file main.c on the following Fatal Error: ble_nus.h: No such file or directory

What could be causing this problem when using make? How can I get it to recognize the header file like it does when compiling with SES?

Thank you

Parents Reply Children
Related