fluisgirardi / pascalscada_v0

GNU Lesser General Public License v2.1
33 stars 13 forks source link

Compiling And Installing LPK file did not succeed to Lazarus 3.0 on Windows 11 #8

Open k-s-saki opened 2 months ago

k-s-saki commented 2 months ago

I downloaded PascalSCADA , and tried to install to Lazarus Version 3.0/FPC 3.2.2 on Windows 11. But Compiling LPK file did not succeed.

Error message is this.

bgrautf8.pas(9,49) Error: Cannot find lazutf8classes used by BGRAUTF8 of package BGRABitmapPack.

I tried both version ( PascalSCADA_0.7.5==SourceForge and pascalscada_v0-master== GitHub ), I got the same result.

What should I do to install PascalSCADA to my environment?

fluisgirardi commented 2 months ago

Did you try install using this instructions?

https://www.pascalscada.com/pb/2017/04/04/pascalscada-on-opm-repository/

k-s-saki commented 2 months ago

Thanks, I tried it right now.

The download link for OPM in that instruction was not available. So I used new OPM now built in Lazarus 3.0 and found PascalSCADA 0.7.7 ( Is this newer than SourceForge repository or Github?) on it.

But I still got another compile error in pascalscada_db.

hmidbconnection_dsgn.pas(8,22) Error: Cannot find ZPropertyEditor used by hmidbconnection_dsgn of package pascalscada_db.

I could see some warnings while compiling PascalSCADA by OPM.

Lazarus Ver 3.0 (or Win11) is not recomended for using PascalSCADA?

fluisgirardi commented 2 months ago

Take a screenshot of your Lazarus About screen

k-s-saki commented 2 months ago

Thanks.

Here. image

Lazarus 3.0 (rev lazarus_3_0) FPC 3.2.2 x86_64-win64-win32/win64

fluisgirardi commented 2 months ago

I dont have access to any W11 machine, but I have access to a W10. Give me some time. I'll test.

fluisgirardi commented 1 month ago

Since yesterday, I have a machine with W11 Home on my hands. I have to do two tests on this machine, so I'll use it to test Lazarus+PascalScada on this environment and report soon as possible.

fluisgirardi commented 1 month ago

Hi!

First of all, replying your question, the place to get the most updated PascalSCADA version is OPM. Clonning github repository isn' t recommended.

Well, after some investigation, I found the problem when installing PascalSCADA throught OPM: ZeosLib (one dependency of PascalSCADA) has been updated to version 8.0 on OPM. This version breaks the current PascalSCADA OPM installer, but is easier to fix. When installing through OPM instead of select the entire PascalSCADA package, open it and select one by one, except pascalscada_db.lpk package, as showed bellow

image

After that, just click on Install button