Page 1 of 1

Compilation error

Posted: 03.12.2022, 09:20
by zhuyl
zeos.inc file

// Uncomment these defines to disable some DB drivers (reduce binary size)
{$DEFINE ZEOS_DISABLE_MYSQL}
{$DEFINE ZEOS_DISABLE_POSTGRESQL}
{.$DEFINE ZEOS_DISABLE_DBLIB}
{$DEFINE ZEOS_DISABLE_ADO}
{$DEFINE ZEOS_DISABLE_INTERBASE}
{$DEFINE ZEOS_DISABLE_FIREBIRD}
{.$DEFINE ZEOS_DISABLE_SQLITE}
{$DEFINE ZEOS_DISABLE_ORACLE}
{$DEFINE ZEOS_DISABLE_ASA}
{$DEFINE ZEOS_DISABLE_SQLANY}
{.$DEFINE ZEOS_DISABLE_POOLED}
{$DEFINE ZEOS_DISABLE_OLEDB}
{$DEFINE ZEOS_DISABLE_ODBC}
{$DEFINE ZEOS_DISABLE_PROXY}
{$DEFINE ZEOS_PROXY_USE_INTERNAL_PROXY}

Uncomment as above, error occurred during compilation.

Re: Compilation error

Posted: 04.12.2022, 12:41
by marsupilami
Hello zhuyl,

which compiler (FPC/Delphi) and compiler version do you use? Which error do you get?

{$DEFINE ZEOS_DISABLE_PROXY} and {$DEFINE ZEOS_PROXY_USE_INTERNAL_PROXY} are not meant to be used together. Also {$DEFINE ZEOS_PROXY_USE_INTERNAL_PROXY} isn't intended to be used with FPC.

With best rgeards,

Jan

Re: Compilation error

Posted: 05.12.2022, 10:24
by zhuyl
Hello jan,
{$DEFINE ZEOS_DISABLE_INTERBASE} and {$DEFINE ZEOS_DISABLE_FIREBIRD} Will cause compilation errors。Error unit:ZPlainFirebird 。
compiler: lazarus 2.2.2 and zeos8.0