PINE64
Can't build InfiniTime - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PineTime (https://forum.pine64.org/forumdisplay.php?fid=134)
+--- Forum: Development Discussion on PineTime (https://forum.pine64.org/forumdisplay.php?fid=136)
+--- Thread: Can't build InfiniTime (/showthread.php?tid=17628)



Can't build InfiniTime - Anonymous1 - 11-18-2022

I'm trying to build InfiniTime.  I can build InfiniSim but when I try to make it to flash to a watch, it has an error.



I've tried everything: copying the src folder from InfiniSim, installing lv_font_conv in a bunch of different directories, running the command in different folders, but I always get this error.
Code:
PROJECT_GIT_COMMIT_HASH_SUCCESS? 0

BUILD CONFIGURATION
-------------------
    * Mode : Release
    * Version : 1.11.0
    * Toolchain : ../../gcc-arm-none-eabi-10.3-2021.10
    * GitRef(S) : 38092fcb
    * NRF52 SDK : ../../nRF5_SDK_15.3.0_59ac345
    * Target device : PINETIME
    * Debug pins : Disabled
    * Build DFU (using adafruit-nrfutil) : Disabled
    * Build resources : Disabled
CMake Error at src/displayapp/fonts/CMakeLists.txt:4 (find_program):
  Could not find LV_FONT_CONV using the following names: lv_font_conv



RE: Can't build InfiniTime - matthewfelgate - 01-25-2023

I think you have to make sure `lv_font_conv` is installed on your computer.

Looks like there are some instructions here: https://github.com/InfiniTimeOrg/InfiniSim

Specifically `npm install lv_font_conv@1.5.2`