derskythe / flipperzero-shapshup

Flipper Zero App
BSD 2-Clause "Simplified" License
20 stars 0 forks source link

Compilation problem on OFW #7

Open derskythe opened 1 year ago

derskythe commented 1 year ago
    APPCHK  build/f7-firmware-C/.extapps/snake_game.fap
    CC  applications_user/shapshup/helpers/shapshup_files.c
    CC  applications_user/shapshup/scenes/shapshup_scene.c
    CC  applications_user/shapshup/scenes/shapshup_scene_load_failed.c
    CC  applications_user/shapshup/scenes/shapshup_scene_load_file.c
    CC  applications_user/shapshup/scenes/shapshup_scene_start.c
    CC  applications_user/shapshup/views/shapshup_main_view.c
    CC  applications_user/shapshup/shapshup.c
applications_user/shapshup/views/shapshup_main_view.c: In function 'shapshup_main_view_draw_scale':
applications_user/shapshup/views/shapshup_main_view.c:484:29: error: 'FontBatteryPercent' undeclared (first use in this function)
  484 |     canvas_set_font(canvas, FontBatteryPercent);
      |                             ^~~~~~~~~~~~~~~~~~
applications_user/shapshup/views/shapshup_main_view.c:484:29: note: each undeclared identifier is reported only once for each function it appears in
    ICONS   build/f7-firmware-C/.extapps/shapshup/shapshup_icons.c
scons: *** [build/f7-firmware-C/.extapps/shapshup/views/shapshup_main_view.o] Error 1

********** FBT ERRORS **********
build/f7-firmware-C/.extapps/shapshup/views/shapshup_main_view.o: Error 1
Error: Process completed with exit code 2.

🔗 https://github.com/derskythe/flipperzero-shapshup/actions/runs/6208562495/job/16854877280

Task list

RogueMaster commented 1 year ago

Easy fix, change font to supported font in OFW...

derskythe commented 11 months ago

Easy fix, change font to supported font in OFW...

Ha-ha! No, not so easy: https://github.com/derskythe/flipperzero-shapshup/actions/runs/6752810895/job/18358610404

RogueMaster commented 11 months ago

When this issue was brought up on 9/16 that was the issue... now with API v44.0 there are other issues...

Like I said in the other issue, it was not a duplicate of this issue...

derskythe commented 10 months ago

Didn't fixed view of chart

derskythe commented 10 months ago
    CC  applications_user/shapshup/helpers/gui_top_buttons.c
    CC  applications_user/shapshup/helpers/shapshup_files.c
    CC  applications_user/shapshup/scenes/shapshup_scene.c
    CC  applications_user/shapshup/scenes/shapshup_scene_load_failed.c
    CC  applications_user/shapshup/scenes/shapshup_scene_load_file.c
    CC  applications_user/shapshup/scenes/shapshup_scene_start.c
    CC  applications_user/shapshup/views/shapshup_main_view.c
    CC  applications_user/shapshup/shapshup.c
applications_user/shapshup/shapshup.c: In function 'shapshup_show_loading_popup':
applications_user/shapshup/shapshup.c:167:9: error: implicit declaration of function 'furi_timer_set_thread_priority'; did you mean 'furi_thread_set_current_priority'? [-Werror=implicit-function-declaration]
  167 |         furi_timer_set_thread_priority(FuriTimerThreadPriorityElevated);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         furi_thread_set_current_priority
applications_user/shapshup/shapshup.c:167:40: error: 'FuriTimerThreadPriorityElevated' undeclared (first use in this function)
  167 |         furi_timer_set_thread_priority(FuriTimerThreadPriorityElevated);
      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
applications_user/shapshup/shapshup.c:167:40: note: each undeclared identifier is reported only once for each function it appears in
applications_user/shapshup/shapshup.c:171:40: error: 'FuriTimerThreadPriorityNormal' undeclared (first use in this function); did you mean 'FuriThreadPriorityNormal'?
  171 |         furi_timer_set_thread_priority(FuriTimerThreadPriorityNormal);
      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                        FuriThreadPriorityNormal
cc1: all warnings being treated as errors
scons: *** [build/f7-firmware-C/.extapps/shapshup/shapshup.o] Error 1

🔗 https://github.com/derskythe/flipperzero-shapshup/actions/runs/6762066143/job/18377819446

RogueMaster commented 10 months ago

The new UL bug should be fixed once UL updates