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

make-cannot continue stop

Hi all, I am using sdk12.0.0 and i am trying to build the alert_notification from examples.I have installed GNUARM toolchain version 4.9 2015q2 and I am using eclipse. Following settings I have done

  1. Added the toolchain path in sdk_install_root/components/toolchain/gcc/makefile.windows
  2. In project settings i have set the build variables cross_make as make
  3. In project settings i have set the following tools paths
  • Build tools folder:C:\Program Files (x86)\GnuWin32\bin
  • Toolchain folder:C:\Program Files (x86)\GNU Tools ARM Embedded\4.9 2015q2\bin
  1. Project settings ->c/c++ general->Preprocessor include paths->providers
  • CDT GCC Build Output parser set as (.*gcc)|([.*gc]++)
  • CDT GCC Built-in compiler settings cross ARM set as arm-none-eabi-gcc ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD "${INPUTS}"

Whenever i am trying to build the project i am get the following error

***"12:49:56 **** Incremental Build of configuration Default for project adc_12_D ****
make -k all 
Cannot find: "C:/Program Files (x86)/GNU Tools ARM Embedded/4.9 2015q2/bin/arm-none-eabi-gcc".
process_begin: CreateProcess(C:\Users\ADMINI~1\AppData\Local\Temp\make7560-2.bat, C:\Users\ADMINI~1\AppData\Local\Temp\make7560-2.bat, ...) failed.
Please set values in: "D:/nRF5_SDK_12.0.0_12f24da/components/toolchain/gcc/Makefile.windows"
../../../../../../components/toolchain/gcc/Makefile.common:25: *** Cannot continue.  Stop.
according to the actual configuration of your system.
12:49:56 Build Finished (took 226ms)"***
Parents
  • Are you following this tutorial? It should explain the steps needed to make it work in Windows.

    You should make sure that the project compiles outside of eclipse by just using the command line. Navigate to where your Makefile is located in your project (using cmd) <SDK>/examples/peripheral/<example>/<board name>/<softdevice>/armgcc/, and then type make.

    If it still gives you the error Cannot find: "C:/Program Files (x86)/GNU Tools ARM Embedded/4.9 2015q2/bin/arm-none-eabi-gcc"., make sure that the file makefile.windows is correct. Should be something like this:

    GNU_INSTALL_ROOT := $(PROGFILES)/GNU Tools ARM Embedded/4.9 2015q3   // Toolchain path
    GNU_VERSION := 4.9.3  
    GNU_PREFIX := arm-none-eabi
    

    (Note: no /bin in the path)

  • "You should make sure that the project compiles outside of eclipse by just using the command line" What is this line means.I verified everything is correct my toolchain version is 4.9.2015q2.I am getting following error "process_begin: CreateProcess(C:\Users\ADMINI~1\AppData\Local\Temp\make2608-1.bat, C:\Users\ADMINI~1\AppData\Local\Temp\make2608-1.bat, ...) failed. make (e=2): The system cannot find the file specified.".

Reply Children
No Data
Related