Page 1 of 1
Install TeeChart VCL with Source into Delphi 10.4 Community
Posted: Fri Jan 13, 2023 6:16 pm
by 16594950
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
Re: Install TeeChart VCL with Source into Delphi 10.4 Community
Posted: Tue Jan 17, 2023 12:58 pm
by yeray
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
Re: Install TeeChart VCL with Source into Delphi 10.4 Community
Posted: Tue Jan 17, 2023 7:00 pm
by 16594950
Same results.
pssdw
Re: Install TeeChart VCL with Source into Delphi 10.4 Community
Posted: Tue Jan 17, 2023 8:31 pm
by yeray
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?
Re: Install TeeChart VCL with Source into Delphi 10.4 Community
Posted: Tue Jan 17, 2023 11:44 pm
by 16594950
I ran TeeRecompile "as Administrator", here are the options and result...
- 2023-01-17 18_34_42-.png (35.43 KiB) Viewed 12255 times
- 2023-01-17 18_38_04-TeeChart Recompilation Tool.png (4.53 KiB) Viewed 12255 times
Re: Install TeeChart VCL with Source into Delphi 10.4 Community
Posted: Wed Jan 18, 2023 7:36 pm
by yeray
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".
Re: Install TeeChart VCL with Source into Delphi 10.4 Community
Posted: Thu Jan 19, 2023 12:17 am
by 16594950
No difference.
- Screenshot 2023-01-18 191608.png (40.86 KiB) Viewed 12223 times
Re: Install TeeChart VCL with Source into Delphi 10.4 Community
Posted: Thu Jan 19, 2023 8:31 am
by yeray
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 (74.14 KiB) Viewed 12208 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 (44.5 KiB) Viewed 12208 times
- RAD10.4Community_TeeChart202236Sources.png (86.96 KiB) Viewed 12208 times
- mstsc_rRBrk2DmbN.png (76.06 KiB) Viewed 12208 times
Re: Install TeeChart VCL with Source into Delphi 10.4 Community
Posted: Wed Jan 25, 2023 4:10 pm
by 16594950
Thats seems to get it working.
pssdw