How to compile simulator code?

Hi again!

After a while I decided to use simulator but get this error below.

Any clue about it?


make all 
'Building file: ../lvgl/tests/lv_test_objx/lv_test_cont.c'
'Invoking: Cross GCC Compiler'
gcc -I"C:\Users\erhan\eclipse-workspace\lv_sim_eclipse_sdl-master" -O0 -g3 -Wall -c -fmessage-length=0 -Wall -Wmaybe-uninitialized -MMD -MP -MF"lvgl/tests/lv_test_objx/lv_test_cont.d" -MT"lvgl/tests/lv_test_objx/lv_test_cont.o" -o "lvgl/tests/lv_test_objx/lv_test_cont.o" "../lvgl/tests/lv_test_objx/lv_test_cont.c"
lvgl/tests/lv_test_objx/ recipe for target 'lvgl/tests/lv_test_objx/lv_test_cont.o' failed
process_begin: CreateProcess(NULL, gcc -IC:\Users\erhan\eclipse-workspace\lv_sim_eclipse_sdl-master -O0 -g3 -Wall -c -fmessage-length=0 -Wall -Wmaybe-uninitialized -MMD -MP -MFlvgl/tests/lv_test_objx/lv_test_cont.d -MTlvgl/tests/lv_test_objx/lv_test_cont.o -o lvgl/tests/lv_test_objx/lv_test_cont.o ../lvgl/tests/lv_test_objx/lv_test_cont.c, ...) failed.
make (e=2): The system cannot find the file specified.

make: *** [lvgl/tests/lv_test_objx/lv_test_cont.o] Error 2
"make all" terminated with exit code 2. Build might be incomplete.

18:15:57 Build Failed. 2 errors, 0 warnings. (took 1s.449ms)
  1. Try to cleanup project and make sure the file “lvgl/tests/lv_test_objx/lv_test_cont.c” exists.

  2. P.S. Other suggestion, in case you don’t need to run tests, exclude whole “…/lvgl/tests/” folder from compilation process.

1 Like