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

make: *** No rule to make target `all'. in Eclipse

I am trying to get the ble_app_uart project to build in Eclipse for the PCA10036 nRF52 board. I have followed the Tutorial titled " Development with GCC and Eclipse" and successfully built the ble_app_hrs in both Eclipse and command line. Now, I did the same exercise with the ble_app_uart project but get this message in Eclipse:

17:21:56 **** Incremental Build of configuration Default for project ble_app_uart **** make all make: *** No rule to make target `all'. Stop.

17:21:56 Build Finished (took 101ms)

I am able to build this project from the command line.

This is the case for any other project that I attempt to import and build with Eclipse except for the original, first project, ble_app_hrs.

Any help would be appreciated!

Parents
  • Seems like the build directory is wrong and the makefile is not found.

    Try to go to 'project settings -> C/C++ Build' and change the 'Build directory' to the absolute path where the makefile is stored (i.e. /home/hello/nRF51_SDK_8.0.0/examples/ble_peripheral/ble_app_uart_eclipse/pca10028/s110/armgcc)

    Also notice that the armgcc folder in the ble_app_uart example is one level up compared to the original ble_app_hrs example. So you should create a s110 folder inside pca10028/ and place the armgcc in there, or else the paths will be wrong.

Reply
  • Seems like the build directory is wrong and the makefile is not found.

    Try to go to 'project settings -> C/C++ Build' and change the 'Build directory' to the absolute path where the makefile is stored (i.e. /home/hello/nRF51_SDK_8.0.0/examples/ble_peripheral/ble_app_uart_eclipse/pca10028/s110/armgcc)

    Also notice that the armgcc folder in the ble_app_uart example is one level up compared to the original ble_app_hrs example. So you should create a s110 folder inside pca10028/ and place the armgcc in there, or else the paths will be wrong.

Children
No Data
Related