Latest lv_examples.mk fails under Windows

Description

I have been using V6.x for a while and am now moving up to V7.8 and thought I’d start with the examples

What MCU/Processor/Board and compiler are you using?

custom board - SAMA5D27

What LVGL version are you using?

V7.8, compiled using gnu cross-arm tools via Eclipse

What do you want to achieve?

Compile the demo

Code to reproduce

The makefile now says “CSRCS += $(shell find -L lv_examples -name *.c)” but that is not compatible with Windows.

Makefile - or Linux/Unix! - are not my strong point.

How do I edit the makefile to find the C file under Windows, please?

Edit: I have installed Cygwin now and the makefile no longer complians about “Find”; but the Linker can’t find “lv_demo_printer” so the problem may be something else.

I have fixed the makefile but still have compilation problems even with the get_started demos.

Will post bug reports rather than clutter up this forum section.

I’m not so familiar with development on Windows.
@embeddedt do you have any ideas or suggestions?

My environment is:

Windows 10 Pro
Eclipse CDT
GNU cross-arm
SAMA5D27
“bare metal” C application

I found only 2 issues in the end:

  1. You must have Cygwin installed. I sort-of knew that but had forgotten as it’s a fairly new PC and dev environment
  2. The makefile change that I posted in Bugs about (needed more specific syntax around the wildcard “*.c” not just *.c

All other issues were of my own making :wink:

1 Like

Thanks for the update! :slight_smile: