Page 1 of 1

make (e=2): The system cannot find the file specified

Posted: Mon Jan 21, 2013 3:28 am
by licall
My project complie failed, the consile message is:

**** Build of configuration XMOS Compiler Collection (xcc) for project app_usb_aud_l1 ****

xmake all
Creating dependencies for coeffs.h
make -f ../build_biquad_coefficients/Makefile \
FILTER='-min -20 -max 20 -step 1 -bits 27 -low 200 -high 4000 -peaking 600 1 -peaking 1200 1' \
INCLUDEFILE=src/coeffs.h \
XCFILE=src/coeffs.xc \
CSVFILE=response.csv
process_begin: CreateProcess(NULL, make -f ../build_biquad_coefficients/Makefile "FILTER=-min -20 -max 20 -step 1 -bits 27 -low 200 -high 4000 -peaking 600 1 -peaking 1200 1" INCLUDEFILE=src/coeffs.h XCFILE=src/coeffs.xc CSVFILE=response.csv, ...) failed.

make (e=2): The system cannot find the file specified

what wrong on my PC? how to slove it?

Re: make (e=2): The system cannot find the file specified

Posted: Mon Jan 21, 2013 11:43 am
by segher
Somewhere in your project's Makefile(s) it says

Code: Select all

make
instead of

Code: Select all

$(MAKE)
and that won't work on your system.

Re: make (e=2): The system cannot find the file specified

Posted: Mon Jan 21, 2013 4:15 pm
by licall
Dear Segher,

It is OK now, thank you very much!

Re: make (e=2): The system cannot find the file specified

Posted: Mon Jul 16, 2018 3:30 am
by lovelyblue95
Hi I'm having a similar issue and I cannot find a solution, heres me error text:

Code: Select all

C:\Python27\S4-master>make
mkdir "build"
mkdir "build/S4k"
mkdir "build/modules"
g++ -c -DHAVE_BLAS -DHAVE_LAPACK -O2 -Wall -march=native -fcx-limited-range -fno-exceptions -static -IS4 -IS4/RNP -IS4/kiss_fft S4/S4.cpp -o build/S4k/S4.o
process_begin: CreateProcess(NULL, g++ -c -DHAVE_BLAS -DHAVE_LAPACK -O2 -Wall -march=native -fcx-limited-range -fno-exceptions -static -IS4 -IS4/RNP -IS4/kiss_fft S4/S4.cpp -o build/S4k/S4.o, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [build/S4k/S4.o] Error 2
I dont know what I'm doing wrong

Re: make (e=2): The system cannot find the file specified

Posted: Thu Jul 19, 2018 2:27 am
by mon2
@lovelyblue95, is this an xmos related question?

from searching on the internet, found that the issue could be related to the path variable for the g++ compiler so check that first:

https://stackoverflow.com/questions/336 ... -specified


reference:
process_begin: CreateProcess(NULL, g++