Recent

Author Topic: PascalScada installing  (Read 940 times)

comdora

  • New Member
  • *
  • Posts: 23
PascalScada installing
« on: May 18, 2025, 12:55:24 pm »
Hello
I'm a Delphi programmer, but I'm in the process of learning how to use Lazarus.
First of all I'm interested in using it on Raspberry Pi 2, 4, and 5 I'm currently trying to install components (specifically pascalscada) via an online installer and I get that I can't install pascalscada_db because it depends on ZComponent. When I looked in the Zeos component I noticed that it is also partially installed, because zcomponentdesign.lpk is not installed since it depends on IDEIntf, and I do not know where to look for IDEIntf and how to install it. I'm using Lazarus 2.2.6 + dfsg2-2 and PC version 3.2.2. This is what RPI5 installs by default using Add/Remove software.

Thanks in advance,
Bojan

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12266
  • FPC developer.
Re: PascalScada installing
« Reply #1 on: May 18, 2025, 01:22:08 pm »
Afaik IDE should come with that package, it is the equivalent of the tool api of Delphi. The API where packages and extensions communicate with the IDE.


Go to packages -> install packages and check the ideintf is in the left column. If not, install it. (I usually have "bigide", maybe it is part of that, and not of minimal IDE builds)

comdora

  • New Member
  • *
  • Posts: 23
Re: PascalScada installing
« Reply #2 on: May 18, 2025, 01:28:24 pm »
Thanks for your fast reply. Install list contains BuildIntf 1.0

comdora

  • New Member
  • *
  • Posts: 23
Re: PascalScada installing
« Reply #3 on: May 18, 2025, 01:29:48 pm »
And IDEIntf 1.0

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12266
  • FPC developer.
Re: PascalScada installing
« Reply #4 on: May 18, 2025, 02:05:47 pm »
Then why does the installation of zcomponent-design go wrong ?  What was the error?

comdora

  • New Member
  • *
  • Posts: 23
Re: PascalScada installing
« Reply #5 on: May 18, 2025, 02:25:31 pm »
Hi, Thanks for your response.
I've been trying to install the manually downloaded package, as the online installer only shows me that it's not installed. The error shown is "ZPropertyEditor.pas(70,5) Fatal: Cannot find PropEdits used by ZPropertyEditor. Make sure all ppu files of a package are in its output directory. ppu in wrong directory=/usr/lib/lazarus/2.2.6/components/ideintf/units/aarch64-linux/gtk2/propedits.ppu. Clean up package "IDEIntf".." Ctrl + LeftMouseButton opens PropEdits
Regards
Bojan

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12266
  • FPC developer.
Re: PascalScada installing
« Reply #6 on: May 18, 2025, 03:29:13 pm »

I'm slowly at the end of my knowledge, but try to check if the package has a dependency on ideintf in the package project. (.lpk) as in below screenshot.

Lazarus works slightly different (and IMHO a lot better) in that it doesn't stuff all paths to search for includes/units in some IDE wide "unit path", but in packages, which can depend on eachother.  This is more maintainable (your packages have less hardcoded paths, yet still work) but requires proper package dependencies.




af0815

  • Hero Member
  • *****
  • Posts: 1392
Re: PascalScada installing
« Reply #7 on: May 18, 2025, 06:23:50 pm »
The first step is, can Lazarus build a clean Lazarus without troubles. this must the first test.

The next step, can you use Zeos 7.x direct from the repository of Zeos ? As far i know, the new Zeos 8.x is not full compatible with PascalScada on all plattforms. (Can be changed in the last few month).

If you have troubles with buildinf and IDEIntf, this should only a problem in the first step, if you install Lazarus not from Source direct or with fpcupdeluxe. Sometimes the packages from the distribution have some ...hmm... specialities internal. Better is, to install Lazarus from Source in your userdir. NOT as root or with sudo.

regards
Andreas

jamie

  • Hero Member
  • *****
  • Posts: 6960
Re: PascalScada installing
« Reply #8 on: May 18, 2025, 10:24:44 pm »
my comment on this is, recent versions of PascalScada I have not successfully been able to install it, Zeos being one of the issues that is required to be install which btw also failed to install.

 Early versions of PascalScada did install but it suffered other issues of component size placement on the work form during design time, which I reported but never got addressed.

 So, in short, I've never have been successful in doing anything with it yet.

 It's not a deal breaker for me because I have my own Scada/HMI tool.

Jamie


  
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018