Download the latest version of ZeosLib

ZeosLib Downloads

Moderator: gto

Post Reply
EsequiasTorres
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: 19.11.2018, 02:58

Download the latest version of ZeosLib

Post by EsequiasTorres »

I am using the Synopse mORMot Framework (https://github.com/synopse/mORMot) and in the documentation (https://synopse.info/files/html/Synopse ... ml#TITL_94) it is recommended to use ZEOS to access databases.

I have downloaded the latest version of ZeosLib from https://github.com/GabrielF7/ZeosLib and the project description indicates that it is a mirror of the official repository hosted at http://svn.code.sf.net/p/zeoslib/code-0, however, this forum indicates that the download link is https://sourceforge.net/projects/zeoslib/files/, I have compared the source code hosted at GitHub with the source code hosted at SourceForge and the one at GitHub seems to be more up to date.

I followed this guide http://www.intitec.com/varios/Como_install_ZeosLib.pdf, to configure ZeosLib in Delphi 7, with the source code downloaded from GitHub, however, when opening the ZeosDbo.bpg file in Delphi to compile and install the components, the following error appears:
PROJECTS macro in project group file missing or incorrect
and does not load the file.

I have checked some previous versions and I have been able to verify that the error is because the line break in the ZeosDbo.bpg file is not being interpreted correctly.

In Delphi, in the System.pas unit the following constant is declared:

Code: Select all

sLineBreak = {$IFDEF LINUX} #10 {$ENDIF} {$IFDEF MSWINDOWS} #13#10 {$ENDIF};
That is, the line break in Linux is different from the line break in Windows, it seems that the ZeosDbo.bpg file was edited in Linux and is therefore no longer compatible with Windows.

I opened the ZeosDbo.bpg file and added the line breaks as expected in Windows, then I was able to open the ZeosDbo.bpg file from Delphi and have been able to compile and install the ZeosLib components.

I would like to know if there is any other way to maintain compatibility with Windows?
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Download the latest version of ZeosLib

Post by marsupilami »

Hello,

I don't know who GabrielF7 is. His Github repository is unofficial by any means. This is no official source. An official release version can be downloaded from our files section on SourceForge (https://sourceforge.net/projects/zeoslib/files/). If you want to get the latest fixes for the current release, you can use the subversion repository: http://svn.code.sf.net/p/zeoslib/code-0. Please use the branches/7.2-patches subdirectory in that case for the stable release and the branches/7.3-testing subdirectory for the current bleeding edge of development.

Best regards,

Jan
Post Reply