7.2.4 install and build problems

The forum for ZeosLib 7.2 Report problems. Ask for help, post proposals for the new version and Zeoslib 7.2 features here. This is a forum that will be edited once the 7.2.x version goes into RC/stable!!

My personal intention for 7.2 is to speed up the internals as optimal a possible for all IDE's. Hope you can help?! Have fun with testing 7.2
Post Reply
tomp123
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 01.04.2018, 23:21

7.2.4 install and build problems

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

Re: 7.2.4 install and build problems

Post 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
geert
Fresh Boarder
Fresh Boarder
Posts: 14
Joined: 17.08.2005, 09:16
Location: Belgium
Contact:

Re: 7.2.4 install and build problems

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