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 GitHub - openmv/openmv: OpenMV Camera Module”.
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!


@kwagyeman @iabdalkader are either of you familiar with ? It would be great to make a Gitpod that allows compiling OpenMV from source. Any idea if anyone has done it already? I see you have a docker link, but no in browser Gitpod link. Gitpod is a docker that works in your browser.

A gitpod link at openmv/src at master · openmv/openmv · GitHub would be a very wonderful thing.

Any opinions?

No, not really my area of expertise, the docker image stuff were added by someone else.

Hi, I’ve been busy with life. Just getting back into this. Would you be willing to set this up @rocksetta ?

1 Like

Sure, at one point I was an expert at Gitpod

I even have a Gitpod already to load most of the edge impulse platforms. My issue is having no one to help with minor installation issues.