Page 1 of 1

TeeRecompile.exe informed of failure

Posted: Mon Dec 11, 2017 2:57 am
by 16580969
Hello, This is JH Jang from Korea.

The TeeRecompile.exe informed of failure which is the TeeChartVCLFMXSOURCE-2017.22.exe to the Delphi 10.2.
The Windows version is 10(Creator update), language is Korean.
So, I search the forums for solving the issue, and got some hint for that; It tries installing a language pack which is English(US), then does it again.

But it still same error occurred, the message like the followings:
Could you review the following message and gave me the solutions for solve these problems?

Thank you from JH Jang.
===============================================
TeeChart Pro
Compilation started: 12/11/2017 11:43:21 AM

Win32 v25 (Delphi 10.2 and C++Builder 10.2 Update 1) (C++)
Tee925

Cannot recompile Delphi package: Tee925.dpk
Embarcadero Delphi for Win32 compiler version 32.0
Copyright (c) 1983,2017 Embarcadero Technologies, Inc.
VCLTee.TeeConst.pas(608) Error: E2066 Missing operator or semicolon
VCLTee.TeeConst.pas(608) Error: E2066 Missing operator or semicolon
VCLTee.TeeConst.pas(608) Error: E2052 Unterminated string
VCLTee.TeeConst.pas(1010) Error: E2052 Unterminated string
VCLTee.TeeConst.pas(608) Fatal: E2280 Unterminated conditional directive
EXCEPTION:
Compilation aborted.
--------------------------------------------

Re: TeeRecompile.exe informed of failure

Posted: Mon Dec 11, 2017 10:23 am
by yeray
Hello,

The line 608 in VCLTee.TeeConst.pas for v2017.22 was TeeMsg_Copyright. Here it is how it looks for me (I've pasted a couple of extra lines to see some context):

Code: Select all

Procedure TeeSetConstants;
begin
  TeeMsg_Copyright          :={$IFDEF LCL}'(C)'{$ELSE}'©'{$ENDIF}+' 1995-2017 by Steema Software';

  TeeMsg_Test               :='Test...';
The line 1010 in VCLTee.TeeConst.pas for v2017.22 was TeePolarDegreeSymbol. Here it is how it looks for me:

Code: Select all

  TeeMsg_PathAdobeFlexCompiler:='Select folder with Adobe Flex mxmlc.exe compiler';
  TeePolarDegreeSymbol        :='°';
  TeeMsg_NewChart             :='New Chart';
How do these lines look for you if you open VCLTee.TeeConst.pas?

Re: TeeRecompile.exe informed of failure

Posted: Wed Dec 13, 2017 2:03 am
by 16580969
Hello, Yeray
When I opened these lines look like the followings:

Code: Select all

TeeMsg_Copyright          :={$IFDEF LCL}'(C)'{$ELSE}'?{$ENDIF}+' 1995-2017 by Steema Software';
//
TeePolarDegreeSymbol        :='?;

Re: TeeRecompile.exe informed of failure

Posted: Wed Dec 13, 2017 7:22 am
by yeray
Hello,

These strings containing ascii symbols '©' and '°' look messed.
The VCLTee.TeeConst.pas is the prefixed copy of the TeeConst.pas unit TeeRecompile copies into the "Source\VCL" folder. However, the original file should still be unmodified at the "Source" folder. Could you please look at the original non-prefixed file (Source\TeeConst.pas) and see if it is also messed in those lines?

Re: TeeRecompile.exe informed of failure

Posted: Wed Apr 11, 2018 2:50 am
by 16580969
Dear, Yeray
I'm so sorry for late reply.

Yes, the literals are messed which place at TeeConst.pas (Steema TeeChart Pro VCL FMX Source Code 2018.24).
Those look like this:

Code: Select all

  TeeMsg_Copyright          :={$IFDEF LCL}'(C)'{$ELSE}'?{$ENDIF}+' 1995-2018 by Steema Software';
  TeePolarDegreeSymbol        :='?;
And Theses files are may use the same literals.
VCLTee.TeEngine.pas(4802) Error: E2052 Unterminated string
VCLTee.TeeFormatting.pas(230) Error: E2052 Unterminated string

If you have any questions, please reply. This time, I will respond quickly.
Thank you :)

Re: TeeRecompile.exe informed of failure

Posted: Wed Apr 11, 2018 9:35 am
by yeray
Hello,

Try replacing the broken strings for these:

Code: Select all

TeeMsg_Copyright          :={$IFDEF LCL}'(C)'{$ELSE}'©'{$ENDIF}+' 1995-2018 by Steema Software';
TeePolarDegreeSymbol        :='°';
If they don't work, you can try these non-unicode alternatives:

Code: Select all

TeeMsg_Copyright          :='(C) 1995-2018 by Steema Software';
TeePolarDegreeSymbol        :='-';

Re: TeeRecompile.exe informed of failure

Posted: Fri Apr 13, 2018 2:17 am
by 16580969
Hello, Yeray

As you suggested, the problem was fixed at VCL version after the modification.
When trying to compile the FXM by ReCompile.exe, has the same issues.
I tried to replace the literals at "Source\FMX\FMXTee.Constants.pas", it still failed.

Could you Let me advise on the issues, I want to install it.
Thank you.

Code: Select all

Cannot recompile Delphi package: FMXTeeUI925.dpk
Embarcadero Delphi for Win32 compiler version 32.0
Copyright (c) 1983,2017 Embarcadero Technologies, Inc.
FMXTee.Editor.Formatting.pas(20) Error: E2004 Identifier redeclared: 'FMX.SpinBox'
FMXTee.Editor.Formatting.pas(20) Error: E2004 Identifier redeclared: 'FMX.ComboEdit'
FMXTee.Editor.Axis.pas(899) Fatal: F2063 Could not compile used unit 'FMXTee.Editor.Formatting.pas'

Re: TeeRecompile.exe informed of failure

Posted: Mon Apr 16, 2018 7:24 am
by yeray
Hello,
JhJang wrote:

Code: Select all

Cannot recompile Delphi package: FMXTeeUI925.dpk
Embarcadero Delphi for Win32 compiler version 32.0
Copyright (c) 1983,2017 Embarcadero Technologies, Inc.
FMXTee.Editor.Formatting.pas(20) Error: E2004 Identifier redeclared: 'FMX.SpinBox'
FMXTee.Editor.Formatting.pas(20) Error: E2004 Identifier redeclared: 'FMX.ComboEdit'
FMXTee.Editor.Axis.pas(899) Fatal: F2063 Could not compile used unit 'FMXTee.Editor.Formatting.pas'
The IDE sometimes modifies the units in the "uses clauses" when you open and save or compile a unit. You can try to edit the broken unit (in this case 'FMXTee.Editor.Formatting.pas') from outside the IDE (with notepad or similar) and remove the duplicates in the uses clause.