Compilation error

The offical for ZeosLib 7.3 Report problems, ask for help, post proposals for the new version of Zeoslib 7.3/v8
Quick Info:
-We made two new drivers: odbc(raw and unicode version) and oledb
-GUID domain/field-defined support for FB
-extended error infos of Firebird
-performance ups are still in queue
In future some more feature will arrive, so stay tuned and don't hassitate to help
Post Reply
zhuyl
Junior Boarder
Junior Boarder
Posts: 26
Joined: 22.11.2021, 09:09

Compilation error

Post 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.
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1939
Joined: 17.01.2011, 14:17

Re: Compilation error

Post 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
zhuyl
Junior Boarder
Junior Boarder
Posts: 26
Joined: 22.11.2021, 09:09

Re: Compilation error

Post 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
Post Reply