shariltumin / esp32-cam-micropython

Micropython esp32-cam
85 stars 28 forks source link

Error Makefile:102: *** missing separator. Stop. #6

Open Stan92 opened 4 years ago

Stan92 commented 4 years ago

Hi, I m very new to ESP32 as well as python. I try to run your code for building the firmware but I get some errors

Setting up for esp32 build
Set PATH
Set ESPIDF
Build micropython for esp23-cam
Change current directory to /home/stan/MP/20200411/micropython/ports/esp32-cam
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
** WARNING **
**The git hash of ESP IDF does not match the supported version
The build may complete and the firmware may work but it is not guaranteed**
ESP IDF path:       /home/stan/MP/ESPIDF/esp-idf
Current git hash:   143d26aa49df524e10fb8e41a71d12e731b9b71d
Supported git hash (v3.3): 6ccb4cf5b7d1fdddb8c2492f9cbc926abaf230df
Supported git hash (v4.0-beta1) (experimental): 310beae373446ceb9a4ad9b36b5428d7fdf2705f
Makefile:102: *** missing separator.  Stop.
Build done
Build micropython for esp23
Change current directory to /home/stan/MP/20200411/micropython/ports/esp32-my
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
** WARNING **
The git hash of ESP IDF does not match the supported version
The build may complete and the firmware may work but it is not guaranteed
ESP IDF path:       /home/stan/MP/ESPIDF/esp-idf
Current git hash:   143d26aa49df524e10fb8e41a71d12e731b9b71d
Supported git hash (v3.3): 6ccb4cf5b7d1fdddb8c2492f9cbc926abaf230df
Supported git hash (v4.0-beta1) (experimental): 310beae373446ceb9a4ad9b36b5428d7fdf2705f
Makefile:102: *** missing separator.  Stop.
Build done
Setting up for esp8266 build
Set PATH
Build micropython for esp8266
Change current directory to /home/stan/MP/20200411/micropython/ports/esp8266-my
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
make: xtensa-lx106-elf-gcc: Command not found
mkdir -p build-GENERIC/genhdr
GEN build-GENERIC/genhdr/mpversion.h
GEN build-GENERIC/genhdr/moduledefs.h
GEN build-GENERIC/genhdr/qstr.i.last
/bin/sh: 1: xtensa-lx106-elf-gcc: not found
../../py/mkrules.mk:89: recipe for target 'build-GENERIC/genhdr/qstr.i.last' failed
make: *** [build-GENERIC/genhdr/qstr.i.last] Error 127
make: *** Deleting file 'build-GENERIC/genhdr/qstr.i.last'
Build done

Even I get "Build done", mpc.py can't find the files. Do you have an idea?

KipCrossing commented 4 years ago

@Stan92 Go through this tutorial that I made and see if it helps: https://github.com/KipCrossing/Micro-Camera