Page 1 of 1

7.2.4 install and build problems

Posted: 01.04.2018, 23:35
by tomp123
Hi,

I am new to ZeosLib and Delphi (familiar with C++ Builder).

I am having troubling building and installing ZeoLib 7.2.4 with Embarcadero® Delphi 10.2 Version 25.0.29899.2631 Starter version.

I managed to fix "package cannot be installed because it is not a design time package" package install problem problem for ZCore250.bpl by changing Usage Options from "Runtime only" to "Designtime and runtime".

Unfortunately however when i compile ZComponent.bpl it creates errors :
[dcc32 Error] ZComponent.dpk(58): E1030 Invalid compiler directive: '$ENDIF'
[dcc32 Fatal Error] ZAbstractConnection.pas(62): F2613 Unit 'ZDbcAdo' not found.

Can someone please help me fix these problems?

Best Regards
Tom

Re: 7.2.4 install and build problems

Posted: 03.04.2018, 09:01
by marsupilami
Hello Tom,
I managed to fix "package cannot be installed because it is not a design time package" package install problem problem for ZCore250.bpl by changing Usage Options from "Runtime only" to "Designtime and runtime".
This package really is only meant to be built but not installed. The only package to install is the ZComponentDesign package.
[dcc32 Error] ZComponent.dpk(58): E1030 Invalid compiler directive: '$ENDIF'
[dcc32 Fatal Error] ZAbstractConnection.pas(62): F2613 Unit 'ZDbcAdo' not found.
This one is more dubious. I will check it later today...

Best regards,

Jan

Re: 7.2.4 install and build problems

Posted: 02.07.2019, 15:41
by geert
I am also building for C++builder.

For the ZDbcAdo error, the reason appears to be that not all .pas files are included in the project files (I have only tested this in the packages/Delphi10.2 - directory).

To fix : I have opened the project group, changed the options for each of the projects to "generate all C++ - files" (since I am also using C++builder), and then opened the "contains"-element for each of the projects in the project view, and (right click) "added" all of the .pas files in the corresponding subdirectory (e.g. all src/dbc/*.pas files for the project Zdbc250, ...) . Except for the Component-project : you should not include the "ComponentDesign"-specific .pas-files.

I also had the "Invalid compiler directive" error, but I have simply deleted $ENDIF. I am not sure if I still got this error after I had added all .pas-files as described above.
[dcc32 Error] ZComponent.dpk(58): E1030 Invalid compiler directive: '$ENDIF'
[dcc32 Fatal Error] ZAbstractConnection.pas(62): F2613 Unit 'ZDbcAdo' not found.