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:
and does not load the file.PROJECTS macro in project group file missing or incorrect
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};
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?