Page 1 of 1

Zeos (7.2.4 stable) cross compilation error

Posted: 04.02.2019, 18:44
by xinyiman
Hi guys, I have a problem. I installed the 2.1.0 version of lazarus (FPC: 3.3.1) on my 64-bit Windows laptop thanks to FPCupDeluxe. I installed everything necessary for cross-compilation to cocoa. In fact if I do a simple project like a form that displays the format Hello WOrld everything works. But when I insert a zeos component and do the cross compilation it tells me these errors:

Code: Select all

    
    Compile package IDEIntf 1.0: Abortito, avvertimenti: 1
    Warning: Option "-Xr" is ignored for the current target platform.
    Compile package zplain 7.2: Codice di uscita 1, Errori: 2, avvertimenti: 2
    Warning: Option "-Xr" is ignored for the current target platform.
    ZPlainFirebirdDriver.pas(262,15) Warning: An inherited method is hidden by "Initialize;"
    ZPlainFirebirdDriver.pas(250,26) Error: No matching implementation for interface method "Initialize(const AnsiString);" found
    ZPlainFirebirdDriver.pas(250,26) Error: No matching implementation for interface method "Initialize(const AnsiString);" found
Why? What am I doing wrong?

Re: Zeos (7.2.4 stable) cross compilation error

Posted: 05.02.2019, 18:05
by marsupilami
Hello xinyiman,

please check your Zeos.inc file and disable {$DEFINE INTERBASE_CRYPT} - this define should be obsolete by now.

Best regards,

Jan

Re: Zeos (7.2.4 stable) cross compilation error

Posted: 07.02.2019, 11:27
by xinyiman
thanks a lot