InfiniTimeOrg / InfiniSim

Simulator for InfiniTime user interface without needing a PineTime
GNU General Public License v3.0
167 stars 68 forks source link

Segmentation fault when using the simulator #72

Closed rcaneill closed 2 years ago

rcaneill commented 2 years ago

Hello, thanks for the simulator! I however have a problem: the compilation is a success, but when I run the simulator for almost every thing I try I get a Segmentation fault (core dumped). E.g. if I try to slide up to get the list of applications, or slide down to get the notifications. If I slide right, I access the configuration menu, where I can change the brightness or the notification bell, but if I click on the gear or the light I get the segmentation fault again.

I tried v1.10.0, v1.11.0 and latest, with InfiniTime v1.10.0 or latest, but without any change.

I run a Linux Mint laptop, cmake version is 3.22.1, g++ version 11.2.0, python3.10.6. I don't know what else I could give as logs. Thanks!

NeroBurner commented 2 years ago

can you pastebin your (clean) cmake configure and build logs? maybe there is something in there

rcaneill commented 2 years ago
-- Using CMake version 3.22.1
-- InfiniTime PROJECT_VERSION extracted: 1.10.0
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using default C++ standard 17
-- Using MONITOR_ZOOM=3
-- add subdirectory /home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/fonts for 'infinitime_fonts' target
-- Using /home/romain/PineTime/InfiniSim/node_modules/.bin/lv_font_conv to generate font files
-- Found Python3: /usr/bin/python3.10 (found version "3.10.6") found components: Interpreter 
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") 
-- Performing Test HAVE_LD_VERSION_SCRIPT
-- Performing Test HAVE_LD_VERSION_SCRIPT - Success
-- Symbol prefix: 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/romain/PineTime/InfiniSim/build

[  0%] Generating pnglibconf.c
[  1%] Generating scripts/pnglibconf.c
[  1%] Generating pngprefix.h
[  1%] Generating scripts/symbols.out
[  1%] Built target pngprefix_h
[  1%] Built target pnglibconf_c
[  1%] Building C object CMakeFiles/QCBOR.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/QCBOR/src/ieee754.c.o
[  1%] Built target scripts_pnglibconf_c
[  1%] Built target scripts_symbols_out
[  2%] Generating open_sans_light.c
[  2%] Building C object CMakeFiles/QCBOR.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/QCBOR/src/qcbor_decode.c.o
[  2%] Generating jetbrains_mono_42.c
[  2%] Generating jetbrains_mono_76.c
[  2%] Building C object CMakeFiles/QCBOR.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/QCBOR/src/qcbor_encode.c.o
[  3%] Building C object CMakeFiles/QCBOR.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/QCBOR/src/qcbor_err_to_str.c.o
[  3%] Building C object CMakeFiles/QCBOR.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/QCBOR/src/UsefulBuf.c.o
[  3%] Linking C static library libQCBOR.a
[  3%] Built target QCBOR
[  4%] Generating jetbrains_mono_bold_20.c
[  4%] Built target infinitime_fonts_open_sans_light
[  4%] Built target infinitime_fonts_jetbrains_mono_42
[  4%] Generating jetbrains_mono_extrabold_compressed.c
[  4%] Generating lv_font_navi_80.c
[  4%] Built target infinitime_fonts_jetbrains_mono_76
[  4%] Generating lv_font_sys_48.c
patching file jetbrains_mono_bold_20.c
patching file jetbrains_mono_bold_20.c
[  4%] Built target infinitime_fonts_jetbrains_mono_bold_20
[  4%] Generating pnglibconf.out
[  4%] Built target infinitime_fonts_jetbrains_mono_extrabold_compressed
[  5%] Generating scripts/symbols.chk
[  5%] Built target pnglibconf_out
[  5%] Built target infinitime_fonts_lv_font_sys_48
[  5%] Generating pnglibconf.h
[  5%] Built target scripts_symbols_chk
[  5%] Generating scripts/prefix.out
[  6%] Built target pnglibconf_h
[  7%] Generating scripts/sym.out
[  7%] Generating scripts/intprefix.out
[  7%] Built target scripts_prefix_out
[  8%] Generating scripts/vers.out
[  9%] Built target scripts_sym_out
[  9%] Generating libpng.sym
[ 10%] Built target scripts_intprefix_out
[ 12%] Built target scripts_vers_out
[ 12%] Built target gensym
[ 12%] Generating libpng.vers
[ 12%] Built target genvers
[ 12%] Built target infinitime_fonts_lv_font_navi_80
[ 16%] Built target genfiles
[ 17%] Building C object fonts/CMakeFiles/infinitime_fonts.dir/jetbrains_mono_42.c.o
[ 17%] Building C object fonts/CMakeFiles/infinitime_fonts.dir/jetbrains_mono_76.c.o
[ 17%] Building C object fonts/CMakeFiles/infinitime_fonts.dir/jetbrains_mono_bold_20.c.o
[ 18%] Building C object fonts/CMakeFiles/infinitime_fonts.dir/jetbrains_mono_extrabold_compressed.c.o
[ 18%] Building C object fonts/CMakeFiles/infinitime_fonts.dir/lv_font_navi_80.c.o
[ 18%] Building C object fonts/CMakeFiles/infinitime_fonts.dir/lv_font_sys_48.c.o
[ 18%] Building C object fonts/CMakeFiles/infinitime_fonts.dir/open_sans_light.c.o
[ 18%] Building C object libpng/CMakeFiles/png_static.dir/png.c.o
[ 18%] Building C object libpng/CMakeFiles/png_static.dir/pngerror.c.o
[ 18%] Building C object libpng/CMakeFiles/png_static.dir/pngget.c.o
[ 19%] Linking C static library libinfinitime_fonts.a
[ 19%] Built target infinitime_fonts
[ 20%] Building C object libpng/CMakeFiles/png_static.dir/pngmem.c.o
[ 20%] Building C object libpng/CMakeFiles/png_static.dir/pngpread.c.o
[ 20%] Building C object libpng/CMakeFiles/png_static.dir/pngread.c.o
[ 21%] Building C object libpng/CMakeFiles/png_static.dir/pngrio.c.o
[ 21%] Building C object libpng/CMakeFiles/png_static.dir/pngrtran.c.o
[ 21%] Building C object libpng/CMakeFiles/png_static.dir/pngrutil.c.o
[ 21%] Building C object libpng/CMakeFiles/png_static.dir/pngset.c.o
[ 23%] Building C object libpng/CMakeFiles/png_static.dir/pngtrans.c.o
[ 23%] Building C object libpng/CMakeFiles/png_static.dir/pngwio.c.o
[ 23%] Building C object libpng/CMakeFiles/png_static.dir/pngwrite.c.o
[ 24%] Building C object libpng/CMakeFiles/png_static.dir/pngwtran.c.o
[ 24%] Building C object libpng/CMakeFiles/png_static.dir/pngwutil.c.o
[ 24%] Building C object libpng/CMakeFiles/png_static.dir/intel/intel_init.c.o
[ 24%] Building C object libpng/CMakeFiles/png_static.dir/intel/filter_sse2_intrinsics.c.o
[ 25%] Linking C static library libpng16.a
[ 27%] Built target png_static
[ 28%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_core/lv_disp.c.o
[ 28%] Building CXX object CMakeFiles/infinisim.dir/main.cpp.o
[ 28%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_core/lv_group.c.o
[ 29%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_core/lv_indev.c.o
[ 29%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_core/lv_obj.c.o
[ 29%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_core/lv_refr.c.o
[ 29%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_core/lv_style.c.o
[ 30%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_draw/lv_draw_arc.c.o
[ 30%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_draw/lv_draw_blend.c.o
[ 30%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_draw/lv_draw_img.c.o
[ 31%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_draw/lv_draw_label.c.o
[ 31%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_draw/lv_draw_line.c.o
[ 31%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_draw/lv_draw_mask.c.o
[ 31%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_draw/lv_draw_rect.c.o
[ 32%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_draw/lv_draw_triangle.c.o
[ 32%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_draw/lv_img_buf.c.o
[ 32%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_draw/lv_img_cache.c.o
[ 34%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_draw/lv_img_decoder.c.o
[ 34%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font.c.o
[ 34%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_dejavu_16_persian_hebrew.c.o
[ 34%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_fmt_txt.c.o
[ 35%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_loader.c.o
[ 35%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_10.c.o
[ 35%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_12.c.o
[ 36%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_12_subpx.c.o
[ 36%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_14.c.o
[ 36%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_16.c.o
[ 36%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_18.c.o
[ 37%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_20.c.o
[ 37%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_22.c.o
[ 38%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_24.c.o
[ 38%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_26.c.o
[ 38%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_28.c.o
[ 38%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_28_compressed.c.o
[ 38%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_30.c.o
[ 39%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_32.c.o
[ 39%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_34.c.o
[ 39%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_36.c.o
[ 40%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_38.c.o
[ 40%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_40.c.o
[ 40%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_42.c.o
[ 40%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_44.c.o
[ 41%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_46.c.o
[ 41%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_48.c.o
[ 41%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_montserrat_8.c.o
[ 42%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_simsun_16_cjk.c.o
[ 42%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_unscii_16.c.o
[ 42%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_font/lv_font_unscii_8.c.o
[ 42%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_gpu/lv_gpu_nxp_pxp.c.o
[ 43%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_gpu/lv_gpu_nxp_pxp_osa.c.o
[ 43%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_gpu/lv_gpu_nxp_vglite.c.o
[ 43%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_gpu/lv_gpu_stm32_dma2d.c.o
[ 45%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_hal/lv_hal_disp.c.o
[ 45%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_hal/lv_hal_indev.c.o
[ 45%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_hal/lv_hal_tick.c.o
[ 46%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_misc/lv_area.c.o
[ 46%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_misc/lv_anim.c.o
[ 46%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_misc/lv_async.c.o
[ 46%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_misc/lv_bidi.c.o
[ 47%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_misc/lv_color.c.o
[ 47%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_misc/lv_debug.c.o
[ 47%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_misc/lv_fs.c.o
[ 47%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_misc/lv_gc.c.o
[ 48%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_misc/lv_ll.c.o
/home/romain/PineTime/InfiniSim/main.cpp: In member function ‘void Framework::refresh_screen()’:
/home/romain/PineTime/InfiniSim/main.cpp:834:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
  834 |         printf("actual free_size = %d\n", int64_t(mem_mon.free_size) - (LV_MEM_SIZE - 14U*1024U));
      |                                    ~^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                     |                                |
      |                                     int                              int64_t {aka long int}
      |                                    %ld
[ 48%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_misc/lv_log.c.o
[ 48%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_misc/lv_math.c.o
[ 49%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_misc/lv_mem.c.o
[ 49%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_misc/lv_printf.c.o
[ 49%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_misc/lv_task.c.o
[ 49%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_misc/lv_templ.c.o
[ 50%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_misc/lv_txt.c.o
[ 50%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_misc/lv_txt_ap.c.o
[ 50%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_misc/lv_utils.c.o
[ 50%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_themes/lv_theme.c.o
[ 51%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_themes/lv_theme_empty.c.o
[ 51%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_themes/lv_theme_material.c.o
[ 51%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_themes/lv_theme_mono.c.o
[ 52%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_themes/lv_theme_template.c.o
[ 52%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_arc.c.o
[ 52%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_bar.c.o
[ 52%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_btn.c.o
[ 53%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_btnmatrix.c.o
[ 53%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_calendar.c.o
[ 53%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_canvas.c.o
[ 54%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_chart.c.o
[ 54%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_cont.c.o
[ 54%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_checkbox.c.o
[ 54%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_cpicker.c.o
[ 56%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_dropdown.c.o
[ 56%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_gauge.c.o
[ 56%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_img.c.o
[ 57%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_imgbtn.c.o
[ 57%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_keyboard.c.o
[ 57%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_label.c.o
[ 57%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_led.c.o
[ 57%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_linemeter.c.o
[ 58%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_line.c.o
[ 58%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_list.c.o
[ 59%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_msgbox.c.o
[ 59%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_objmask.c.o
[ 59%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_objx_templ.c.o
[ 59%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_page.c.o
[ 60%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_roller.c.o
[ 60%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_slider.c.o
[ 60%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_spinbox.c.o
[ 61%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_spinner.c.o
[ 61%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_switch.c.o
[ 61%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_table.c.o
[ 61%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_tabview.c.o
[ 62%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_textarea.c.o
[ 62%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_tileview.c.o
[ 62%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/lvgl/src/lv_widgets/lv_win.c.o
[ 63%] Building C object CMakeFiles/infinisim.dir/lv_drivers/display/GC9A01.c.o
[ 63%] Building C object CMakeFiles/infinisim.dir/lv_drivers/display/ILI9341.c.o
[ 63%] Building C object CMakeFiles/infinisim.dir/lv_drivers/display/R61581.c.o
[ 63%] Building C object CMakeFiles/infinisim.dir/lv_drivers/display/SHARP_MIP.c.o
[ 64%] Building C object CMakeFiles/infinisim.dir/lv_drivers/display/SSD1963.c.o
[ 64%] Building C object CMakeFiles/infinisim.dir/lv_drivers/display/ST7565.c.o
[ 64%] Building C object CMakeFiles/infinisim.dir/lv_drivers/display/UC1610.c.o
[ 65%] Building C object CMakeFiles/infinisim.dir/lv_drivers/display/drm.c.o
[ 65%] Building C object CMakeFiles/infinisim.dir/lv_drivers/display/monitor.c.o
[ 65%] Building C object CMakeFiles/infinisim.dir/lv_drivers/display/fbdev.c.o
[ 65%] Building C object CMakeFiles/infinisim.dir/lv_drivers/gtkdrv/gtkdrv.c.o
[ 67%] Building C object CMakeFiles/infinisim.dir/lv_drivers/indev/AD_touch.c.o
[ 67%] Building C object CMakeFiles/infinisim.dir/lv_drivers/indev/FT5406EE8.c.o
[ 68%] Building C object CMakeFiles/infinisim.dir/lv_drivers/indev/keyboard.c.o
[ 68%] Building C object CMakeFiles/infinisim.dir/lv_drivers/indev/XPT2046.c.o
[ 68%] Building C object CMakeFiles/infinisim.dir/lv_drivers/indev/evdev.c.o
[ 68%] Building C object CMakeFiles/infinisim.dir/lv_drivers/indev/libinput.c.o
[ 68%] Building C object CMakeFiles/infinisim.dir/lv_drivers/indev/mouse.c.o
[ 69%] Building C object CMakeFiles/infinisim.dir/lv_drivers/indev/mousewheel.c.o
[ 69%] Building C object CMakeFiles/infinisim.dir/lv_drivers/win32drv/win32drv.c.o
[ 69%] Building C object CMakeFiles/infinisim.dir/lv_drivers/win_drv.c.o
[ 70%] Building CXX object CMakeFiles/infinisim.dir/sim/displayapp/LittleVgl.cpp.o
[ 70%] Building CXX object CMakeFiles/infinisim.dir/sim/displayapp/screens/Missing.cpp.o
[ 70%] Building CXX object CMakeFiles/infinisim.dir/sim/components/battery/BatteryController.cpp.o
[ 70%] Building CXX object CMakeFiles/infinisim.dir/sim/components/ble/AlertNotificationService.cpp.o
[ 71%] Building CXX object CMakeFiles/infinisim.dir/sim/components/ble/MusicService.cpp.o
[ 71%] Building CXX object CMakeFiles/infinisim.dir/sim/components/ble/NavigationService.cpp.o
[ 71%] Building CXX object CMakeFiles/infinisim.dir/sim/components/ble/NimbleController.cpp.o
[ 72%] Building CXX object CMakeFiles/infinisim.dir/sim/components/ble/weather/WeatherService.cpp.o
[ 72%] Building CXX object CMakeFiles/infinisim.dir/sim/components/brightness/BrightnessController.cpp.o
[ 72%] Building CXX object CMakeFiles/infinisim.dir/sim/components/firmwarevalidator/FirmwareValidator.cpp.o
[ 72%] Building CXX object CMakeFiles/infinisim.dir/sim/components/heartrate/HeartRateController.cpp.o
[ 73%] Building CXX object CMakeFiles/infinisim.dir/sim/components/motion/MotionController.cpp.o
[ 73%] Building CXX object CMakeFiles/infinisim.dir/sim/drivers/Bma421.cpp.o
[ 73%] Building CXX object CMakeFiles/infinisim.dir/sim/drivers/Watchdog.cpp.o
[ 74%] Building CXX object CMakeFiles/infinisim.dir/sim/drivers/Cst816s.cpp.o
[ 74%] Building CXX object CMakeFiles/infinisim.dir/sim/drivers/Hrs3300.cpp.o
[ 74%] Building CXX object CMakeFiles/infinisim.dir/sim/drivers/SpiMaster.cpp.o
[ 74%] Building CXX object CMakeFiles/infinisim.dir/sim/drivers/TwiMaster.cpp.o
[ 75%] Building CXX object CMakeFiles/infinisim.dir/sim/drivers/SpiNorFlash.cpp.o
[ 75%] Building CXX object CMakeFiles/infinisim.dir/sim/heartratetask/HeartRateTask.cpp.o
[ 75%] Building CXX object CMakeFiles/infinisim.dir/sim/FreeRTOS.cpp.o
[ 76%] Building CXX object CMakeFiles/infinisim.dir/sim/task.cpp.o
[ 76%] Building CXX object CMakeFiles/infinisim.dir/sim/timers.cpp.o
[ 76%] Building CXX object CMakeFiles/infinisim.dir/sim/queue.cpp.o
[ 76%] Building CXX object CMakeFiles/infinisim.dir/sim/portmacro_cmsis.cpp.o
[ 78%] Building CXX object CMakeFiles/infinisim.dir/sim/libraries/delay/nrf_delay.cpp.o
[ 78%] Building CXX object CMakeFiles/infinisim.dir/sim/nrfx/hal/nrf_gpio.cpp.o
[ 78%] Building CXX object CMakeFiles/infinisim.dir/sim/nrfx/hal/nrf_rtc.cpp.o
[ 78%] Building CXX object CMakeFiles/infinisim.dir/sim/libraries/timer/app_timer.cpp.o
[ 79%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/Alarm.cpp.o
[ 79%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/ApplicationList.cpp.o
[ 79%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/BatteryIcon.cpp.o
[ 80%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/BatteryInfo.cpp.o
[ 80%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/BleIcon.cpp.o
[ 80%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/Clock.cpp.o
[ 80%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/Error.cpp.o
[ 81%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/FirmwareUpdate.cpp.o
[ 81%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/FirmwareValidation.cpp.o
[ 81%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/FlashLight.cpp.o
[ 82%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/HeartRate.cpp.o
[ 82%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/InfiniPaint.cpp.o
[ 82%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/Label.cpp.o
[ 82%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/List.cpp.o
[ 83%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/Metronome.cpp.o
[ 83%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/Motion.cpp.o
[ 83%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/Music.cpp.o
[ 84%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/Navigation.cpp.o
[ 84%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/NotificationIcon.cpp.o
[ 84%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/Notifications.cpp.o
[ 84%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/Paddle.cpp.o
[ 85%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/PassKey.cpp.o
[ 85%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/Screen.cpp.o
[ 85%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/Steps.cpp.o
[ 86%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/StopWatch.cpp.o
[ 86%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/Styles.cpp.o
[ 86%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/SystemInfo.cpp.o
[ 86%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/Tile.cpp.o
[ 87%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/Timer.cpp.o
[ 87%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/Twos.cpp.o
[ 87%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/WatchFaceAnalog.cpp.o
[ 89%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/WatchFaceDigital.cpp.o
[ 89%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/WatchFacePineTimeStyle.cpp.o
[ 89%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/WatchFaceTerminal.cpp.o
[ 89%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/Weather.cpp.o
[ 90%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/settings/QuickSettings.cpp.o
[ 90%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/settings/SettingBluetooth.cpp.o
[ 90%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/settings/SettingChimes.cpp.o
[ 91%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/settings/SettingDisplay.cpp.o
[ 91%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/settings/SettingSetDate.cpp.o
[ 91%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/settings/SettingSetTime.cpp.o
[ 91%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/settings/SettingShakeThreshold.cpp.o
[ 92%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/settings/SettingSteps.cpp.o
[ 92%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/settings/SettingTimeFormat.cpp.o
[ 92%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/settings/SettingWakeUp.cpp.o
[ 93%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/settings/SettingWatchFace.cpp.o
[ 93%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/screens/settings/Settings.cpp.o
[ 93%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/icons/bg_clock.c.o
[ 93%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/widgets/Counter.cpp.o
[ 94%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/littlefs/lfs_util.c.o
[ 94%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/libs/littlefs/lfs.c.o
[ 94%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/BootloaderVersion.cpp.o
/home/romain/Downloads/InfiniTime-1.10.0/src/BootloaderVersion.cpp: In static member function ‘static void Pinetime::BootloaderVersion::SetVersion(uint32_t)’:
/home/romain/Downloads/InfiniTime-1.10.0/src/BootloaderVersion.cpp:36:15: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint32_t’ {aka ‘unsigned int’} [-Wformat=]
   36 |            "%ld.%ld.%ld",
      |             ~~^
      |               |
      |               long int
      |             %d
   37 |            BootloaderVersion::Major(),
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                    |
      |                                    uint32_t {aka unsigned int}
/home/romain/Downloads/InfiniTime-1.10.0/src/BootloaderVersion.cpp:36:19: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint32_t’ {aka ‘unsigned int’} [-Wformat=]
   36 |            "%ld.%ld.%ld",
      |                 ~~^
      |                   |
      |                   long int
      |                 %d
   37 |            BootloaderVersion::Major(),
   38 |            BootloaderVersion::Minor(),
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                    |
      |                                    uint32_t {aka unsigned int}
/home/romain/Downloads/InfiniTime-1.10.0/src/BootloaderVersion.cpp:36:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘uint32_t’ {aka ‘unsigned int’} [-Wformat=]
   36 |            "%ld.%ld.%ld",
      |                     ~~^
      |                       |
      |                       long int
      |                     %d
......
   39 |            BootloaderVersion::Patch());
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                    |
      |                                    uint32_t {aka unsigned int}
[ 95%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/Colors.cpp.o
[ 95%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/DisplayApp.cpp.o
[ 95%] Building C object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/displayapp/lv_pinetime_theme.c.o
[ 95%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/buttonhandler/ButtonHandler.cpp.o
[ 96%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/components/alarm/AlarmController.cpp.o
[ 96%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/components/ble/BleController.cpp.o
[ 96%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/components/datetime/DateTimeController.cpp.o
[ 97%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/components/settings/Settings.cpp.o
[ 97%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/components/ble/NotificationManager.cpp.o
[ 97%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/components/fs/FS.cpp.o
[ 97%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/components/motor/MotorController.cpp.o
In file included from /home/romain/Downloads/InfiniTime-1.10.0/src/components/datetime/DateTimeController.cpp:3:
/home/romain/Downloads/InfiniTime-1.10.0/src/components/datetime/DateTimeController.cpp: In member function ‘void Pinetime::Controllers::DateTime::SetTime(uint16_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint32_t)’:
/home/romain/Downloads/InfiniTime-1.10.0/src/components/datetime/DateTimeController.cpp:47:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘Pinetime::Controllers::DateTime::Months’ [-Wformat=]
   47 |   NRF_LOG_INFO("* %d %d %d ", this->day, this->month, this->year);
      |                ^~~~~~~~~~~~~             ~~~~~~~~~~~
      |                                                |
      |                                                Pinetime::Controllers::DateTime::Months
/home/romain/PineTime/InfiniSim/sim/libraries/log/nrf_log.h:56:66: note: in definition of macro ‘NRF_LOG_INFO’
   56 | #define NRF_LOG_INFO(...)         do {printf("info:  "); printf( __VA_ARGS__ ); printf("\n"); } while(false);
      |                                                                  ^~~~~~~~~~~
/home/romain/Downloads/InfiniTime-1.10.0/src/components/datetime/DateTimeController.cpp:47:23: note: format string is defined here
   47 |   NRF_LOG_INFO("* %d %d %d ", this->day, this->month, this->year);
      |                      ~^
      |                       |
      |                       int
[ 98%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/components/timer/TimerController.cpp.o
[ 98%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/drivers/Spi.cpp.o
[ 98%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/drivers/St7789.cpp.o
[100%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/touchhandler/TouchHandler.cpp.o
[100%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/systemtask/SystemTask.cpp.o
[100%] Building CXX object CMakeFiles/infinisim.dir/home/romain/Downloads/InfiniTime-1.10.0/src/systemtask/SystemMonitor.cpp.o
[100%] Linking CXX executable infinisim
[100%] Built target infinisim
NeroBurner commented 2 years ago

Are you on the latest version of InfiniSim? I don't see the littlefs-do command being compiled. And you'll need the lv_img_conv tool installed to create the new ressource.zip file (see README.md for installation instructions)

NeroBurner commented 2 years ago

And don't forget to update the checked in submodules (I think especially libpng had a fix rather recently)

rcaneill commented 2 years ago

Here is the log with the latest version of InfiniSim (I was on version 1.10.0)

-- Using CMake version 3.22.1
-- InfiniTime PROJECT_VERSION extracted: 1.11.0
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using default C++ standard 17
-- Using MONITOR_ZOOM=1
-- add subdirectory /home/romain/PineTime/InfiniSim/InfiniTime/src/displayapp/fonts for 'infinitime_fonts' target
-- Using /home/romain/PineTime/InfiniSim/node_modules/.bin/lv_font_conv to generate font files
-- Found Python3: /usr/bin/python3.10 (found version "3.10.6") found components: Interpreter 
-- add subdirectory /home/romain/PineTime/InfiniSim/InfiniTime/src/resources for 'GenerateResources' target
-- Using /home/romain/PineTime/InfiniSim/node_modules/.bin/lv_font_conv to generate font files
-- Using /home/romain/PineTime/InfiniSim/node_modules/.bin/lv_img_conv to generate font files
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") 
-- Performing Test HAVE_LD_VERSION_SCRIPT
-- Performing Test HAVE_LD_VERSION_SCRIPT - Success
-- Symbol prefix: 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/romain/PineTime/InfiniSim/build

[  0%] Generating scripts/symbols.out
[  0%] Generating pnglibconf.c
[  0%] Generating open_sans_light.c
[  0%] Generating scripts/pnglibconf.c
[  1%] Generating pngprefix.h
[  1%] Building C object CMakeFiles/QCBOR.dir/InfiniTime/src/libs/QCBOR/src/ieee754.c.o
[  1%] Building C object CMakeFiles/littlefs.dir/InfiniTime/src/libs/littlefs/lfs_util.c.o
[  1%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_core/lv_disp.c.o
[  1%] Built target pngprefix_h
[  1%] Building C object CMakeFiles/QCBOR.dir/InfiniTime/src/libs/QCBOR/src/qcbor_decode.c.o
[  2%] Building C object CMakeFiles/QCBOR.dir/InfiniTime/src/libs/QCBOR/src/qcbor_encode.c.o
[  3%] Building C object CMakeFiles/littlefs.dir/InfiniTime/src/libs/littlefs/lfs.c.o
[  2%] Built target pnglibconf_c
[  3%] Building C object CMakeFiles/QCBOR.dir/InfiniTime/src/libs/QCBOR/src/qcbor_err_to_str.c.o
[  3%] Built target scripts_pnglibconf_c
[  3%] Built target scripts_symbols_out
[  3%] Building C object CMakeFiles/QCBOR.dir/InfiniTime/src/libs/QCBOR/src/UsefulBuf.c.o
[  3%] Generating jetbrains_mono_42.c
[  4%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_core/lv_group.c.o
[  5%] Generating jetbrains_mono_76.c
[  5%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_core/lv_indev.c.o
[  5%] Generating jetbrains_mono_bold_20.c
[  5%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_core/lv_obj.c.o
[  5%] Linking C static library libQCBOR.a
[  5%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_core/lv_refr.c.o
[  5%] Built target QCBOR
[  5%] Generating jetbrains_mono_extrabold_compressed.c
[  5%] Linking C static library liblittlefs.a
[  5%] Generating lv_font_navi_80.c
[  5%] Built target littlefs
[  6%] Generating lv_font_sys_48.c
[  7%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_core/lv_style.c.o
[  7%] Built target infinitime_fonts_open_sans_light
[  7%] Generate fonts and images for resource package
[  7%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_draw/lv_draw_arc.c.o
[  7%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_draw/lv_draw_blend.c.o
[  7%] Built target infinitime_fonts_jetbrains_mono_42
[  7%] Built target infinitime_fonts_jetbrains_mono_76
[  7%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_draw/lv_draw_img.c.o
[  7%] Building C object external/miniz/CMakeFiles/miniz.dir/miniz.c.o
/home/romain/PineTime/InfiniSim/external/miniz/miniz.c:3089:9: note: ‘#pragma message: Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.’
 3089 | #pragma message("Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.")
      |         ^~~~~~~
[  8%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_draw/lv_draw_label.c.o
[  8%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_draw/lv_draw_line.c.o
patching file jetbrains_mono_bold_20.c
patching file jetbrains_mono_bold_20.c
[  8%] Built target infinitime_fonts_jetbrains_mono_extrabold_compressed
[  8%] Built target infinitime_fonts_jetbrains_mono_bold_20
[  8%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_draw/lv_draw_mask.c.o
[  8%] Generating pnglibconf.out
[  8%] Generating scripts/symbols.chk
[ 10%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_draw/lv_draw_rect.c.o
[ 11%] Built target scripts_symbols_chk
[ 11%] Built target pnglibconf_out
[ 11%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_draw/lv_draw_triangle.c.o
[ 11%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_draw/lv_img_buf.c.o
[ 11%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_draw/lv_img_cache.c.o
[ 12%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_draw/lv_img_decoder.c.o
[ 12%] Built target infinitime_fonts_lv_font_sys_48
[ 12%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font.c.o
[ 12%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_dejavu_16_persian_hebrew.c.o
[ 12%] Generating pnglibconf.h
[ 12%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_fmt_txt.c.o
[ 13%] Built target pnglibconf_h
[ 13%] Generating scripts/prefix.out
[ 14%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_loader.c.o
[ 14%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_10.c.o
[ 14%] Generating scripts/sym.out
[ 15%] Built target scripts_prefix_out
[ 15%] Generating scripts/intprefix.out
[ 15%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_12.c.o
[ 16%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_12_subpx.c.o
[ 17%] Built target scripts_sym_out
[ 17%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_14.c.o
[ 17%] Built target infinitime_fonts_lv_font_navi_80
[ 17%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_16.c.o
[ 18%] Built target scripts_intprefix_out
[ 18%] Generating scripts/vers.out
[ 18%] Building C object fonts/CMakeFiles/infinitime_fonts.dir/jetbrains_mono_42.c.o
[ 18%] Building C object fonts/CMakeFiles/infinitime_fonts.dir/jetbrains_mono_76.c.o
[ 20%] Building C object fonts/CMakeFiles/infinitime_fonts.dir/jetbrains_mono_bold_20.c.o
[ 20%] Building C object fonts/CMakeFiles/infinitime_fonts.dir/jetbrains_mono_extrabold_compressed.c.o
[ 21%] Built target scripts_vers_out
[ 21%] Building C object fonts/CMakeFiles/infinitime_fonts.dir/lv_font_navi_80.c.o
[ 21%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_18.c.o
[ 21%] Linking C static library libminiz.a
[ 22%] Building C object fonts/CMakeFiles/infinitime_fonts.dir/lv_font_sys_48.c.o
[ 22%] Generating libpng.sym
[ 22%] Building C object fonts/CMakeFiles/infinitime_fonts.dir/open_sans_light.c.o
[ 22%] Generating libpng.vers
[ 22%] Built target miniz
[ 22%] Built target gensym
[ 23%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_20.c.o
[ 23%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_22.c.o
[ 23%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_24.c.o
[ 23%] Built target genvers
[ 23%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_26.c.o
[ 24%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_28.c.o
[ 24%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_28_compressed.c.o
[ 24%] Linking C static library libinfinitime_fonts.a
[ 24%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_30.c.o
[ 28%] Built target genfiles
[ 30%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_32.c.o
[ 30%] Built target infinitime_fonts
[ 30%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_34.c.o
[ 30%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_36.c.o
[ 30%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_38.c.o
[ 30%] Building C object libpng/CMakeFiles/png_static.dir/png.c.o
[ 30%] Building C object libpng/CMakeFiles/png_static.dir/pngerror.c.o
[ 31%] Building C object libpng/CMakeFiles/png_static.dir/pngget.c.o
[ 31%] Building C object libpng/CMakeFiles/png_static.dir/pngmem.c.o
[ 31%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_42.c.o
[ 32%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_40.c.o
[ 32%] Building C object libpng/CMakeFiles/png_static.dir/pngpread.c.o
[ 32%] Building C object libpng/CMakeFiles/png_static.dir/pngread.c.o
[ 33%] Building C object libpng/CMakeFiles/png_static.dir/pngrio.c.o
[ 33%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_44.c.o
[ 33%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_46.c.o
[ 33%] Building C object libpng/CMakeFiles/png_static.dir/pngrtran.c.o
[ 33%] Building C object libpng/CMakeFiles/png_static.dir/pngrutil.c.o
[ 34%] Building C object libpng/CMakeFiles/png_static.dir/pngset.c.o
[ 34%] Building C object libpng/CMakeFiles/png_static.dir/pngtrans.c.o
[ 34%] Building C object libpng/CMakeFiles/png_static.dir/pngwio.c.o
[ 35%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_48.c.o
[ 35%] Building C object libpng/CMakeFiles/png_static.dir/pngwrite.c.o
[ 36%] Building C object libpng/CMakeFiles/png_static.dir/pngwtran.c.o
[ 36%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_montserrat_8.c.o
[ 36%] Building C object libpng/CMakeFiles/png_static.dir/pngwutil.c.o
[ 36%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_simsun_16_cjk.c.o
[ 36%] Building C object libpng/CMakeFiles/png_static.dir/intel/intel_init.c.o
[ 36%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_unscii_16.c.o
[ 36%] Building C object libpng/CMakeFiles/png_static.dir/intel/filter_sse2_intrinsics.c.o
[ 37%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_unscii_8.c.o
[ 37%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_gpu/lv_gpu_nxp_pxp.c.o
[ 37%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_gpu/lv_gpu_nxp_pxp_osa.c.o
[ 38%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_gpu/lv_gpu_nxp_vglite.c.o
[ 38%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_gpu/lv_gpu_stm32_dma2d.c.o
[ 38%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_hal/lv_hal_disp.c.o
[ 38%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_hal/lv_hal_indev.c.o
[ 40%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_hal/lv_hal_tick.c.o
[ 40%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_misc/lv_anim.c.o
[ 40%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_misc/lv_area.c.o
[ 40%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_misc/lv_async.c.o
[ 41%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_misc/lv_color.c.o
[ 41%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_misc/lv_bidi.c.o
[ 41%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_misc/lv_debug.c.o
[ 41%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_misc/lv_gc.c.o
[ 42%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_misc/lv_fs.c.o
[ 42%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_misc/lv_ll.c.o
[ 42%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_misc/lv_log.c.o
[ 43%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_misc/lv_math.c.o
[ 43%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_misc/lv_mem.c.o
[ 43%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_misc/lv_task.c.o
[ 43%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_misc/lv_printf.c.o
[ 44%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_misc/lv_templ.c.o
[ 44%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_misc/lv_txt.c.o
[ 44%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_misc/lv_txt_ap.c.o
[ 45%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_misc/lv_utils.c.o
[ 45%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_themes/lv_theme.c.o
[ 45%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_themes/lv_theme_empty.c.o
[ 46%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_themes/lv_theme_material.c.o
[ 46%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_themes/lv_theme_mono.c.o
[ 46%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_themes/lv_theme_template.c.o
[ 46%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_arc.c.o
[ 46%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_bar.c.o
[ 47%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_btn.c.o
[ 48%] Linking C static library libpng16.a
[ 48%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_btnmatrix.c.o
[ 48%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_calendar.c.o
[ 50%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_canvas.c.o
[ 51%] Built target png_static
[ 51%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_chart.c.o
[ 51%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_checkbox.c.o
[ 51%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_cont.c.o
[ 52%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_cpicker.c.o
[ 52%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_dropdown.c.o
[ 52%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_gauge.c.o
[ 52%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_img.c.o
[ 53%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_imgbtn.c.o
[ 53%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_keyboard.c.o
[ 53%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_led.c.o
[ 53%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_label.c.o
[ 54%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_line.c.o
[ 54%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_linemeter.c.o
[ 54%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_list.c.o
[ 55%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_msgbox.c.o
[ 55%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_objmask.c.o
[ 55%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_objx_templ.c.o
[ 55%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_page.c.o
[ 56%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_roller.c.o
[ 56%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_slider.c.o
[ 56%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_spinbox.c.o
[ 56%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_spinner.c.o
[ 57%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_switch.c.o
[ 57%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_table.c.o
[ 57%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_tabview.c.o
[ 58%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_textarea.c.o
[ 58%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_tileview.c.o
[ 58%] Building C object CMakeFiles/sim-base.dir/InfiniTime/src/libs/lvgl/src/lv_widgets/lv_win.c.o
[ 60%] Building C object CMakeFiles/sim-base.dir/lv_drivers/display/ILI9341.c.o
[ 60%] Building C object CMakeFiles/sim-base.dir/lv_drivers/display/GC9A01.c.o
[ 60%] Building C object CMakeFiles/sim-base.dir/lv_drivers/display/R61581.c.o
[ 60%] Building C object CMakeFiles/sim-base.dir/lv_drivers/display/SHARP_MIP.c.o
[ 60%] Building C object CMakeFiles/sim-base.dir/lv_drivers/display/SSD1963.c.o
[ 61%] Building C object CMakeFiles/sim-base.dir/lv_drivers/display/ST7565.c.o
[ 61%] Building C object CMakeFiles/sim-base.dir/lv_drivers/display/UC1610.c.o
[ 61%] Building C object CMakeFiles/sim-base.dir/lv_drivers/display/drm.c.o
[ 61%] Building C object CMakeFiles/sim-base.dir/lv_drivers/gtkdrv/gtkdrv.c.o
[ 62%] Building C object CMakeFiles/sim-base.dir/lv_drivers/display/fbdev.c.o
[ 62%] Building C object CMakeFiles/sim-base.dir/lv_drivers/display/monitor.c.o
[ 62%] Building C object CMakeFiles/sim-base.dir/lv_drivers/indev/AD_touch.c.o
[ 63%] Building C object CMakeFiles/sim-base.dir/lv_drivers/indev/FT5406EE8.c.o
[ 63%] Building C object CMakeFiles/sim-base.dir/lv_drivers/indev/XPT2046.c.o
[ 63%] Building C object CMakeFiles/sim-base.dir/lv_drivers/indev/evdev.c.o
[ 63%] Building C object CMakeFiles/sim-base.dir/lv_drivers/indev/keyboard.c.o
[ 64%] Building C object CMakeFiles/sim-base.dir/lv_drivers/indev/libinput.c.o
[ 64%] Building C object CMakeFiles/sim-base.dir/lv_drivers/indev/mousewheel.c.o
[ 64%] Building C object CMakeFiles/sim-base.dir/lv_drivers/indev/mouse.c.o
[ 64%] Building C object CMakeFiles/sim-base.dir/lv_drivers/win_drv.c.o
[ 65%] Building C object CMakeFiles/sim-base.dir/lv_drivers/win32drv/win32drv.c.o
[ 65%] Building CXX object CMakeFiles/sim-base.dir/sim/FreeRTOS.cpp.o
[ 66%] Building CXX object CMakeFiles/sim-base.dir/sim/timers.cpp.o
[ 66%] Building CXX object CMakeFiles/sim-base.dir/sim/task.cpp.o
[ 66%] Building CXX object CMakeFiles/sim-base.dir/sim/queue.cpp.o
[ 66%] Building CXX object CMakeFiles/sim-base.dir/sim/portmacro_cmsis.cpp.o
[ 67%] Building CXX object CMakeFiles/sim-base.dir/sim/nrfx/hal/nrf_gpio.cpp.o
[ 67%] Building CXX object CMakeFiles/sim-base.dir/sim/libraries/delay/nrf_delay.cpp.o
[ 67%] Building CXX object CMakeFiles/sim-base.dir/sim/libraries/timer/app_timer.cpp.o
[ 67%] Building CXX object CMakeFiles/sim-base.dir/sim/nrfx/hal/nrf_rtc.cpp.o
[ 68%] Linking CXX static library libsim-base.a
[ 68%] Built target sim-base
[ 68%] Building CXX object CMakeFiles/littlefs-do.dir/InfiniTime/src/components/fs/FS.cpp.o
[ 68%] Building CXX object CMakeFiles/littlefs-do.dir/InfiniTime/src/components/settings/Settings.cpp.o
[ 68%] Building CXX object CMakeFiles/littlefs-do.dir/sim/drivers/SpiMaster.cpp.o
[ 70%] Building CXX object CMakeFiles/littlefs-do.dir/sim/drivers/SpiNorFlash.cpp.o
[ 70%] Building CXX object CMakeFiles/littlefs-do.dir/littlefs-do-main.cpp.o
[ 70%] Building CXX object CMakeFiles/littlefs-do.dir/InfiniTime/src/drivers/Spi.cpp.o
Beginning conversion of /home/romain/PineTime/InfiniSim/InfiniTime/src/resources/images/pine_logo.png
[ 70%] Built target GenerateResources
[ 70%] Building CXX object CMakeFiles/infinisim.dir/sim/displayapp/LittleVgl.cpp.o
[ 70%] Building CXX object CMakeFiles/infinisim.dir/sim/displayapp/screens/Missing.cpp.o
[ 71%] Building CXX object CMakeFiles/infinisim.dir/main.cpp.o
[ 72%] Building CXX object CMakeFiles/infinisim.dir/sim/components/battery/BatteryController.cpp.o
[ 72%] Building CXX object CMakeFiles/infinisim.dir/sim/components/ble/AlertNotificationService.cpp.o
[ 72%] Building CXX object CMakeFiles/infinisim.dir/sim/components/ble/MusicService.cpp.o
[ 72%] Building CXX object CMakeFiles/infinisim.dir/sim/components/ble/NavigationService.cpp.o
[ 73%] Building CXX object CMakeFiles/infinisim.dir/sim/components/ble/NimbleController.cpp.o
[ 73%] Building CXX object CMakeFiles/infinisim.dir/sim/components/ble/weather/WeatherService.cpp.o
[ 73%] Building CXX object CMakeFiles/infinisim.dir/sim/components/brightness/BrightnessController.cpp.o
[ 73%] Building CXX object CMakeFiles/infinisim.dir/sim/components/firmwarevalidator/FirmwareValidator.cpp.o
[ 74%] Building CXX object CMakeFiles/infinisim.dir/sim/components/heartrate/HeartRateController.cpp.o
[ 74%] Building CXX object CMakeFiles/infinisim.dir/sim/components/motion/MotionController.cpp.o
[ 74%] Building CXX object CMakeFiles/infinisim.dir/sim/drivers/Watchdog.cpp.o
[ 75%] Building CXX object CMakeFiles/infinisim.dir/sim/drivers/Bma421.cpp.o
[ 75%] Building CXX object CMakeFiles/infinisim.dir/sim/drivers/Cst816s.cpp.o
[ 75%] Building CXX object CMakeFiles/infinisim.dir/sim/drivers/Hrs3300.cpp.o
[ 75%] Building CXX object CMakeFiles/infinisim.dir/sim/drivers/SpiMaster.cpp.o
[ 76%] Building CXX object CMakeFiles/infinisim.dir/sim/drivers/TwiMaster.cpp.o
[ 76%] Building CXX object CMakeFiles/infinisim.dir/sim/drivers/SpiNorFlash.cpp.o
[ 77%] Linking CXX executable littlefs-do
[ 77%] Building CXX object CMakeFiles/infinisim.dir/sim/heartratetask/HeartRateTask.cpp.o
[ 77%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/Alarm.cpp.o
[ 78%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/ApplicationList.cpp.o
[ 78%] Built target littlefs-do
[ 78%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/BatteryIcon.cpp.o
[ 78%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/BatteryInfo.cpp.o
[ 80%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/BleIcon.cpp.o
[ 80%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/CheckboxList.cpp.o
[ 80%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/Clock.cpp.o
[ 80%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/Error.cpp.o
[ 81%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/FirmwareUpdate.cpp.o
[ 81%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/FirmwareValidation.cpp.o
[ 81%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/FlashLight.cpp.o
[ 81%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/HeartRate.cpp.o
[ 82%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/InfiniPaint.cpp.o
[ 82%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/Label.cpp.o
[ 82%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/List.cpp.o
[ 82%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/Metronome.cpp.o
[ 83%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/Motion.cpp.o
[ 83%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/Music.cpp.o
[ 83%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/Navigation.cpp.o
[ 84%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/NotificationIcon.cpp.o
[ 84%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/Notifications.cpp.o
[ 84%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/Paddle.cpp.o
[ 84%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/PassKey.cpp.o
[ 85%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/Screen.cpp.o
[ 85%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/Steps.cpp.o
[ 85%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/StopWatch.cpp.o
[ 85%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/Styles.cpp.o
[ 86%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/SystemInfo.cpp.o
[ 86%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/Tile.cpp.o
[ 86%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/Timer.cpp.o
[ 87%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/Twos.cpp.o
[ 87%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/WatchFaceAnalog.cpp.o
[ 87%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/WatchFaceCasioStyleG7710.cpp.o
[ 87%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/WatchFaceDigital.cpp.o
[ 88%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/WatchFaceInfineat.cpp.o
[ 88%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/WatchFacePineTimeStyle.cpp.o
[ 88%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/WatchFaceTerminal.cpp.o
[ 88%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/Weather.cpp.o
[ 90%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/settings/QuickSettings.cpp.o
[ 90%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/settings/SettingBluetooth.cpp.o
[ 90%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/settings/SettingChimes.cpp.o
[ 91%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/settings/SettingDisplay.cpp.o
[ 91%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/settings/SettingSetDate.cpp.o
[ 91%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/settings/SettingSetTime.cpp.o
[ 91%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/settings/SettingShakeThreshold.cpp.o
[ 92%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/settings/SettingSteps.cpp.o
[ 92%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/settings/SettingTimeFormat.cpp.o
[ 92%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/settings/SettingWakeUp.cpp.o
[ 92%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/settings/SettingWatchFace.cpp.o
[ 93%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/screens/settings/Settings.cpp.o
[ 93%] Building C object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/icons/bg_clock.c.o
[ 93%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/widgets/Counter.cpp.o
[ 94%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/widgets/PageIndicator.cpp.o
[ 94%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/widgets/StatusIcons.cpp.o
[ 94%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/BootloaderVersion.cpp.o
/home/romain/PineTime/InfiniSim/InfiniTime/src/BootloaderVersion.cpp: In static member function ‘static void Pinetime::BootloaderVersion::SetVersion(uint32_t)’:
/home/romain/PineTime/InfiniSim/InfiniTime/src/BootloaderVersion.cpp:36:15: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint32_t’ {aka ‘unsigned int’} [-Wformat=]
   36 |            "%ld.%ld.%ld",
      |             ~~^
      |               |
      |               long int
      |             %d
   37 |            BootloaderVersion::Major(),
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                    |
      |                                    uint32_t {aka unsigned int}
/home/romain/PineTime/InfiniSim/InfiniTime/src/BootloaderVersion.cpp:36:19: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint32_t’ {aka ‘unsigned int’} [-Wformat=]
   36 |            "%ld.%ld.%ld",
      |                 ~~^
      |                   |
      |                   long int
      |                 %d
   37 |            BootloaderVersion::Major(),
   38 |            BootloaderVersion::Minor(),
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                    |
      |                                    uint32_t {aka unsigned int}
/home/romain/PineTime/InfiniSim/InfiniTime/src/BootloaderVersion.cpp:36:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘uint32_t’ {aka ‘unsigned int’} [-Wformat=]
   36 |            "%ld.%ld.%ld",
      |                     ~~^
      |                       |
      |                       long int
      |                     %d
......
   39 |            BootloaderVersion::Patch());
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                    |
      |                                    uint32_t {aka unsigned int}
[ 94%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/Colors.cpp.o
[ 95%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/DisplayApp.cpp.o
[ 95%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/buttonhandler/ButtonHandler.cpp.o
[ 95%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/components/alarm/AlarmController.cpp.o
[ 95%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/components/ble/BleController.cpp.o
[ 96%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/components/datetime/DateTimeController.cpp.o
[ 96%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/components/settings/Settings.cpp.o
[ 96%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/components/ble/NotificationManager.cpp.o
[ 96%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/components/fs/FS.cpp.o
[ 97%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/components/motor/MotorController.cpp.o
[ 97%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/components/timer/TimerController.cpp.o
[ 97%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/drivers/Spi.cpp.o
[ 98%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/drivers/St7789.cpp.o
[ 98%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/touchhandler/TouchHandler.cpp.o
[ 98%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/systemtask/SystemTask.cpp.o
[ 98%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/systemtask/SystemMonitor.cpp.o
[100%] Building CXX object CMakeFiles/infinisim.dir/InfiniTime/src/displayapp/InfiniTimeTheme.cpp.o
In file included from /home/romain/PineTime/InfiniSim/InfiniTime/src/components/datetime/DateTimeController.cpp:3:
/home/romain/PineTime/InfiniSim/InfiniTime/src/components/datetime/DateTimeController.cpp: In member function ‘void Pinetime::Controllers::DateTime::SetTime(uint16_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint32_t)’:
/home/romain/PineTime/InfiniSim/InfiniTime/src/components/datetime/DateTimeController.cpp:48:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘Pinetime::Controllers::DateTime::Months’ [-Wformat=]
   48 |   NRF_LOG_INFO("* %d %d %d ", this->day, this->month, this->year);
      |                ^~~~~~~~~~~~~             ~~~~~~~~~~~
      |                                                |
      |                                                Pinetime::Controllers::DateTime::Months
/home/romain/PineTime/InfiniSim/sim/libraries/log/nrf_log.h:56:66: note: in definition of macro ‘NRF_LOG_INFO’
   56 | #define NRF_LOG_INFO(...)         do {printf("info:  "); printf( __VA_ARGS__ ); printf("\n"); } while(false);
      |                                                                  ^~~~~~~~~~~
/home/romain/PineTime/InfiniSim/InfiniTime/src/components/datetime/DateTimeController.cpp:48:23: note: format string is defined here
   48 |   NRF_LOG_INFO("* %d %d %d ", this->day, this->month, this->year);
      |                      ~^
      |                       |
      |                       int
[100%] Linking CXX executable infinisim
[100%] Built target infinisim
rcaneill commented 2 years ago

I don't know why, but running with the status windows raised directly a seg fault, I then tried without the status window and it worked fine. I then retried with the status window and it works fine...

NeroBurner commented 2 years ago

That's odd ... Closing this issue for now. Please reopen if the segfaults return

SteveAmor commented 1 year ago

I have the same problem. --hide-status worked for me. Strangely, I then ran the simulator without the hide-status straight after and it didn't get the segfault. Closing the terminal window sometimes fixed it. Looks like there is a race condition? I'm on an old T420 running Ubuntu 22.04 with https://github.com/InfiniTimeOrg/InfiniSim/commit/02f2cc5a05292f16ced26d2577c5479e9528ba78 InfiniSim.