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

Error in Eclipse No rule to make target

I followed this guide , I'v managed to run make files and flash them using the terminal, then when trying to build the project in Eclipse, I get this :

Make: no rule for target ..... Makefile.common

I am tired . Really tired.

The SDK path is just right when I check in the Eclipse preferences, and also the makefile.common is inside the toolchain/gcc/ folder. My Makefile.posix has the right path to the GNU ( because I managed to build in the terminal) ,

so questions remain :

  1. How to solve this ?

  2. How to start a simple project from scratch and just put 2 lines to blink a led ? ( please, don't send me again to that guide )

Hope I haven't just bought 20 chips and DK for nothing :) thnx.

image description

Parents
  • Did you try this tip from the tutorial? "Errors like "make: No rule to make target '_build/Nordic', needed by `nrf51422_xxac". Stop can also be an indication that build tools are unable to handle whitespaces in the path. E.g, c:/nordic semicondtor/SDK/... Workaround is to remove any whitespaces you may have with underscores." Could you post the entire output of the Console window of Eclipse after building?

Reply
  • Did you try this tip from the tutorial? "Errors like "make: No rule to make target '_build/Nordic', needed by `nrf51422_xxac". Stop can also be an indication that build tools are unable to handle whitespaces in the path. E.g, c:/nordic semicondtor/SDK/... Workaround is to remove any whitespaces you may have with underscores." Could you post the entire output of the Console window of Eclipse after building?

Children
No Data
Related