nighthawk2032 0 Posted June 16, 2022 (edited) Why isn't there a RPi linux ARM compilation yet? is there? Are there any plans for that? Edited June 16, 2022 by nighthawk2032 Share this post Link to post
corneliusdavid 214 Posted June 16, 2022 Here's a way to do it without the PAServer: https://learndelphi.org/how-to-develop-applications-for-the-raspberry-pi-with-delphi-11/ More information (a little older) about building apps for various small devices: https://blogs.embarcadero.com/delphi-on-raspberry-pi/ Share this post Link to post
nighthawk2032 0 Posted June 17, 2022 (edited) Thanks for the reply. I didn't, yet, watch the full video (just portions of it) - I will fully watch that to understand more. I did see this link before. Unfortunately, that doesn't seems to be 'true' Linux cross platform compilation. It uses several RPi features, such as I2C - but these are embedded within different components,. The solution seems to be Web oriented (even just by it's naming -- that is it's purpose).. not Linux 'true' Kernal compilation or GTK (for the GUI) use. It doesn't enable any use of the wide FMX abilities... and has it's own limited components (AFAIK) to label information on a Web Form.. In addition I am not sure how widely (if at all) it'll enable me to link to the so called, compiled product any additional Linux .so libraries, for use. But again, I don't know all the features of this solution, this is just a brief observation. I fail to understand fully. why Cross compilation is available for Windows-ARM, MacOS, and Linux x64.. but isn't available yet for Linux-ARM. Edited June 17, 2022 by nighthawk2032 Share this post Link to post
corneliusdavid 214 Posted June 17, 2022 Yeah, the first video is a web-based solution. I offered it in case it would interest you. The second link is a blog but contains a couple of videos and even though it's about 5 years old, contains a lot of information about the plethora of small system-on-a-chip computers. IIRC, it touches on why it's there isn't native compilation for that platform yet. As an alternative, you can put Android on a Raspberry Pi and then use Delphi to create an Android app deployed there. I've done it--and explain how in my book--and Jim McKeeth shows it in the video in that second link. Share this post Link to post
nighthawk2032 0 Posted June 17, 2022 (edited) There are of course various ways to use an IoT device with Delphi, such as Windows-IoT ( https://docs.microsoft.com/en-us/windows/iot-core/windows-iot-core ) or various Android Rpi Solutions ( which I tried, as you did, previously, and compiled for this solution as if it was an Android device)... but both of these examples aren't Linux compilation. And it forces using different environment, instead of continuing with Linux, which is more commonly used, than these two. The wide mature Linux environment enables running various servers on RPi, a proper Delphi Linux ARM compilation will enable extending these services and will be highly useful. The wide libraries and solutions Linux IoT offers today, can not be compared to Android or Windows-ARM solution. Edited June 17, 2022 by nighthawk2032 Share this post Link to post
nighthawk2032 0 Posted June 17, 2022 (edited) Thought about using Lazarus as well 🙂 cause it is completely cross-platformed. But then, I won't have all the goodies of Delphi (FMX, Datasnap, ... etc) -- don't know if I am willing to drop all these just yet... Edited June 17, 2022 by nighthawk2032 Share this post Link to post
Fr0sT.Brutal 900 Posted June 17, 2022 1 hour ago, nighthawk2032 said: FMX, Datasnap sounds rather unrelated to RPi imho Share this post Link to post
nighthawk2032 0 Posted June 17, 2022 (edited) Cases such as using FMX: to make a Kiosk alike station (for example) or Datasnap: to use it as console REST server [these are the first two examples that pops to mind, not directly connected to RPi GPIO features or hardware extensions, you are defently right stating that, in some sense] Edited June 17, 2022 by nighthawk2032 Share this post Link to post
Fr0sT.Brutal 900 Posted June 20, 2022 There are plenty of options for building a REST server on Lazarus. mORMot, for instance. Or built-in webserver. Share this post Link to post
David Schwartz 426 Posted July 2, 2022 (edited) Check out TMS Software. They built an RPi app over Christmas and made an extensive case study of it. https://www.tmssoftware.com/site/blog.asp?post=872 Edited July 2, 2022 by David Schwartz Share this post Link to post