Cannot recompile Delphi package: Tee928.dpk
Cannot recompile Delphi package: Tee928.dpk
Hello everyone,
I just registered as a new user of TeeChart. Before that, I have been using the version that comes with the IDE, so I don't know much about the installation of TeeChart.
I downloaded the latest source files and binaries, do I need to install both?
When I installed the source file program, it was prompted to compile, and it started to execute after I modified the path, but an error occurred:
===============================================
TeeChart Pro
Compilation started: 2022/10/6 18:39:16
Win32 v28 (Delphi 11 and C++Builder 11 Update 2) (C++) ERROR
Tee928
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 2022.36\Source\..\Compiled\Delphi28.win32\Lib" -E"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2022.36\Source\..\Compiled\Delphi28.win32\bin" -N0"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2022.36\Source\..\Compiled\Delphi28.win32\Lib" -U"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2022.36\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 2022.36\Source\VCL" -I"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2022.36\Source\VCL" -R"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2022.36\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 2022.36\Source\..\Compiled\Delphi28.win32\Lib\Obj" -NH"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2022.36\Source\..\Compiled\Delphi28.win32\Include" -NB"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2022.36\Source\..\Compiled\Delphi28.win32\Lib\Obj" -LN"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2022.36\Source\..\Compiled\Delphi28.win32\Lib" "C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2022.36\Source\VCL\Tee928.dpk" -LE"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2022.36\Source\..\Compiled\Delphi28.win32\System"
Cannot recompile Delphi package: Tee928.dpk
Embarcadero Delphi for Win32 compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
VCLTee.TeeConst.pas(1014) Error: E1057 Implicit string cast from 'AnsiChar' to 'string'
Tee928.dpk(35) Fatal: F2063 Could not compile used unit 'VCLTee.TeeConst.pas'
EXCEPTION:
Compilation aborted.
--------------------------------------------
Does anyone know where the problem is?
I just registered as a new user of TeeChart. Before that, I have been using the version that comes with the IDE, so I don't know much about the installation of TeeChart.
I downloaded the latest source files and binaries, do I need to install both?
When I installed the source file program, it was prompted to compile, and it started to execute after I modified the path, but an error occurred:
===============================================
TeeChart Pro
Compilation started: 2022/10/6 18:39:16
Win32 v28 (Delphi 11 and C++Builder 11 Update 2) (C++) ERROR
Tee928
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 2022.36\Source\..\Compiled\Delphi28.win32\Lib" -E"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2022.36\Source\..\Compiled\Delphi28.win32\bin" -N0"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2022.36\Source\..\Compiled\Delphi28.win32\Lib" -U"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2022.36\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 2022.36\Source\VCL" -I"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2022.36\Source\VCL" -R"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2022.36\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 2022.36\Source\..\Compiled\Delphi28.win32\Lib\Obj" -NH"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2022.36\Source\..\Compiled\Delphi28.win32\Include" -NB"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2022.36\Source\..\Compiled\Delphi28.win32\Lib\Obj" -LN"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2022.36\Source\..\Compiled\Delphi28.win32\Lib" "C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2022.36\Source\VCL\Tee928.dpk" -LE"C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2022.36\Source\..\Compiled\Delphi28.win32\System"
Cannot recompile Delphi package: Tee928.dpk
Embarcadero Delphi for Win32 compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
VCLTee.TeeConst.pas(1014) Error: E1057 Implicit string cast from 'AnsiChar' to 'string'
Tee928.dpk(35) Fatal: F2063 Could not compile used unit 'VCLTee.TeeConst.pas'
EXCEPTION:
Compilation aborted.
--------------------------------------------
Does anyone know where the problem is?
Re: Cannot recompile Delphi package: Tee928.dpk
Hello,
That's strange. It builds without issues for me: Can you try downloading the installer again?
That's strange. It builds without issues for me: Can you try downloading the installer again?
Best Regards,
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |
Re: Cannot recompile Delphi package: Tee928.dpk
Hi Yeray,
Thanks for the reply.
I still encountered the same error message after re-downloading and installing, my IDE version is RAD Studio 11.2 Patch 1 (28.0.46141.0937).
Thanks for the reply.
I still encountered the same error message after re-downloading and installing, my IDE version is RAD Studio 11.2 Patch 1 (28.0.46141.0937).
- Attachments
-
- 1-2.png (249.96 KiB) Viewed 5525 times
-
- 1-1.png (501.72 KiB) Viewed 5525 times
Re: Cannot recompile Delphi package: Tee928.dpk
Hello,
Could you please check if the line 1014 in the "Source\TeeConst.pas" is as follows?
Could you please check if the line 1014 in the "Source\TeeConst.pas" is as follows?
Code: Select all
TeePolarDegreeSymbol :='°';
Best Regards,
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |
Re: Cannot recompile Delphi package: Tee928.dpk
No, in notepad++ it looks like gibberish:
- Attachments
-
- TeeConst.pas
- TeeConst.png (19.32 KiB) Viewed 5511 times
-
- VCLTee.TeeConst.pas
- VCLTee.TeeConst.png (19.44 KiB) Viewed 5511 times
Re: Cannot recompile Delphi package: Tee928.dpk
Hi Yeray,
I need your help.
I tried to use hexadecimal characters to represent this gibberish-looking symbol, but I found two symbols in ASCII Code that are very similar to it, Should I choose #B0 or #BA ?
I need your help.
I tried to use hexadecimal characters to represent this gibberish-looking symbol, but I found two symbols in ASCII Code that are very similar to it, Should I choose #B0 or #BA ?
- Attachments
-
- ASCII.png (46.3 KiB) Viewed 5507 times
Re: Cannot recompile Delphi package: Tee928.dpk
Hello,
It's the degree symbol/sign, B0
It's the degree symbol/sign, B0
Best Regards,
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |
Re: Cannot recompile Delphi package: Tee928.dpk
Hi Yeray,
I changed line 1014 to:
Compile again, an error is reported on line 612, it seems that '©' is not correctly recognized.
So I replace it with #$A9:
continue to compile, this time it returns to line 1014 to report an error:
VCLTee.TeeConst.pas(1014) Error: E1057 Implicit string cast from 'AnsiChar' to 'string'.
I don't know where the problem is, so I had to copy and paste the code you showed above and continue compiling. This time it was the VCLTee.TeeFormatting.pas file, line 612, and I opened it and found that it seemed to have the same problem as the VCLTee.TeeConst.pas file, line 1014, which made I feel very sad, what's the problem?
This is my system information: Windows 11 enterprise, version 22H2 Build 22621.521, Simplified Chinese, is there something wrong with my operating system character set?
Would you give me a version that compiles fine?
I changed line 1014 to:
Code: Select all
TeePolar Degree Symbol :=#$B0;
So I replace it with #$A9:
Code: Select all
TeeMsg_Copyright :={$IFDEF LCL}'(C)'{$ELSE}#$A9{$ENDIF}+' 1995-2022 by Steema Software';
VCLTee.TeeConst.pas(1014) Error: E1057 Implicit string cast from 'AnsiChar' to 'string'.
I don't know where the problem is, so I had to copy and paste the code you showed above and continue compiling. This time it was the VCLTee.TeeFormatting.pas file, line 612, and I opened it and found that it seemed to have the same problem as the VCLTee.TeeConst.pas file, line 1014, which made I feel very sad, what's the problem?
This is my system information: Windows 11 enterprise, version 22H2 Build 22621.521, Simplified Chinese, is there something wrong with my operating system character set?
Would you give me a version that compiles fine?
- Attachments
-
- 223.png (8.55 KiB) Viewed 5499 times
-
- 612.png (5.29 KiB) Viewed 5499 times
Re: Cannot recompile Delphi package: Tee928.dpk
Hello,
Indeed, we detected some unicode issues with Chinese machines. We'll revise that.
In the meanwhile, you should be able to correct the "Source\TeeConst.pas" is as follows and run TeeRecompile:
Line 612:
Line 1014:
Indeed, we detected some unicode issues with Chinese machines. We'll revise that.
In the meanwhile, you should be able to correct the "Source\TeeConst.pas" is as follows and run TeeRecompile:
Line 612:
Code: Select all
TeeMsg_Copyright :={$IFDEF LCL}'(C)'{$ELSE}'©'{$ENDIF}+' 1995-2022 by Steema Software';
Code: Select all
TeePolarDegreeSymbol :='°';
Best Regards,
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |
Re: Cannot recompile Delphi package: Tee928.dpk
Hello,
An alternative is to change your system locale as follows:
An alternative is to change your system locale as follows:
Best Regards,
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |