plerup/makeEspArduino

unable to compile on windows

Closed this issue · 3 comments

I tried the make command on windows
make -f makeEspArduino.mk ESP_ROOT=esp CHIP=esp32 DEMO=1 and got following error !
Tried on both 32 bit and 64 bit versions of cygwin

/usr/bin/sh: perl: command not found
/usr/bin/sh: perl: command not found
/usr/bin/sh: /proc/1/cmdline: No such file or directory
FIND: Parameter format not correct
/usr/bin/sh: perl: command not found
/usr/bin/sh: perl: command not found
/usr/bin/sh: perl: command not found
make: *** No rule to make target `C:/cygwin/tmp/mkESP/WiFiScan_esp32/arduino.mk', needed by `all'.  Stop.

the same procedure works fine in Ubuntu, and I am able to download the code to esp32 board as well. What is the mistake I did in windows?

image

You need to install Perl in your cygwin setup

That works. Thank you

Why does this need cygwin in the first place?
To use perl for file parsing?

Is most of this makefile using hacks?