Recent

Author Topic: Lazarus On The Raspberry Pi  (Read 8299 times)

zogtrog

  • New Member
  • *
  • Posts: 20
Lazarus On The Raspberry Pi
« on: December 27, 2012, 12:02:47 am »
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. 8)

fredycc

  • Sr. Member
  • ****
  • Posts: 264
Re: Lazarus On The Raspberry Pi
« Reply #1 on: December 27, 2012, 12:48:05 am »
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 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.  :(

Currently 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

  • Newbie
  • Posts: 1
Re: Lazarus On The Raspberry Pi
« Reply #2 on: February 15, 2013, 01:34:51 pm »
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

  • Hero Member
  • *****
  • Posts: 8834
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Lazarus On The Raspberry Pi
« Reply #3 on: February 15, 2013, 06:13:08 pm »
Quote
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?
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

  • Full Member
  • ***
  • Posts: 170
  • Ex Pilot, M.Sc, Ph.D
    • http://www.pilotlogic.com
Re: Lazarus On The Raspberry Pi
« Reply #4 on: February 15, 2013, 06:24:17 pm »
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

NO, it's NOT possible
CodeTyphon Architect and Programmer

local-vision

  • Jr. Member
  • **
  • Posts: 77
Re: Lazarus On The Raspberry Pi
« Reply #5 on: September 25, 2015, 03:27:21 pm »
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

  • New Member
  • *
  • Posts: 29
Re: Lazarus On The Raspberry Pi
« Reply #6 on: September 25, 2015, 06:42:21 pm »
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

 

TinyPortal © 2005-2018