TeeChart Pro v2021.33.210913 VCL compilation problem

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
maxcoros
Newbie
Newbie
Posts: 6
Joined: Wed Mar 17, 2021 12:00 am

TeeChart Pro v2021.33.210913 VCL compilation problem

Post by maxcoros » Fri Jan 14, 2022 12:58 am

Hi,
I,ve installaed and builded/installed the source code version.
When I try to compile a simple app with only a Tchart on the main form I got the error shown in the attached image (the error is in TeCanvas.pas)

Could you help me?

Thanks
error.jpg
error.jpg (72.65 KiB) Viewed 12077 times

Yeray
Site Admin
Site Admin
Posts: 9622
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart Pro v2021.33.210913 VCL compilation problem

Post by Yeray » Mon Jan 17, 2022 7:36 am

Hello,

Please try to add the "VCLTee" prefix to the "unit scope names".
Image
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

maxcoros
Newbie
Newbie
Posts: 6
Joined: Wed Mar 17, 2021 12:00 am

Re: TeeChart Pro v2021.33.210913 VCL compilation problem

Post by maxcoros » Mon Jan 17, 2022 10:09 am

Hi, I've already tryed to do that before writing the post but it don't work.

If it can help, compiling under win 64 works without the "unit scopes"

Yeray
Site Admin
Site Admin
Posts: 9622
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart Pro v2021.33.210913 VCL compilation problem

Post by Yeray » Tue Jan 18, 2022 10:35 am

Hello,

Check the paths are correct:
https://www.steema.com/support/viewtopi ... =3&t=15512
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

maxcoros
Newbie
Newbie
Posts: 6
Joined: Wed Mar 17, 2021 12:00 am

Re: TeeChart Pro v2021.33.210913 VCL compilation problem

Post by maxcoros » Tue Jan 18, 2022 11:06 am

Hi Again, I've checked the paths and are correct. Also I've tryed to unistall and reinstall the source with the same error.

Yeray
Site Admin
Site Admin
Posts: 9622
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart Pro v2021.33.210913 VCL compilation problem

Post by Yeray » Tue Jan 18, 2022 11:20 am

Hello,

Have you tried running TeeRecompile with high privileges?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

maxcoros
Newbie
Newbie
Posts: 6
Joined: Wed Mar 17, 2021 12:00 am

Re: TeeChart Pro v2021.33.210913 VCL compilation problem

Post by maxcoros » Tue Jan 18, 2022 1:49 pm

Hi,
yes I run it as administrator

maxcoros
Newbie
Newbie
Posts: 6
Joined: Wed Mar 17, 2021 12:00 am

Re: TeeChart Pro v2021.33.210913 VCL compilation problem

Post by maxcoros » Tue Jan 18, 2022 5:51 pm

Hi again,
I'm going mad. I've fully removed Teechart, cleared win32, syswow64 and delphi bin folder. I've tryed again with a full reinstall, now teerecompile was unable to complete building. It start to recompile but it stops every time on a different package with the following error: Fatal: F2084 Internal Error: XXXXXXXXXX-YYYYYYYYY-Z

Below there are some building try results, as you can see the error occur each time on different package.
I see that it is a Delphi compiler error, but it don't occur with other packages.
My OS is WIN 11, I have a 64gb ram, xeon processor, 2tb SSD HD

Any Idea?
Thanks



Try 1
--------------------------------------------------------
TeeMaker128
Compiling...
"C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\dcc32.exe" -$D+ -$L+ -$W+ -$O- -$C- -$Y+ -$C+ -$R+ -$Q+ -GD -V -VT -VN -W^ -H -$A8 --no-config -u"C:\Program Files (x86)\Embarcadero\Studio\22.0\Lib\win32\Release" -u"C:\Program Files (x86)\Embarcadero\Studio\22.0\Lib\win32\Release\Indy10" -nsSystem;WinAPI;VCL;System.Win;VCL.Imaging;Data;BDE;Datasnap;XML;VCLTee -LN"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib" -E"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\bin" -N0"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib" -U"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib";"C:\Program Files (x86)\Embarcadero\Studio\22.0\Lib\win32\Debug";"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\VCL" -I"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\VCL" -R"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\VCL" -O"C:\Program Files (x86)\Embarcadero\Studio\22.0\Lib\win32\Debug" -M -DBCB --BCB -CG -JPHNE -JL -NO"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib\Obj" -NH"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Include" -NB"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib\Obj" -LN"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib" "C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\TeeMaker\TeeMaker128.dpk" -LE"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\System"



Cannot recompile Delphi package: TeeMaker128.dpk
Embarcadero Delphi for Win32 compiler version 35.0
Copyright (c) 1983,2021 Embarcadero Technologies, Inc.
TeeMaker128.dpk(103) Fatal: F2084 Internal Error: AV00538C00-R073497CE-0
EXCEPTION:
Compilation aborted.
--------------------------------------------

Try 2
--------------------------
FMXTee928
Compiling...
"C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\dcc32.exe" -$D+ -$L+ -$W+ -$O- -$C- -$Y+ -$C+ -$R+ -$Q+ -GD -V -VT -VN -W^ -H -$A8 --no-config -u"C:\Program Files (x86)\Embarcadero\Studio\22.0\Lib\win32\Release" -u"C:\Program Files (x86)\Embarcadero\Studio\22.0\Lib\win32\Release\Indy10" -nsSystem;Data;Datasnap;XML;FMXTee;WinAPI;System.Win -LN"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib" -E"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\bin" -N0"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib" -U"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib";"C:\Program Files (x86)\Embarcadero\Studio\22.0\Lib\win32\Debug";"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\FMX" -I"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\FMX" -R"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\FMX" -O"C:\Program Files (x86)\Embarcadero\Studio\22.0\Lib\win32\Debug" -M -DBCB --BCB -CG -JPHNE -JL -NO"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib\Obj" -NH"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Include" -NB"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib\Obj" -LN"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib" "C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\FMX\FMXTee928.dpk" -LE"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\System"



Cannot recompile Delphi package: FMXTee928.dpk
Embarcadero Delphi for Win32 compiler version 35.0
Copyright (c) 1983,2021 Embarcadero Technologies, Inc.
FMXTee.Engine.pas(21185) Fatal: F2084 Internal Error: AV00538C00-R0D2C8DDC-0
EXCEPTION:
Compilation aborted.
--------------------------------------------

Try 3
-------------------------
TeePro928
Compiling...
"C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\dcc32.exe" -$D+ -$L+ -$W+ -$O- -$C- -$Y+ -$C+ -$R+ -$Q+ -GD -V -VT -VN -W^ -H -$A8 --no-config -u"C:\Program Files (x86)\Embarcadero\Studio\22.0\Lib\win32\Release" -u"C:\Program Files (x86)\Embarcadero\Studio\22.0\Lib\win32\Release\Indy10" -nsSystem;WinAPI;VCL;System.Win;VCL.Imaging;Data;BDE;Datasnap;XML;VCLTee -LN"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib" -E"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\bin" -N0"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib" -U"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib";"C:\Program Files (x86)\Embarcadero\Studio\22.0\Lib\win32\Debug";"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\VCL" -I"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\VCL" -R"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\VCL" -O"C:\Program Files (x86)\Embarcadero\Studio\22.0\Lib\win32\Debug" -M -DBCB --BCB -CG -JPHNE -JL -NO"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib\Obj" -NH"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Include" -NB"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib\Obj" -LN"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib" "C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\VCL\TeePro928.dpk" -LE"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\System"



Cannot recompile Delphi package: TeePro928.dpk
Embarcadero Delphi for Win32 compiler version 35.0
Copyright (c) 1983,2021 Embarcadero Technologies, Inc.
TeePro928.dpk(260) Fatal: F2084 Internal Error: AV05B59001-R00000120-0
EXCEPTION:
Compilation aborted.
--------------------------------------------

Try 4
------------------------------
DclTeeProStd928
Compiling...
"C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\dcc32.exe" -$D+ -$L+ -$W+ -$O- -$C- -$Y+ -$C+ -$R+ -$Q+ -GD -V -VT -VN -W^ -H -$A8 --no-config -u"C:\Program Files (x86)\Embarcadero\Studio\22.0\Lib\win32\Release" -u"C:\Program Files (x86)\Embarcadero\Studio\22.0\Lib\win32\Release\Indy10" -nsSystem;WinAPI;VCL;System.Win;VCL.Imaging;Data;BDE;Datasnap;XML;VCLTee -LN"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib" -E"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\bin" -N0"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib" -U"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib";"C:\Program Files (x86)\Embarcadero\Studio\22.0\Lib\win32\Debug";"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\VCL" -I"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\VCL" -R"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\VCL" -O"C:\Program Files (x86)\Embarcadero\Studio\22.0\Lib\win32\Debug" -B -DNOTEEDB -M -DBCB --BCB -CG -JPHNE -JL -NO"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib\Obj" -NH"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Include" -NB"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib\Obj" -LN"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Lib" "C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\VCL\DclTeeProStd928.dpk" -LE"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2021.33\Source\..\Compiled\Delphi28.win32\Bin"



Cannot recompile Delphi package: DclTeeProStd928.dpk
Embarcadero Delphi for Win32 compiler version 35.0
Copyright (c) 1983,2021 Embarcadero Technologies, Inc.
Fatal: F2084 Internal Error: AV004EF428-W1A5DB04A-1
EXCEPTION:
Compilation aborted.
--------------------------------------------

Yeray
Site Admin
Site Admin
Posts: 9622
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart Pro v2021.33.210913 VCL compilation problem

Post by Yeray » Tue Jan 18, 2022 6:55 pm

Hello,
maxcoros wrote:
Tue Jan 18, 2022 5:51 pm
I'm going mad. I've fully removed Teechart, cleared win32, syswow64 and delphi bin folder. I've tryed again with a full reinstall, now teerecompile was unable to complete building. It start to recompile but it stops every time on a different package with the following error: Fatal: F2084 Internal Error: XXXXXXXXXX-YYYYYYYYY-Z
I'm sorry to hear you are finding so many problems. The tests run without issues here.
maxcoros wrote:
Tue Jan 18, 2022 5:51 pm
My OS is WIN 11, I have a 64gb ram, xeon processor, 2tb SSD HD
I see F2084 Internal Error suggests the memory is near to the limit of the IDE, but it doesn't make any sense with 64GB of RAM

Have you tried using the binary version directly? Note the source code license should give you access to the binary installer as well.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

maxcoros
Newbie
Newbie
Posts: 6
Joined: Wed Mar 17, 2021 12:00 am

Re: TeeChart Pro v2021.33.210913 VCL compilation problem

Post by maxcoros » Fri Jan 21, 2022 10:50 am

Hi, I've tried with binary version and it had worked. But I would use the "source" version. Anyway I've written to embarcadero about the fatal error and below there are the answer:

"Fatal: F2084" is basically a catch all error This means the compiler had an access violation "AV004EF428-W1A5DB04A-1"
Now these are very difficult to track down. However from what you describe I think I have seen similar issues, normally you will see this with in process compiler. Basically what happens is that the compiler will cache units as it compiles and then re-use the in memory units to speed compilation up, this can cause problems under certain circumstances like yours where consecutive packages are compiled.

So if you set the compilation to be use the external compiler the MSBuild option in the Project | Options then you should not see the issue as the in process compiler is not used and no caching will occur. Problem is it needs to be set on each project, BUT there is an undocumented way to force this on all projects.

In the IDE:
1) go to Tools | Options | IDE | Environment Variables | User Overrides | [New...]
2) add this environment variable:
"DCC_UseMSBuildExternally"
and set the value to
"true"
All without the quotes.
3) restart the IDE now all project should build using the external compiler.
4) when you are finished install the packages, just rename the environment variable.

Yeray
Site Admin
Site Admin
Posts: 9622
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart Pro v2021.33.210913 VCL compilation problem

Post by Yeray » Tue Jan 25, 2022 11:17 am

Hello,

That's really interesting! Thanks for sharing.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply