Can't build lvgl micropython for Raspberry Pi Pico W

I have been trying to figure out why this won’t build. I’ve just been following the steps listed here: GitHub - lvgl/lv_micropython: Micropython bindings to LVGL for Embedded devices, Unix and JavaScript under the section Raspberry Pi Pico port.
The steps are as follows:

  1. git clone https://github.com/lvgl/lv_micropython.git
  2. cd lv_micropython
  3. git submodule update --init --recursive lib/lv_bindings
  4. make -C ports/rp2 BOARD=PICO submodules
  5. make -j -C mpy-cross
  6. make -j -C ports/rp2 BOARD=PICO USER_C_MODULES=../../lib/lv_bindings/bindings.cmake

When I try running step 4, I get an error.

<current_working_directory>make -C ports/rp2 submodules
make: Entering directory 'current_working_directory/ports/rp2'
# Run the standard submodules target with minimum required submodules above
process_begin: CreateProcess(NULL, # Run the standard submodules target with minimum required submodules above, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [Makefile:36: submodules] Error 2
make: Leaving directory 'current_working_directory/ports/rp2'

It says that the system cannot find the file specified, but I’m not sure what it needs. I just cloned all the files it should be looking for, right? Sorry if this is a dumb question, I’m a little new to this. Thanks

you are not running step 4.

This is step 4

make -C ports/rp2 BOARD=PICO submodules

not this

make -C ports/rp2 submodules

see the missing part?

Thanks, I don’t know how I missed that! I tried running the new command but it still outputs the exact same message.

Got to do a “make clean” in ports/rp2 directory or “make -C ports/rp2 clean” in lv_micropython directory before attempting a new build…

run this command

make -C ports/rp2 BOARD=PICO clean

and then try it again

make -C ports/rp2 BOARD=PICO submodules

I want to also make sure you are in the right folder when you run that. You need to be in the lv_micropython folder and not in lv_micropython/ports/rp2 If you are in the later then you can use this command

make BOARD=PICO submodules

I am trying to use LVGL with Pico in micropython. While building lvgl, I did the required executed the commands, but got an error in step 5
`

  1. git clone https://github.com/lvgl/lv_micropython.git
  2. cd lv_micropython
  3. git submodule update --init --recursive lib/lv_bindings
  4. make -C ports/rp2 BOARD=PICO submodules
  5. make -j -C mpy-cross
    `

the error looks like this.

     make: Entering directory 'C:/Users/xx/lv_micropython/mpy-cross'
     Use make V=1 or set BUILD_VERBOSE in your environment to increase build 
     verbosity.
     process_begin: CreateProcess(NULL, uname -s, ...) failed.
     Makefile:10: pipe: No error
     FIND: Parameter format not correct
     Access denied - ../LIB/LV_BINDINGS/LVGL/SRC
     Access denied - ../LIB/LV_BINDINGS/LVGL/EXAMPLES
     Access denied - ../LIB/LV_BINDINGS/DRIVER/GENERIC
     File not found - -TYPE
     File not found - F
     File not found - -NAME
     "LVGL-GEN build/lvgl/lv_mpy.c"
     The syntax of the command is incorrect.
     make: *** [../py/py.mk:45: build/lvgl/lv_mpy.c] Error 1
     make: Leaving directory 'C:/Users/xx/lv_micropython/mpy-cross'

can i get help on this?

Duplicate of Unable to build LVGL micropython for RP