[Lazarus] Lazarus - Cant compile ZeosDBO

Terry A. Haimann terry at haimann.us
Sun Sep 19 23:39:01 CEST 2021


I just bought a new laptop and tring to set up Lazarus.  The problem is
installing ZeosDBO into Lazarus.   

This is on Linux Mint/Mate 20.2 on an i5-1135G7

fpc -v
Free Pascal Compiler version 3.2.0 [2020/07/07] for x86_64
Copyright (c) 1993-2020 by Florian Klaempfl and others
Fatal: No source file name in command line
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode

Lazarus Ver 2.0.12
Date 2021-02-21

/home/terry/ZeosDBO/src/plain/ZPlainFirebirdDriver.pas(249,26) Error:
(5042) No matching implementation for interface method
"Initialize(const AnsiString);" found
/home/terry/ZeosDBO/src/plain/ZPlainFirebirdDriver.pas(249,26) Error:
(5042) No matching implementation for interface method
"Initialize(const AnsiString);" found
/home/terry/ZeosDBO/src/plain/ZPlainFirebirdDriver.pas(528,1) Fatal:
(10026) There were 2 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode

I am getting two errors when trying to compile and this seems to be the
line it is complaining about:

 TZFirebirdBaseDriver = class (TZAbstractPlainDriver, IZPlainDriver,
    IZInterbasePlainDriver)
    FIREBIRD_API : TZFIREBIRD_API; 

I ran startlazarus as root and then did a 

Package->Open Package File(lpk)

I then pointed it to ZeosDBO/packages/lazarus/zcomponent.lpk and
clicked compile button.  The file it is failing on is
ZPlainFirebirdDriver.

Thanks for your attention.






More information about the lazarus mailing list