Page 1 of 1

Installation alfatest fails

Posted: 09.01.2009, 21:40
by shrimps
Hi,

i installed win32-Lazarus + fpc and got current zeos-files with svn. While installing ZComponents I get compileerrors:

Code: Select all

...........
C:\temp\zeos-beta\testing\src\component\ZAbstractRODataset.pas(73,22) Hint: Type "TUpdateStatusSet" redefinition
C:\temp\zeos-beta\testing\src\component\ZAbstractRODataset.pas(75,18) Hint: Type "EUpdateError" redefinition
C:\temp\zeos-beta\testing\src\component\ZDatasetUtils.pas(397,16) Error: identifier idents no member "DefaultExpression"
C:\temp\zeos-beta\testing\src\component\ZDatasetUtils.pas(567,19) Error: identifier idents no member "UpdateDefaultExpression"
C:\temp\zeos-beta\testing\src\component\ZDatasetUtils.pas(567,68) Error: identifier idents no member "GetColumnDefaultExpression"
C:\temp\zeos-beta\testing\src\component\ZDatasetUtils.pas(786,42) Hint: Local variable "Temp" does not seem to be initialized
C:\temp\zeos-beta\testing\src\component\ZDatasetUtils.pas(1463) Fatal: There were 3 errors compiling module, stopping
Just for info, perhaps the coders know what and why :)

Posted: 11.01.2009, 13:48
by mdaems
FPC and Lazarus versions?

Here it compiles fine on Lazarus SVN version and FPC 2.2.2.
Seems like you might use a quite old fpc version.

Mark

Posted: 12.01.2009, 17:25
by shrimps
pre-compiled binary for win32:
lazarus 0.9.26 + fpc 2.2.2 + current svn zeoslib

Perhaps it helps you...

Thanks a lot in advance.

Posted: 14.01.2009, 15:47
by mdaems
Was this the first Zeoslib version you ever tried to install on your machine? Seems like the TZColumnInfo object used in the line where the compiler halts doesn't know the new (!!) DefaultExpression property. Removing all old Z*.ppu and Z*.o files from your system might solve this.

Mark

Posted: 20.01.2009, 15:21
by shrimps
Hello Mark,

thank you very much for your answer. I searched and deleted the Z*.ppu and Z*.o files. Now i get the same errors while installing as in zeoslib 6:

Code: Select all

C:\lazarus\zeos\testing\src\plain\ZPlainLoader.pas(168,46) Error: Incompatible type for arg no. 1: Got "PChar", expected "PWideChar"
C:\lazarus\zeos\testing\src\plain\ZPlainLoader.pas(205,44) Error: Incompatible type for arg no. 2: Got "PChar", expected "PWideChar"
I tried to use {$IFDEF wince} and changed from PChar to PWideChard. So i can continue installing, but it halts on the next similar error...

Did i do something wrong when installing zeoslib?

Thanks a lot in advance...

Posted: 21.01.2009, 10:51
by mdaems
Hi shrimps,

I have no clue what de differences between FPC/Lazarus versions/defines for Wince, Windows and Linux are. So I can't really help with that. Looks like some functions expect different parameters on the different architectures. Is it the LoadLibrary and GetProcAddress calls that are complaining?

Mark