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
7.2.4 install and build problems
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: 7.2.4 install and build problems
Hello Tom,
Best regards,
Jan
This package really is only meant to be built but not installed. The only package to install is the ZComponentDesign package.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 one is more dubious. I will check it later today...[dcc32 Error] ZComponent.dpk(58): E1030 Invalid compiler directive: '$ENDIF'
[dcc32 Fatal Error] ZAbstractConnection.pas(62): F2613 Unit 'ZDbcAdo' not found.
Best regards,
Jan
Re: 7.2.4 install and build problems
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.
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.