How to solve "Unable to open file 'ZABSTRACTCONNECTION.OBJ'" error?
How to solve "Unable to open file 'ZABSTRACTCONNECTION.OBJ'" error?
Hallo,
I installed zeosdbo-7.2.6.1-stable in Embarcadero C++ Builder 10.3.
At design time data are correctly read but when I try to compile this error appears:
[ilink32 Error] Fatal: Unable to open file 'ZABSTRACTCONNECTION.OBJ'
I found the source file but the obj file has not be created.
Could you kindly help me in solving the problem?
Thanks,
Federico
I installed zeosdbo-7.2.6.1-stable in Embarcadero C++ Builder 10.3.
At design time data are correctly read but when I try to compile this error appears:
[ilink32 Error] Fatal: Unable to open file 'ZABSTRACTCONNECTION.OBJ'
I found the source file but the obj file has not be created.
Could you kindly help me in solving the problem?
Thanks,
Federico
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: How to solve "Unable to open file 'ZABSTRACTCONNECTION.OBJ'" error?
Hello Federico,
on my System the ZAbstractConnection.obj can be found in packages\CBuilderXE10.4\Win32\Release\Lib. Did you follow the manual exactly?
Best regards,
Jan
on my System the ZAbstractConnection.obj can be found in packages\CBuilderXE10.4\Win32\Release\Lib. Did you follow the manual exactly?
Best regards,
Jan
Re: How to solve "Unable to open file 'ZABSTRACTCONNECTION.OBJ'" error?
Hallo Jan,
in C:\MyComponents\ZeosDBO\packages\CBuilderXE10.2\Win32\Release\Lib I have only bpi and lib files:
I can't find that obj file anywhere on the PC
And, yes... I followed the manual included in zeosdbo-7.2.6.1-stable.zip (package CBuilderXE10.2) exactly.
So does zeosdbo-7.2.6.1-stable work also in C++ Builder 10.4?
Thanks, ciao,
Federico
in C:\MyComponents\ZeosDBO\packages\CBuilderXE10.2\Win32\Release\Lib I have only bpi and lib files:
I can't find that obj file anywhere on the PC
And, yes... I followed the manual included in zeosdbo-7.2.6.1-stable.zip (package CBuilderXE10.2) exactly.
So does zeosdbo-7.2.6.1-stable work also in C++ Builder 10.4?
Thanks, ciao,
Federico
Last edited by Flattit on 25.06.2020, 14:10, edited 1 time in total.
Re: How to solve "Unable to open file 'ZABSTRACTCONNECTION.OBJ'" error?
And what do you have in staticobjs?
Michal
Michal
Re: How to solve "Unable to open file 'ZABSTRACTCONNECTION.OBJ'" error?
Hallo Michal,
the folder "staticobjs" contains these files:
Here https://www.dropbox.com/s/3rx6wweyya0m5 ... s.zip?dl=0 you find my "MyComponents" folder so, if you want, you can check its content to better see what's wrong.
Thanks, ciao,
Federico
the folder "staticobjs" contains these files:
Here https://www.dropbox.com/s/3rx6wweyya0m5 ... s.zip?dl=0 you find my "MyComponents" folder so, if you want, you can check its content to better see what's wrong.
Thanks, ciao,
Federico
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: How to solve "Unable to open file 'ZABSTRACTCONNECTION.OBJ'" error?
Hello Federico,
yes - the packages also seem to work on C++ Builder XE 10.4. Unfortunately I uninstalled C++ Builder XE 10.3 to get enough space for Delphi XE 10.4
I couldn't get my C++ Builder to not build obj files. So I can only assume that something is wrong with the distributed package files - or some modifications you did. Could you please check out the current Zeos 7.2 from SVN or download a snapshot of the current Zeos 7.2 SVN and try again? Please don't do any modifications to the packages before compiling. For a first test it should be enough to compile ZCore. That already should create some obj files in your lib folder.
Best regards,
Jan
yes - the packages also seem to work on C++ Builder XE 10.4. Unfortunately I uninstalled C++ Builder XE 10.3 to get enough space for Delphi XE 10.4
I couldn't get my C++ Builder to not build obj files. So I can only assume that something is wrong with the distributed package files - or some modifications you did. Could you please check out the current Zeos 7.2 from SVN or download a snapshot of the current Zeos 7.2 SVN and try again? Please don't do any modifications to the packages before compiling. For a first test it should be enough to compile ZCore. That already should create some obj files in your lib folder.
Best regards,
Jan
Re: How to solve "Unable to open file 'ZABSTRACTCONNECTION.OBJ'" error?
Hallo Jan,
when I end to compile the first 5 bpls of the project group "ZeosDbo" the folder C:\MyComponents\ZeosDBO\packages\CBuilderXE10.2\Win32\Release\Lib is full of dcu files, indluding "ZAbstractConnection.dcu".
I noticed that when I install "ZComponentDesign250.bpl" all the dcu files are deleted.
I solved with this approach:
I compiled the 5 bpls, I made a backup of the "Lib" folder, I installed "ZComponentDesign250.bpl" and finally I pasted the "backuped" dcu files to the "Lib" folder: now the test project is compiled and linked perfectly
So is C++ Builder able to use indifferently dcu and obj files?
Thanks, ciao,
Federico
PS
1) Is there a section somewhere with listed the wellknowed bugs of ZeosLib to be aware?
2) Where can I find a full guide of ZeosLib (if possible in C++) with descriptions of methods and properties of components?
when I end to compile the first 5 bpls of the project group "ZeosDbo" the folder C:\MyComponents\ZeosDBO\packages\CBuilderXE10.2\Win32\Release\Lib is full of dcu files, indluding "ZAbstractConnection.dcu".
I noticed that when I install "ZComponentDesign250.bpl" all the dcu files are deleted.
I solved with this approach:
I compiled the 5 bpls, I made a backup of the "Lib" folder, I installed "ZComponentDesign250.bpl" and finally I pasted the "backuped" dcu files to the "Lib" folder: now the test project is compiled and linked perfectly
So is C++ Builder able to use indifferently dcu and obj files?
Thanks, ciao,
Federico
PS
1) Is there a section somewhere with listed the wellknowed bugs of ZeosLib to be aware?
2) Where can I find a full guide of ZeosLib (if possible in C++) with descriptions of methods and properties of components?
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: How to solve "Unable to open file 'ZABSTRACTCONNECTION.OBJ'" error?
Hello Federico,
Best regards,
Jan
That is good. So the files are generated.
I seem to remember that the package manual says something about cleanup tasks. Maybe it cleans up too much...
Good
I assume that C++ Builder needs both file types. The DCU and the OBJ files. But I don't know. I don't work with C++ Builder.
That depends. We don't have a known bugs document. I try to collect known issues in the release notes if they cannot be fixed or if they will be fixed in a later version. Open bugs can be seen in the bug tracker. Bugs that are fixed in the SVN but are not yet part of a release version can be found in the bug tracker but will be closed there. If you have questions about possible bugs, just ask here.
Unfortunately we don't have a complete documentation currently. We do have the Zeos Documentation Collection that gives an introduction on how to use Zeos. We try to rework it, so it gets better. There are a lot of comments ion the code but we still need to find a way to convert them to documentation (again). So - I can only ask you to ask questions here, if you have questions about Zeos features or functionality.
Best regards,
Jan
Re: How to solve "Unable to open file 'ZABSTRACTCONNECTION.OBJ'" error?
Hallo Jan,
thank you very much for your exhaustive reply.
As regards the basic use/functionalities of basic components (connection, query, table, procedure, ...) does ZeosLib behave as FireDAC?
Thanks again, kind regards,
Federico
thank you very much for your exhaustive reply.
As regards the basic use/functionalities of basic components (connection, query, table, procedure, ...) does ZeosLib behave as FireDAC?
Thanks again, kind regards,
Federico
Re: How to solve "Unable to open file 'ZABSTRACTCONNECTION.OBJ'" error?
It behaves like FireDAC, UniDAC or other access libraries to SQL databases.
What's more, it allows you to easily move to Lazarus.
Michal