Build OpenMV from source ,but...

hi! engineers from Openmv.

I strictly follow Linux Installation at Home · openmv/openmv Wiki · GitHub.

I’m sure I’ve used this method, “git clone – recursive”.
But I met the following ERROR messages .

Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.

Warning: FROZEN_MPY_DIR is deprecated in favour of FROZEN_MANIFEST
MPY /home/zyf/Desktop/openmv/src/../scripts/libraries/
../../py/ recipe for target '/home/zyf/Desktop/openmv/src/build/micropython/frozen_mpy/ulinalg.mpy' failed
make[1]: ../../mpy-cross/mpy-cross: Command not found
make[1]: *** [/home/zyf/Desktop/openmv/src/build/micropython/frozen_mpy/ulinalg.mpy] Error 127
make: *** [FIRMWARE_OBJS] Error 2
Makefile:584: recipe for target 'FIRMWARE_OBJS' failed
15:41:37: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project openmv (kit: Desktop Qt 5.11.1 GCC 64bit)
When executing step "Make"
15:41:37: Elapsed time: 00:14.

Can you please help?

you need to build the mpy cross compiler, cd micropython/my-cross and run make.

Wow, the problem is solved. Thank you very much :smiley: :smiley:


I’m trying to build the firmware. I’m using Ubuntu 18.04 (WSL on W10).
I’ve followed all steps specified on openmv/ at master · openmv/openmv · GitHub
but the last “make” command on the “src” directory (which builds the OpenMV Cam H7 Firmware) ends with this error:

CC src/flash.c
CC src/usbd_cdc.c
CC src/main.c
CC src/usbd_desc.c
CC src/qspif.c
make: python: Command not found
Makefile:617: recipe for target ‘bootloader’ failed
make: *** [bootloader] Error 127

Could you help me with this error?

Thanks a lot in advance.

Install python.

make: python: Command not found


I had Python 3.6.9 already installed, I thought that it was compatible…

After running “sudo apt install python” and install Python 2.7.17 it works!