You are not logged in.
Hi,
I tried to update synopse PDF from version 1.10 to 1.15.
Now, while trying to compile synPDF:
[Fatal Error]SynComons.pas(16068):F2084 Internal Error: I4151
With Version 1.10 is everything fine.
Last edited by elnikej (2012-04-30 08:09:35)
Offline
You may have some issues with your current sources.
Please download the latest version from http://synopse.info/fossil
See http://synopse.info/fossil/wiki?name=Get+the+source
The upcoming 1.16 revision is more stable.
Offline
the error occurs also if i try to make a package from synapse PDF (or SQLite3 Framework) without anything of my code.
I look forward to the new version...
Offline
There was some issues with package handling, in some cases.
Some have been identified and fixed within the trunk.
Ensure that you retrieved all necessary files: not only SynPDF, but SynCommons, SynGdiPlus, Synopse.inc... the whole package in its latest revision.
Offline
In the synpdf.zip are that files:
-deflate.obj
-SQLite3Pages
-SynCommons.pas (which shows the error on compiling in line 16068)
-SynGdiPlus.pas
-SynLz.pas
-Synopse.inc
-SynPdf.pas
-SynZip.pas
-trees.obj
I hope that are the necessary files. After compiling are SynGdiPlus.dcu and SynLZ.dcu new in the directory.
Offline
Do you still have an error after "Build"?
I do not have D2005 at hand.
It is tested here with Delphi 6, 7, 2007, 2010 and XE2.
Perhaps some internal error of this compiler version, which is known to be instable.
Do you have all updates installed in Delphi?
Offline
hi,
all Updates are installed. a friend checked synpdf on his system with D2005 PE and had the same error.
Offline
So this is a Delphi 2005 compilation error.
See http://www.stevetrefethen.com/wiki/(X(1 … eSupport=1
Techniques for Resolving Internal Errors
Here are some ways to try and resolve internal errors:If error seems to be on code contained within a while...do loop try using a for...do loop instead or vice versa.
If it uses a nested function or procedure (a procedure/function contained within a procedure/function) try "unnesting" them.
If it occurs on a typecast look for alternatives to typecasting like using a local variable of the type you need.
If the problem occurs within a with statement try removing the with altogether.
Try turning off compiler optimizations under Project | Options | Compiler (a rather last resort option) and remember if necessary you can use the {$O-} compiler directive to turn optimizations off for small blocks of code and not the entire project. See the documentation for usage information on this directive.
Internal error often can be resolved by deleting DCU files, restarting the IDE or not using a tool that speeds up Delphi start (like DelphiSpeedUp).
Or upgrade to a more stable Delphi version - like Delphi 2007.
What is the exact line which fails?
AFAIK line 16068 should not trigger any error.
Offline