frameos icon indicating copy to clipboard operation
frameos copied to clipboard

Compile error on Raspi Zero 2 W

Open vibin18 opened this issue 2 months ago • 1 comments

First of all happy to see this project, amazing work! Bought my waveshare 7.3inch E Ink Spectra 6 after seeing this project :)

Fails building on Raspi Zero 2 W with Raspbian 1:6.12.47-1+rpt1 (2025-09-16) armv7l GNU/Linux (Raspbian GNU/Linux 13)

FrameOs backend : main-9ecb815 and the latest main-8336d12, but both failed with below error:

Scene: iCal agenda FrameOS Galleries

Nim Output /tmp/nimble_77/githubcom_xmonadernimassets_0.2.4_d06724dd7b80fb470542ab932f3a94af78fe2eb1/src/nimassets.nim(3, 8) Warning: use the nimble packages malebolgia, taskpoolsorweave instead; threadpool is deprecated [Deprecated] 2025-11-10 23:05:45 Executing task assets in /tmp/tmp22p0_6_2/frameos/frameos.nimble 2025-11-10 23:05:47 assets/compiled/web/control.html ... ok 2025-11-10 23:05:47 assets/compiled/web/index.html ... ok 2025-11-10 23:05:47 assets/compiled/fonts/Ubuntu-Regular.ttf ... ok 2025-11-10 23:05:47 Info: "nimble.paths" is updated. 2025-11-10 23:05:48 Info: "config.nims" is already set up. 2025-11-10 23:05:48 Hint: used config file '/opt/nim/config/nim.cfg' [Conf] 2025-11-10 23:05:48 Hint: used config file '/opt/nim/config/config.nims' [Conf] 2025-11-10 23:05:48 Hint: used config file '/tmp/tmp22p0_6_2/frameos/nim.cfg' [Conf] 2025-11-10 23:05:48 Hint: used config file '/tmp/tmp22p0_6_2/frameos/config.nims' [Conf] 2025-11-10 23:06:02 .......................................................................................................................................................................................................................................................................................................................... 2025-11-10 23:06:02 /tmp/tmp22p0_6_2/frameos/src/apps/data/beRecycle/app_loader.nim(75, 39) Error: type mismatch: got 'int64' for 'asInt(value)' but expected 'int' 2025-11-10 23:06:02 The command exited with status 1 2025-11-10 23:06:02 Error in src/apps/data/beRecycle/app_loader.nim:75:39 2025-11-10 23:06:02 Line 75: app.appConfig.number = value.asInt() 2025-11-10 23:06:02 ...............................................^

vibin18 avatar Nov 10 '25 22:11 vibin18

Hey, I read that you're using "armv7l", which is the 32-bit ARM version. The Raspberry Pi Zero W2 is a 64-bit CPU, the regular Zero W (not 2, just no number) is a 32-bit CPU. Up until this PR (merged just now), there was a problem with compiling FrameOS for 32-bit CPUs. I've since fixed it and everything should work again.

However, if your Pi is a Zero W2, I do recommend installing the 64-bit Raspberry Pi OS on it. Things should generally work a bit better then.

mariusandra avatar Nov 23 '25 12:11 mariusandra