I was playing with zmemtable. This error suddenly appear when I try to compile (I did not touch the zabstractConnection.pas file):
ZAbstractConnection.pas(1338,36)Error: Compilation raised exception internally
From then onward, all my programs using Tzconnection fails to compile.
Reinstalling zComponent package does not help. Deleting the zcomponent folder and copy everything from the original downloaded file (zeoslib-8.0-patches.zip) however solve the above issue.
This has happened 3 times in the past few days. I need help on how to avoid this.
By the way, what does the following message means and how to correct it?
Warning: other unit files search path (aka unit path) of "zcomponent 8.0" contains "C:\fpcupdeluxe\lazarus\components\zeoslib_8\src\component", which belongs to package "zcomponentdesign"
Compilation raised exception internally
Compilation raised exception internally
You do not have the required permissions to view the files attached to this post.
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: Compilation raised exception internally
Hello kjteng,
Best rgeards,
Jan
That looks strange. What compiler do you use for these tests? We do compile all revisions of Zeos with the currently stable FPC. To me this looks like some internal compiler problem.
It means that the zcomponent and zcomponentdesign packages share a unit diretory. We will have to take a closer look at this.
Best rgeards,
Jan
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: Compilation raised exception internally
Addendum:
Could you please check out the latest Zeos 8.0 version using SVN or GIT to see what files get changed and how they get changed?
Re: Compilation raised exception internally
I am using the trunk version
Unfortunately I have replace the folder with the new one extracted from the zeoslib-8.0-patches.zip .
I shall compare the difference next time when this happens again.
.Unfortunately I have replace the folder with the new one extracted from the zeoslib-8.0-patches.zip .
I shall compare the difference next time when this happens again.
You do not have the required permissions to view the files attached to this post.
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: Compilation raised exception internally
Hello kjteng,
is there a specific reason for using the development version of FPC? Supporting FPC trunk in a timely manner currently is out of the scope of this project because currently there is nobody doing that work.
I worked on getting FPC trunk to compile in an automated fashion but currently that seems to not be working. Compiling using fpclazup works but the generated Lazarus doesn't work correctly or something like this.
So - until this gets sorted out, we cannot support trunk in a good way.
Best regards,
Jan
is there a specific reason for using the development version of FPC? Supporting FPC trunk in a timely manner currently is out of the scope of this project because currently there is nobody doing that work.
I worked on getting FPC trunk to compile in an automated fashion but currently that seems to not be working. Compiling using fpclazup works but the generated Lazarus doesn't work correctly or something like this.
So - until this gets sorted out, we cannot support trunk in a good way.
Best regards,
Jan
Re: Compilation raised exception internally
@kjteng,
If you install git you simply can clone the Zeos repository to your local drive. Every time you modify a file it will be shown up any any Git GUI (Git Extensions, Atlassian something, VS Code, etc). Furthermore, you can update it with one command only. No need to download and extract ZIP files anymore!
If you install git you simply can clone the Zeos repository to your local drive. Every time you modify a file it will be shown up any any Git GUI (Git Extensions, Atlassian something, VS Code, etc). Furthermore, you can update it with one command only. No need to download and extract ZIP files anymore!
Delphi 12.2, Zeos 8 from latest GIT snapshot
Using:
- MySQL server 8.0.18; libmysql.dll 8.0.40 x64 5.7.19 x68, libmariadb.dll 3.3.11
- Oracle server 11.2.0, 12.1.0, 19.0.0; oci.dll 21.15
- MSSQL 2012, 2019; sybdb.dll FreeTDS_3102
- SQLite 3.47
Using:
- MySQL server 8.0.18; libmysql.dll 8.0.40 x64 5.7.19 x68, libmariadb.dll 3.3.11
- Oracle server 11.2.0, 12.1.0, 19.0.0; oci.dll 21.15
- MSSQL 2012, 2019; sybdb.dll FreeTDS_3102
- SQLite 3.47
Re: Compilation raised exception internally
The reason I use the development version is because I have problem with tbufdataset (see https://forum.lazarus.freepascal.org/in ... #msg423134) which has been fixed in the trunk version. I am trying to replace tbufdataset with zMemtable in my apps now.marsupilami wrote: ↑07.11.2021, 15:22 Hello kjteng,
is there a specific reason for using the development version of FPC? Supporting FPC trunk in a timely manner currently is out of the scope of this project because currently there is nobody doing that work.
I worked on getting FPC trunk to compile in an automated fashion but currently that seems to not be working. Compiling using fpclazup works but the generated Lazarus doesn't work correctly or something like this.
So - until this gets sorted out, we cannot support trunk in a good way.
Best regards,
Jan
In any case I still have the stable version (2.0.12) in my pc and I am testing zMemtable with the stable version too.
Re: Compilation raised exception internally
Thanks for the advise. Will try.aehimself wrote: ↑07.11.2021, 21:11 @kjteng,
If you install git you simply can clone the Zeos repository to your local drive. Every time you modify a file it will be shown up any any Git GUI (Git Extensions, Atlassian something, VS Code, etc). Furthermore, you can update it with one command only. No need to download and extract ZIP files anymore!