The idea behind Lazarus is write once, compile anywhere.  So I've been working 
on a few projects that unfortunately make that philosophy a bit of a stretch 
(polite term).  Programs written and compiled under windows didn't even compile 
properly on a Pi or Beagle.
 
The thing about fpcupdeluxe is that it's an interface that lets you choose a 
specific version of both FPC and Lazarus.
For example, "sudo apt install lazarus" gets version 1.6.7 I believe.
 
But when you install it for a windows PC you get 2.0.10.  With the fpcupdeluxe 
I was able to get and build that specific version for both the Beagle and the 
Pi.  After that, since the libraries now matched, the applications compiled and 
ran.  Although still not exactly the same.
 
Graphical components appear to have an issue.  What works on Windows doesn't 
work correctly on the Beagle or Pi.  So I tried it on the LinuxCNC pc with rev 
1.6.7.  Same problem there so it's an issue with an object descended from 
TGraphicControl.  
TjdSevenSegDisplay = class(TGraphicControl)...
 
Note in the photo when the component rectangle on which the segments are placed 
is dragged away from the 0,0 corner the segments don't come with nor do they 
resize correctly when the rectangle is expanded.  On windows it works 
perfectly.  On Linux it doesn't.  The 6 digit display doesn’t have the problem 
so I'm on track for trying to figure out what's different at the base level of 
the component design.
 
cid:image001.png@01D73BB9.185437C0
 
Anyway, that's why I want to be able to install the same version on full sized 
Linux system since I can't break the component on the WIN-7 or WIN-10 PCs and 
it takes way to long using a Pi or Beagle as the working desktop PC to do 
anything.
 
And in the long run one of my goals is to develop some graphical based tools 
that run on Windows and LinuxCNC for machine control with CAN bus.  That the 
sockets.pp interface for Lazarus is behind the sockets.c is another issue with 
socketCAN not yet supported by Lazarus.
 
John
 
 
> -----Original Message-----
> From: Jon Elson [mailto:el...@pico-systems.com]
> Sent: April-28-21 8:24 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] reducing rigid tapping overshoot
> 
> On 04/28/2021 01:53 AM, John Dammeyer wrote:
> > I'm running LinuxCNC 2.7 on a PC.  Which of these would I select for that?
> >
> >  <https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/1.8.2r> 
> > https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/1.8.2r
> >
> >
> I'm not sure you need any of these.  Most Linux installs
> have fpc in their software library, it can be installed with
> something like :
> 
> sudo apt install fpc
> 
> sudo dpkg -i fpc
> 
> Jon
> 
> 
> _______________________________________________
> Emc-users mailing list
>  <mailto:Emc-users@lists.sourceforge.net> Emc-users@lists.sourceforge.net
>  <https://lists.sourceforge.net/lists/listinfo/emc-users> 
> https://lists.sourceforge.net/lists/listinfo/emc-users
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to