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

eclipse build error

I am having an issue with running the initial blinky example that came with the nRF51 PCA10028 SDK in the Eclipse IDEimage description. I will include screenshots of the issue. I believe my paths in the project properties are set correctly, and I also believe that I have installed all elements of the setup guide appropriately.

Error: make[1]: Leaving directory `C:/Users/Perry/Desktop/SDK/examples/peripheral/blinky/pca10028/blank/armgcc' make (e=2): The system cannot find the file specified.

make[1]: *** [_build/system_nrf51.o] Error 2 make: *** [all] Error

image description

Parents
  • Hi Perry, this usually means that the GNU toolchain path is set incorrectly, make sure that you have put the correct path in the file called makefile.windows/posix inside <SDK>/components/toolchain/gcc, the extension of the makefile depends on the platform you are using (Windows or OSX/Linux). Good luck.

  • Is the tool chain I should be referencing in the C/C++ General/Paths and Symbols/Includes/GNU C?

    I made this change as listed above, and I now have a new error as listed below.

    Error: Program "make" not found in PATH PATH=[C:\Users\Perry\Desktop\SDK\components\toolchain\gcc;C:\Users\Perry\Desktop\SDK\components\toolchain\gcc;C:/Program Files/Java/jre1.8.0_74/bin/server;C:/Program Files/Java/jre1.8.0_74/bin;C:/Program Files/Java/jre1.8.0_74/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Skype\Phone;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Nordic Semiconductor\nrf5x\bin;C:\Program Files (x86)\GNU Tools ARM Embedded\4.9 2015q3\bin;C:\Users\Perry\Desktop\Eclipse Install Extraction\eclipse]

Reply
  • Is the tool chain I should be referencing in the C/C++ General/Paths and Symbols/Includes/GNU C?

    I made this change as listed above, and I now have a new error as listed below.

    Error: Program "make" not found in PATH PATH=[C:\Users\Perry\Desktop\SDK\components\toolchain\gcc;C:\Users\Perry\Desktop\SDK\components\toolchain\gcc;C:/Program Files/Java/jre1.8.0_74/bin/server;C:/Program Files/Java/jre1.8.0_74/bin;C:/Program Files/Java/jre1.8.0_74/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Skype\Phone;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Nordic Semiconductor\nrf5x\bin;C:\Program Files (x86)\GNU Tools ARM Embedded\4.9 2015q3\bin;C:\Users\Perry\Desktop\Eclipse Install Extraction\eclipse]

Children
No Data
Related