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
  • I was able to move past this issue, but it was the brute force method. There may have been a setting that was off in the project options.

    I have had more success importing a project in to Eclipse using the File->New->Makefile Project with Existing Code. Most tutorials use the File->Import...

    When pointing to the tree of the project, I have used the root of the project. For example, the ble_app_hrs project would point to:

    .\Nordic\nRF52_SDK_0.9.1_3639cc9\examples\ble_peripheral\ble_app_hrs

    Then, in the project properties->C/C++ Build->Build Location, set the path to point to the path where the Makefile lives. In this case:

    .\Nordic\nRF52_SDK_0.9.1_3639cc9\examples\ble_peripheral\ble_app_hrs\pca10036\s132\armgcc

    This, along with the other settings discussed in the tutorial:

    devzone.nordicsemi.com/.../

    have given me good success although I have not gotten the debugger to work yet.

Reply
  • I was able to move past this issue, but it was the brute force method. There may have been a setting that was off in the project options.

    I have had more success importing a project in to Eclipse using the File->New->Makefile Project with Existing Code. Most tutorials use the File->Import...

    When pointing to the tree of the project, I have used the root of the project. For example, the ble_app_hrs project would point to:

    .\Nordic\nRF52_SDK_0.9.1_3639cc9\examples\ble_peripheral\ble_app_hrs

    Then, in the project properties->C/C++ Build->Build Location, set the path to point to the path where the Makefile lives. In this case:

    .\Nordic\nRF52_SDK_0.9.1_3639cc9\examples\ble_peripheral\ble_app_hrs\pca10036\s132\armgcc

    This, along with the other settings discussed in the tutorial:

    devzone.nordicsemi.com/.../

    have given me good success although I have not gotten the debugger to work yet.

Children
No Data
Related