Install TeeChart VCL with Source into Delphi 10.4 Community

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
dwpss
Newbie
Newbie
Posts: 11
Joined: Wed Dec 14, 2022 12:00 am

Install TeeChart VCL with Source into Delphi 10.4 Community

Post by dwpss » Fri Jan 13, 2023 6:16 pm

I get a compiler error when I try to install TeeChart VCL with Source manually into Delphi 10.4 Community, since TeeRecompile can not do this edition automatically.

When I try to complie TeePro927.bpl the complier reports back:
[dcc32 Error] TeCanvas.pas(5948): E2010 Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanvas.TTeeCanvas'
[dcc32 Error] TeCanvas.pas(8774): E2010 Incompatible types: 'TTeeCanvas' and 'TTeeCanvas3D'
[dcc32 Fatal Error] VCLTee.TeeProcs.pas(807): F2063 Could not compile used unit 'TeCanvas.pas'


I have added to the Delphi Library path:
C:\Delphi\TeeChart Pro VCL FMX Source Code\Source
C:\Delphi\TeeChart Pro VCL FMX Source Code\Source\VCL

pssdw

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

Re: Install TeeChart VCL with Source into Delphi 10.4 Community

Post by Yeray » Tue Jan 17, 2023 12:58 pm

Hello,
dwpss wrote:
Fri Jan 13, 2023 6:16 pm
I have added to the Delphi Library path:
C:\Delphi\TeeChart Pro VCL FMX Source Code\Source
C:\Delphi\TeeChart Pro VCL FMX Source Code\Source\VCL
Try removing the "C:\Delphi\TeeChart Pro VCL FMX Source Code\Source" path
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

dwpss
Newbie
Newbie
Posts: 11
Joined: Wed Dec 14, 2022 12:00 am

Re: Install TeeChart VCL with Source into Delphi 10.4 Community

Post by dwpss » Tue Jan 17, 2023 7:00 pm

Same results.

pssdw

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

Re: Install TeeChart VCL with Source into Delphi 10.4 Community

Post by Yeray » Tue Jan 17, 2023 8:31 pm

Hello,
dwpss wrote:
Fri Jan 13, 2023 6:16 pm
since TeeRecompile can not do this edition automatically.
What error do you get when you try to build with TeeRecompile?
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

dwpss
Newbie
Newbie
Posts: 11
Joined: Wed Dec 14, 2022 12:00 am

Re: Install TeeChart VCL with Source into Delphi 10.4 Community

Post by dwpss » Tue Jan 17, 2023 11:44 pm

I ran TeeRecompile "as Administrator", here are the options and result...

2023-01-17 18_34_42-.png
2023-01-17 18_34_42-.png (35.43 KiB) Viewed 12257 times
2023-01-17 18_38_04-TeeChart Recompilation Tool.png
2023-01-17 18_38_04-TeeChart Recompilation Tool.png (4.53 KiB) Viewed 12257 times

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

Re: Install TeeChart VCL with Source into Delphi 10.4 Community

Post by Yeray » Wed Jan 18, 2023 7:36 pm

Hello,

Sorry, I didn't remember Community versions of RAD Studio don't support command line compiling.
Back to the previous idea then.
Make sure you have the "C:\Delphi\TeeChart Pro VCL FMX Source Code\Source\VCL" path int he library path and also put the "VCLTee" prefix in 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

dwpss
Newbie
Newbie
Posts: 11
Joined: Wed Dec 14, 2022 12:00 am

Re: Install TeeChart VCL with Source into Delphi 10.4 Community

Post by dwpss » Thu Jan 19, 2023 12:17 am

No difference.

Screenshot 2023-01-18 191608.png
Screenshot 2023-01-18 191608.png (40.86 KiB) Viewed 12225 times

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

Re: Install TeeChart VCL with Source into Delphi 10.4 Community

Post by Yeray » Thu Jan 19, 2023 8:31 am

Hello,

Does the path ("C:\Delphi\TeeChart Pro VCL FMX Source Code\Source\VCL") contain the TeeChart prefixed units?
Are you trying with a new simple project?

The steps I just did:

- Install TeeChart v2022.36 binary version. You need this if you want to access the components at design-time. It will also allow you to install the help files and examples locally (the source code installer doesn't include them).
- Open the IDE. Add the VCLTee prefix to the "unit scope names". Create a new project. Drop a TChart component into the form. Make sure it builds and runs fine. Close the IDE.
- Install TeeChart v2022.36 source code version. Run TeeRecompile from command line with the -generateunits 27 argument to generate the prefixed units without even trying to build them.
mstsc_YXIovU3Bu6.png
mstsc_YXIovU3Bu6.png (74.14 KiB) Viewed 12210 times
- Open the IDE again. Correct the paths. Create a new project. Drop a TChart component into the form. Make sure it builds and runs fine. Try Ctrl+Click to the TChart class to see if the sources are found and navigation works fine.
mstsc_Fx91X7hws6.png
mstsc_Fx91X7hws6.png (44.5 KiB) Viewed 12210 times
RAD10.4Community_TeeChart202236Sources.png
RAD10.4Community_TeeChart202236Sources.png (86.96 KiB) Viewed 12210 times
mstsc_rRBrk2DmbN.png
mstsc_rRBrk2DmbN.png (76.06 KiB) Viewed 12210 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

dwpss
Newbie
Newbie
Posts: 11
Joined: Wed Dec 14, 2022 12:00 am

Re: Install TeeChart VCL with Source into Delphi 10.4 Community

Post by dwpss » Wed Jan 25, 2023 4:10 pm

Thats seems to get it working.

pssdw

Post Reply