Inkplate 6 build issues with complex examples like Weather Station

Customer:

I followed the Inkplate library installation procedure. The basic examples build and deploy fine, but examples like Hourly Weather Station cause problems because they have many files spread across multiple folders. Arduino IDE reports that it cannot find the files (fonts, icons, binary_icons, etc.). How do I fix this?

Original message (Croatian)

Slijedio sam proceduru instalacije InkPlate library-a. Osnovne primjere je moguce “build/deploy” medjutim primjeri poput Hourly Weather Station prave problem zbog velikog broja datoteka rasporedjenih u vise folder-a i Arduino IDE prijavljuje gresku kako datoteke nije moguce pronaci (fonts, icons, binary_icons i td.)

Kako rijesiti taj problem?

Originally submitted via email support on 1 December 2023. Migrated to the forum for community visibility.

Soldered Support:

We’ve heard of this issue. I think the problem is that when you open examples in Arduino IDE, they get moved to a new folder when you save them. Does the same error occur if you open Documents\Arduino\libraries\Inkplate-Arduino-library\examples\Inkplate6\Projects\Inkplate6_Daily_Weather_Station directly in the file explorer and double-click the .ino file to launch the example, then try to compile it? This should open it in exactly the right location, so the files that need to stay together (the .h files and other files that are included must always be in the same folder as the sketch being compiled) will remain properly located.

Try that. If it still doesn’t work, we’ll try another solution.

Original message (Croatian)

čuli smo za ovaj problem, mislim da je slučaj u tome da se example-ovi otvaraju i onda premještaju u novi folder kad se save-a. Dogodi li se ista greška ako otvoriš Documents\Arduino\libraries\Inkplate-Arduino-library\examples\Inkplate6\Projects\Inkplate6_Daily_Weather_Station baš u exploreru i dvoklikom na .ino file pokreneš example, i onda ga probaš compile-ati?

To bi ga trebalo otvoriti točno tamo gdje je i time će file-ovi koje treba ostati u istom folderu (uvijek je bitno da su ti .h i ostali file-ovi koji se include-aju u točno istom folderu kao sketch koji se compile-a).

Probaj to, ako to isto ne radi, probati ćemo s drugim rješenjem.

Customer:

Now the problem is that ArduinoJson.h is missing.

Original message (Croatian)

Ako ce pomoci … ovako izgleda folder iz kojeg sam pokrenuo:

Probao i sada je problem ArduinoJson.h koji nedostaje

Attachment omitted in migration: e9a2f25f.png

Attachment omitted in migration: 431d0913.png

Soldered Support:

Install the ArduinoJSON library from the Arduino library manager via Tools > Manage libraries, then search for Arduino JSON and install it. This should fix the compilation issues.

Original message (Croatian)

instaliraj ArduinoJSON library unutar Aruino library manager-a, preko izbornika Tools->Manage libraries, pa potraži Arduino JSON i instaliraj ga:

Ovo bi trebalo ukloniti probleme s compile-anjem.

Attachment omitted in migration: image.png