Error compiling TeeQR938 with Delphi 11.3, TeeChart Pro VLC FMX with Source version 2023.38..230607,, Quick Report Pro 6

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Mark Mayes
Newbie
Newbie
Posts: 9
Joined: Tue Jul 11, 2023 12:00 am

Error compiling TeeQR938 with Delphi 11.3, TeeChart Pro VLC FMX with Source version 2023.38..230607,, Quick Report Pro 6

Post by Mark Mayes » Tue Oct 03, 2023 2:43 pm

I am having a problem getting package TeeQR938 to compile. I’ve found similar issues in the forum, but none of the steps mentioned solve the issue. Here are the particulars.

- I am using TeeChart Pro VLC FMX with Source version 2023.38..230607, which is installed in C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2023.38.

- I have Quick Report 6 Professional installed.

- I’m using Embarcadero® Delphi 11 Version 28.0.47991.2819 (RAD Studio 11.3 Patch 1).

- I’m on Windows 11 Professional 64-bit build 22621.2283.

When building (the 32-bit release version), I get the following two errors:
- [dcc32 Error] TeCanvas.pas(5976): E2010 Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanvas.TTeeCanvas'
- [dcc32 Error] TeCanvas.pas(8742): E2010 Incompatible types: 'TTeeCanvas' and 'TTeeCanvas3D'

Other relevant information:
- Unit scope names include VCLTee;FMXTee
- TQR928 has been modified so that the requires section contains QRWRunD11 instead of the default value.
- I can compile and run a simple project with a single TChart on the form.
- Similarly, I can compile and run a simple project with a single Quick Report on the form.
- Library path includes both C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2023.38\TeeTree\Compiled\Delphi28.win32\Lib and C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2023.38\Compiled\Delphi28.win32\Lib.
- Out of desperation, I’ve also tried adding the paths C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2023.38\Source and C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2023.38\Source\VCL both before and after the two folders listed above. These two are currently the first two folders in the path list.
- The Design Packages contain TeeChart Pro 2023 for FireMonkey Components, TeeChart Pro 2023 VCL Components, TeeTree 2 Components, and TeeTree for Fire=Monkey. No other TeeChart related packages are listed.

I’m assuming that there is a simple solution, but I can’t see it. Please advise how to proceed. Thank you.
--Mark

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

Re: Error compiling TeeQR938 with Delphi 11.3, TeeChart Pro VLC FMX with Source version 2023.38..230607,, Quick Report P

Post by Yeray » Wed Oct 04, 2023 9:50 am

Hello,
Mark Mayes wrote:
Tue Oct 03, 2023 2:43 pm
I’ve also tried adding the paths C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2023.38\Source and C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2023.38\Source\VCL both before and after the two folders listed above. These two are currently the first two folders in the path list.
Try putting the "Source\VCL" above the "Source" folder.

Also, remove any TeeChart entry from the "Browsing path" and "Debug DCU path" lists.
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

Mark Mayes
Newbie
Newbie
Posts: 9
Joined: Tue Jul 11, 2023 12:00 am

Re: Error compiling TeeQR938 with Delphi 11.3, TeeChart Pro VLC FMX with Source version 2023.38..230607,, Quick Report P

Post by Mark Mayes » Wed Oct 04, 2023 1:20 pm

Thanks for the quick reply. I should have mentioned that I had tried the paths ordered both ways, but I changed it again to be sure. I cleared the entries from both the browsing path (only TeeTree was there, but I removed it) and the debug DCU path. I'm still getting the same errors. I tried building after each change so I could determine and report which step worked, but no change worked. Changes were cumulative, so now all 3 are in place.

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

Re: Error compiling TeeQR938 with Delphi 11.3, TeeChart Pro VLC FMX with Source version 2023.38..230607,, Quick Report P

Post by Yeray » Thu Oct 05, 2023 12:15 pm

Hello,

I'm sorry for the inconvenience generated.
I assumed the "Source\VCL" folder contains the prefixed units. Could you please check it?
Anyway, I would build TeeChart sources again with TeeRecompile. Try running TeeRecompile with high privileges (as administrator) to make sure the compiled packages and units can be copied.
After compiling&installing TeeChart with TeeRecompile, open the IDE and check the paths again.
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

Mark Mayes
Newbie
Newbie
Posts: 9
Joined: Tue Jul 11, 2023 12:00 am

Re: Error compiling TeeQR938 with Delphi 11.3, TeeChart Pro VLC FMX with Source version 2023.38..230607,, Quick Report P

Post by Mark Mayes » Thu Oct 05, 2023 2:54 pm

Your assumption about the Source\VCL folder was correct. It contained the prefixed units.
I ran TeeRecompile with administrator privileges (I had tried it before, but not as administrator). It restored the entries in the "Browsing path" and in the "Debug DCU path" lists that I had removed previously. I get the same errors on trying to compile the package. Don't worry too much about the inconvenience. I've been installing components into Delphi versions for about 25 years now, and there are always some things each time that are a puzzle.

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

Re: Error compiling TeeQR938 with Delphi 11.3, TeeChart Pro VLC FMX with Source version 2023.38..230607,, Quick Report P

Post by Yeray » Mon Oct 09, 2023 7:11 am

Hello,

Have you tried the "Tee9QR6D28" packages from the "Integration for QuickReport" in the Downloads?
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

Mark Mayes
Newbie
Newbie
Posts: 9
Joined: Tue Jul 11, 2023 12:00 am

Re: Error compiling TeeQR938 with Delphi 11.3, TeeChart Pro VLC FMX with Source version 2023.38..230607,, Quick Report P

Post by Mark Mayes » Mon Oct 09, 2023 3:10 pm

I’m getting this message:

Can’t load package C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\DclTee9QR6D28.bpl. The specified module could not be found.

All dcu and dcp files have been copied to Delphi’s lib folder. Run-time BPLs are in the System32 / SysWOW64 folders.

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

Re: Error compiling TeeQR938 with Delphi 11.3, TeeChart Pro VLC FMX with Source version 2023.38..230607,, Quick Report P

Post by Yeray » Wed Oct 11, 2023 7:41 am

Hello,

I've just rebuilt the Tee9QR6D28 packages and updated the zip in the same location. Could you please try it again?
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

Post Reply