Lazarus On The Raspberry Pi lazarus / 1-Linux ---------------------------------------------------------------------- zogtrog · 2012-12-26 23:02 Hi I am very keen to use Lazarus with the Raspberry pi and I have had some success porting Delphi Win 32 programs first over to Lazarus on a i386 then from there to armhf. I managed to port a program that read serial data from a garmin etrex and then to compute easting and westing coordinates. Currently lazarus version 0.934 is available on the pi, but I have had difficulties getting version 1.04  to compile on the pi. One of the problems in that the linker complains of is that it has run out of memory. My ideal solution would be to run Lazarus on a more powerfull pc and the cross compile and the remotely debug programs on the arm architecture on the pi. I have also managed to get the kambi castle game engine running on win32 and debian wheezy i386, but I haven't managed to port the engine over to the pi yet, as I can't install Lazarus version 1.04 yet. My goal is to try to use the game engine as a front end for the pi instead of the standard desktop. ---------------------------------------------------------------------- fredycc · 2012-12-26 23:48 Quote from: zogtrog on December 27, 2012, 12:02:47 amMy ideal solution would be to run Lazarus on a more powerfull pc and the cross compile and the remotely debug programs on the arm architecture on the pi. I like the idea too, in my case I use CodeTyphon on Mint i386 and compile for Raspberry Pi (Raspbian) successfully. But I don't have idea how to debug remotely.  Quote from: zogtrog on December 27, 2012, 12:02:47 amCurrently lazarus version 0.934 is available on the pi, but I have had difficulties getting version 1.04  to compile on the pi. Version 0.934 install and works ok too but I have not tried to install the latest version manually  I am currently working with a Magtek card reader and libusb-1.0. Regards ---------------------------------------------------------------------- rossetti73 · 2013-02-15 12:34 HI Aslo  my is compile on PC Win32 and after cross compile to Raspberry Pi. Is possible with Lazarus? Some can help me to realize this? Best regards ---------------------------------------------------------------------- Leledumbo · 2013-02-15 17:13 QuoteAslo  my is compile on PC Win32 and after cross compile to Raspberry Pi. Is possible with Lazarus? Some can help me to realize this?Why cross compile (esp. since you're on Windows, targeting *nix is not a trivial task. Unless you're willing to struggle "a bit")? Lazarus runs natively on RPi so it's better to get it from RPi repo. ---------------------------------------------------------------------- Sternas Stefanos · 2013-02-15 17:24 Quote from: rossetti73 on February 15, 2013, 01:34:51 pmHI Aslo  my is compile on PC Win32 and after cross compile to Raspberry Pi. Is possible with Lazarus? Some can help me to realize this? Best regards NO, it's NOT possible ---------------------------------------------------------------------- local-vision · 2015-09-25 13:27 Perhaps outdated, but the approach that I applied was to simply: 1. develop on a Win or Mac machine 2. copy the project onto the RPi 3. Re-compile the project on the RPi using Lazarus Some small tweaks may be required to compile on the RPi. Yet this was always minimal. Lazarus performed outstanding. It did not seem to matter what machine/OS I used...it just worked. I also wrote an article about the project and open-sourced it. See: http://heywhatsthebigidea.net/projects/pi-vision-a-raspberry-pi- camera-controller/ ---------------------------------------------------------------------- ghamm · 2015-09-25 16:42 Thats a cool project.. Im working on some similar stuff with Pi and pascal. We have a group on Facebook where we talk about stuff like this .. You can see it if you search for  "free pascal Raspberry" on facebook