Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error when building serverino on Raspberry Pi 4 #22

Closed
o3o opened this issue Jul 24, 2024 · 2 comments
Closed

Compilation error when building serverino on Raspberry Pi 4 #22

o3o opened this issue Jul 24, 2024 · 2 comments

Comments

@o3o
Copy link

o3o commented Jul 24, 2024

Description

When attempting to compile serverino on a Raspberry Pi 4, the following error occurs:

[mluser@mq serverino]$ dub build
Performing "debug" build using /usr/bin/ldc2 for arm, arm_hardfloat.
serverino 0.7.10: building configuration "lib"...
source/serverino/communicator.d(475,24): Error: cannot implicitly convert expression `this.file.size() + cast(ulong)headers.length` of type `ulong` to `uint`
source/serverino/interfaces.d(1427,89): Deprecation: integral promotion not done for `~MASK`, use '-preview=intpromote' switch or `~cast(int)(MASK)`
source/serverino/interfaces.d(1433,28): Deprecation: integral promotion not done for `~MASK`, use '-preview=intpromote' switch or `~cast(int)(MASK)`
source/serverino/interfaces.d(1443,28): Deprecation: integral promotion not done for `~MASK`, use '-preview=intpromote' switch or `~cast(int)(MASK)`

Environment

  • Hardware: Raspberry Pi 4
  • Operating System: Linux 5.10.60-1-ARCH Fix 32 bits build #1 SMP Sat Aug 21 14:56:38 UTC 2021 armv7l GNU/Linux
  • Compiler: LDC - the LLVM D compiler (1.27.1) based on DMD v2.097.2 and LLVM 12.0.1

Thank you

@trikko trikko closed this as completed in 280c8c3 Jul 24, 2024
trikko added a commit that referenced this issue Jul 24, 2024
@trikko
Copy link
Owner

trikko commented Jul 24, 2024

Grazie Orfeo :)

Domanda: perché usi la versione a 32 bit?

@o3o
Copy link
Author

o3o commented Jul 24, 2024

Ciao Andrea, innanzi lasciami complimentarmi per l'ottimo lavoro che hai fatto: e' veloce, leggero, ben documentato ed (cosa piu' importante) elegantemente scritto.
La raspberry comunica con dei dispositivi a microprocessore e purtroppo ne abbiamo centinaia in giro e devo mantenere la compatibilita'. La prossima versione uscira' a 64bit con server Rest implementato tramite il mitico Serverino.
Grazie ancora e buona serata

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants