Using TeeRecompile

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
BruceC
Newbie
Newbie
Posts: 19
Joined: Mon Nov 16, 2015 12:00 am

Using TeeRecompile

Post by BruceC » Wed May 25, 2016 1:43 pm

TeeChartVCLFMXSOURCE-2016.18

Need some help please.

I have 4 IDE's installed XE2, XE7, Seattle & Berlin.
When running TeeRecompile all compile ok except for XE2 which fails with the error message " Required package "IndyProtocols not found" because of the version of Indy installed.
If I then change all relevant XE2 DPK's in the source folder to use IndyProtocols916 it then fails with the error message "Required package 'IndyProtocols916' not found".
But these do exists. Can you please tell me where TeeRecompile is looking for these?
Also are there any instructions on how to do this manually?

Thanks,

Bruce

BruceC
Newbie
Newbie
Posts: 19
Joined: Mon Nov 16, 2015 12:00 am

Re: Using TeeRecompile

Post by BruceC » Thu May 26, 2016 10:48 am

Sorry. I of course meant IndyProtocols160!

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

Re: Using TeeRecompile

Post by Yeray » Thu May 26, 2016 12:08 pm

Hi Bruce,

TeeRecompile calls the IDE compiler but it probably doesn't find your Indy installation path.
To manually recompile the TeeChart packages, you can try to build open the .groupproj attached and build all the packages (with the corrected references). Then you should be able to install the Dcl* packages into your IDE.
Attachments
Tee9RADXE2.zip
(956 Bytes) Downloaded 818 times
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

BruceC
Newbie
Newbie
Posts: 19
Joined: Mon Nov 16, 2015 12:00 am

Re: Using TeeRecompile

Post by BruceC » Thu May 26, 2016 2:14 pm

Thanks. I get so far but

Code: Select all

Procedure TTeeCanvas.TextOut(const X,Y:TCoordinate; const Text:String; AllowHtml:Boolean);
begin
  if AllowHtml then
     HtmlTextOut(Self,{$IFDEF FMX}Round{$ENDIF}(X),{$IFDEF FMX}Round{$ENDIF}(Y),Text)
  else
     TextOut(X,Y,Text);
end;
doesn't compile. I get the error message: [DCC Error] VCLTee.TeCanvas.pas(5588): E2010 Incompatible types: 'TeCanvas.TTeeCanvas' and 'VCLTee.TeCanvas.TTeeCanvas'

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

Re: Using TeeRecompile

Post by Yeray » Mon May 30, 2016 8:26 am

Hello Bruce,

Sounds as a problem with the prefixes. Have you tried adding "VCLTee" to the "unit scope names"?
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

BruceC
Newbie
Newbie
Posts: 19
Joined: Mon Nov 16, 2015 12:00 am

Re: Using TeeRecompile

Post by BruceC » Wed Jun 01, 2016 4:21 am

I was still using XE2 for just a couple of legacy projects that were using components that I do not have the source for and are now no longer available.

I decided to use other components instead and am now using 10.1 Berlin so the problem has gone away.

Thanks for your help.

Bruce

Post Reply