Open dcmcshan opened 2 weeks ago
Dan, I tried what you did and also didn't get a window of output. I also had to copy in two of the sdl python files. Maybe I built it incorrectly?
$ ls -lt
total 6160
-rw-r--r-- 1 mark_hoy staff 0 Sep 24 09:58 SDLPointer_2
-rw-r--r-- 1 mark_hoy staff 849 Sep 24 09:55 MCT_SDL.py
-rw-r--r-- 1 mark_hoy staff 2495 Sep 24 09:54 sdl_pointer.py
-rw-r--r-- 1 mark_hoy staff 10295 Sep 24 09:53 sdl_display.py
-rwxr-xr-x 1 mark_hoy staff 1565816 Sep 24 09:51 lvgl_micropy_macos
-rw-r--r-- 1 mark_hoy staff 1561776 Sep 24 09:51 libSDL2-2.0.0.dylib
$ ./lvgl_micropy_macos
LVGL MicroPython 1.23.0 on 2024-09-22; darwin [GCC 4.2.1] version
Use Ctrl-D to exit, Ctrl-E for paste mode
>>> import MCT_SDL
Darwin
>>>
Figured it might be useful to thread this for others.
Built with this.
Moved to this application area.
MCT_SDL.py look like this:
Import occurs, and an application starts, but there is no window for the output?