#1 2012-04-30 08:07:07

elnikej
Member
Registered: 2012-04-30
Posts: 4

problem compiling with Delphi 2005 with updated version 1.15

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

#2 2012-05-01 05:37:38

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,603
Website

Re: problem compiling with Delphi 2005 with updated version 1.15

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

#3 2012-05-02 09:05:00

elnikej
Member
Registered: 2012-04-30
Posts: 4

Re: problem compiling with Delphi 2005 with updated version 1.15

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

#4 2012-05-02 11:36:23

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,603
Website

Re: problem compiling with Delphi 2005 with updated version 1.15

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

#5 2012-05-02 15:49:33

elnikej
Member
Registered: 2012-04-30
Posts: 4

Re: problem compiling with Delphi 2005 with updated version 1.15

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

#6 2012-05-02 16:39:00

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,603
Website

Re: problem compiling with Delphi 2005 with updated version 1.15

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

#7 2012-05-08 07:30:06

elnikej
Member
Registered: 2012-04-30
Posts: 4

Re: problem compiling with Delphi 2005 with updated version 1.15

hi,

all Updates are installed. a friend checked synpdf on his system with D2005 PE and had the same error.

Offline

#8 2012-05-08 09:44:49

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,603
Website

Re: problem compiling with Delphi 2005 with updated version 1.15

So this is a Delphi 2005 compilation error.
sad

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

Board footer

Powered by FluxBB