Page 1 of 1

Zeos 8.0.0.0, Arm64, raspbian

Posted: 25.10.2024, 01:52
by marko
Hello,
I can't compile Zeos 8 on raspbian Arm64.
It fails on ZAbstractRODataset(5929,3) Error: Expected another 1 array Element.
the routine is CheckFieldCompatibility(Field: TField; AfieldDef: TFieldDef);

It looks like some compiler directive is missing and the the supported field types aren't correctly being defined.

Forcing ftSingle allows it to compile.
{$IFDEF FPC} //addition types for FPC
, ftWideString{ftFixedWideChar}, ftWideMemo // 38..39
{$IFDEF WITH_FTLONGWORD}
, ftTimeStamp{ftOraTimeStamp}, ftDateTime{ftOraInterval} //40..41
, ftLongWord, ftShortint, ftByte, ftExtended //42..45
{$IFDEF WITH_FTSINGLE}
, ftSingle
{$ENDIF}
,ftSingle
{$ENDIF}

Lazarus is built from source using fpcupdeluxe
lazarus Version 3.7
FPC 3.2.3
zeos install via Online package manager



thanks
marko

Re: Zeos 8.0.0.0, Arm64, raspbian

Posted: 25.10.2024, 09:28
by marsupilami
Hello marko,

Zeos 8.0 is a point release and only works with FPC 3.2.2. If you want or need to use a newer fpc version, please try the 8.0-patches branch from Subversion or Github.

Best regards,

Jan