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
  • Try this: In a terminal, navigate to your home folder. Once there, type arm-none-eabi-gcc --version and hit enter. On my (Linux) machine, where I am using Eclipse to develop for nRF devices, it prints

    arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 5.4.1 20160609 (release) [ARM/embedded-5-branch revision 237715] Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    If you do not get a message similar to this one, you need to add the path of the toolchain to the PATH environment variable. That variable contains the the paths where th OS searches for the command you type. Here is tutorial on how to do it for OSX (not tested, as i do not have a Mac machine).

Reply
  • Try this: In a terminal, navigate to your home folder. Once there, type arm-none-eabi-gcc --version and hit enter. On my (Linux) machine, where I am using Eclipse to develop for nRF devices, it prints

    arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 5.4.1 20160609 (release) [ARM/embedded-5-branch revision 237715] Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    If you do not get a message similar to this one, you need to add the path of the toolchain to the PATH environment variable. That variable contains the the paths where th OS searches for the command you type. Here is tutorial on how to do it for OSX (not tested, as i do not have a Mac machine).

Children
Related