Hi
We have bought the source code and compiled and installed TeeChart successfully using the TeeRecompile utility.
A test delphi project builds ok.
I need to rebuild from the VCL packages because 1) it's part of our build process and 2) I want to produce the new Modern 64-bit libraries for use with the new C++ Builder compiler.
All the packages build OK except TeeUI929.bpl. where I get these errors:
[dcc32 Error] TeCanvas.pas(5979): E2010 Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanvas.TTeeCanvas'
[dcc32 Error] TeCanvas.pas(8745): E2010 Incompatible types: 'TTeeCanvas' and 'TTeeCanvas3D'
[dcc32 Fatal Error] TeeGDIPlus.pas(293): F2063 Could not compile used unit 'TeCanvas.pas'
This happens if I'm building the 32 bit or 64-bit (Modern) target. I have folowed the advice elsewhere on this forum about setting paths and VCLTee is in the unit scope name, but this error persists.
How do I overcome this?
Andy
Cannot Rebuild TeeChart in RAD Studio 12.1 VCL
Re: Cannot Rebuild TeeChart in RAD Studio 12.1 VCL
In the end I gave up with the IDE, took the Verbose output from the TeeRecompile.exe and built a batch file with the commands adjusted to look at and save files to win64x instead of win64 and added -JF:COFFI to the end of each build command.
This built the 64 bit .lib files needed by C++ Builder's new 64 bit compiler and my test C++ project builds and runs properly, so it looks good.
The command issued by the IDE to build the packages is massive compared to the one produced by TeeRecompile.exe and I'm thinking that there is a bad path or directive (or something else!) in the IDE generated command. It's not related to the new 64 bit output, because the 12.1 IDE cannot rebuild in 32 bit either.
As my batch file is reusable as part of a build, I'm not intending to figure out what was incorrect - I'm a C++ dev and not a Delphi expert - but will supply the IDE produced path if anyone at Steema wants to analyse it...
Andy
This built the 64 bit .lib files needed by C++ Builder's new 64 bit compiler and my test C++ project builds and runs properly, so it looks good.
The command issued by the IDE to build the packages is massive compared to the one produced by TeeRecompile.exe and I'm thinking that there is a bad path or directive (or something else!) in the IDE generated command. It's not related to the new 64 bit output, because the 12.1 IDE cannot rebuild in 32 bit either.
As my batch file is reusable as part of a build, I'm not intending to figure out what was incorrect - I'm a C++ dev and not a Delphi expert - but will supply the IDE produced path if anyone at Steema wants to analyse it...
Andy
Re: Cannot Rebuild TeeChart in RAD Studio 12.1 VCL
Hello,
The lastest TeeChart release, v2023.39, was built before this new RAD update, so it still doesn't support the new compiler.
We are working on the new version which will support it.
I hope we can publish it later today or tomorrow.
The lastest TeeChart release, v2023.39, was built before this new RAD update, so it still doesn't support the new compiler.
We are working on the new version which will support it.
I hope we can publish it later today or tomorrow.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 2
- Joined: Thu Sep 14, 2023 12:00 am
Re: Cannot Rebuild TeeChart in RAD Studio 12.1 VCL
I get the same error with build 2024.40. It works with the 64 bit version but not the 32 bit version.
Re: Cannot Rebuild TeeChart in RAD Studio 12.1 VCL
Hello,
This error:
To solve it, you can add the
This error:
Typically means the compiler finds the prefixed unit (VCLTee.*) but can't identify it correctly.Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanvas.TTeeCanvas'
To solve it, you can add the
VCLTee
prefix to the "unit scope names" in the options.Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 2
- Joined: Thu Sep 14, 2023 12:00 am
Re: Cannot Rebuild TeeChart in RAD Studio 12.1 VCL
Thanks. It was already in the unit scope field. Do you have any other suggestions? I am able to compile 64-bit applications but not 32-bit ones.
Re: Cannot Rebuild TeeChart in RAD Studio 12.1 VCL
Hello,
Note there's a "unit scope names" section for every platform. Please double check you have the "VCLTee" prefix in the "unit scope names" for the "Windows 32-bit" platform.
Also check the library path is correct. Ie, it may contain a reference to the "Source" path, where it should be "Source\VCL"
Note there's a "unit scope names" section for every platform. Please double check you have the "VCLTee" prefix in the "unit scope names" for the "Windows 32-bit" platform.
Also check the library path is correct. Ie, it may contain a reference to the "Source" path, where it should be "Source\VCL"
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |