Mismatch in compile versions if the Tee units

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Anders
Newbie
Newbie
Posts: 16
Joined: Tue Jan 24, 2012 12:00 am

Mismatch in compile versions if the Tee units

Post by Anders » Wed Aug 22, 2012 7:37 pm

Win7 64 Pro
Delphi XE2 Update 4

I have - during a period used the Teechart and the TChartEditor successful. Unfortunately, for some reasons I was forced to a system restore (approx 2 weeks old).
And now: I can't compile a project containing the TChartEditor component.

Following errormessage:
[DCC Fatal Error] Main.pas(15): F2051 Unit VCLTee.TeeEdit was compiled with a different version of VCLTee.TeePreviewPanel.TTeePreviewPanel

I tried just to use TeeRecompile with following result:
TeeChart Pro
Compilation started: 22-08-2012 21:35:51

RAD XE2.Win32 v16 (RAD XE v9 Professional)
EXCEPTION:
Text: unit QRTee not found in QRTee.pas
--------------------------------------------

-Who can bring back my TeeChart product in full?

Anders Balslev

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

Re: Mismatch in compile versions if the Tee units

Post by Yeray » Thu Aug 23, 2012 9:13 am

Hi Anders,

First of all, being source code customer, gives you access to both the binary and the source code version. Have you installed the binary version prior to the source code version? It's recommended, since the source code version doesn't include the documentation and the examples.

Second, the error with QuickReport in TeeRecompile could be skipped unselecting QuickReport before compiling the sources with TeeRecompile tool. Have you tried it?

If you still have a "Unit X was compiled with a different version of Y" error when opening the IDE, please check the packages list. There's probably a TeeChart package from a older version (probably the version that was shipped with the IDE) still trying to be loaded. Unselect it.
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

Anders
Newbie
Newbie
Posts: 16
Joined: Tue Jan 24, 2012 12:00 am

Re: Mismatch in compile versions if the Tee units

Post by Anders » Thu Aug 23, 2012 6:08 pm

Hi again

Unfortunately, I'm moving more or less toward the nightmare I had 6 month ago.

I have since last post downloaded the 120613 version of the TeechartPro 2012.
- I executed (unpacked) it (IDE was closed)
- I ran TeeRecompile (accepted to remove previous backups)
- The QuickReport was checked (since I do have QuickReport ver. 5.x)
- Apparently, this time the TeeRecompile ran successfully
- I tried with a Test project, and could successfully add TChart, TDBChart, Charteditor etc.
BUT
Now I - again - have no TQRChart on my Quickreport palette.
If I try to install my existing
DclTee9QR5D16.BPL (the file date was from april this year)
I get following errormessage:
The program could not be started since DclTee9QR5D16.bpl is missing on the computer (???). try to install the program again. A really fuzzy errormessage, since I have selected this file.

If I try to open the project DclTee9QR5D16.dpk, and to build it, I get following errormessage:
[DCC Fatal Error] Tee9QR5D16.dpk(27): E2225 Never-build package 'vcl' must be recompiled

Who can help me to get back the Quickreport TQRChart back

Anders

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

Re: Mismatch in compile versions if the Tee units

Post by Yeray » Fri Aug 24, 2012 8:34 am

Hi Anders,
Anders wrote:Unfortunately, I'm moving more or less toward the nightmare I had 6 month ago.
I'm sorry to hear it.
Let's try to move it ahead.
Anders wrote:- I ran TeeRecompile (accepted to remove previous backups)
Do you mean a message like this?
TeeChart_Backup.png
TeeChart_Backup.png (8.91 KiB) Viewed 11972 times
Note the message above is actually advising the TeeChart Standard files are going to be moved to a backup location, instead of removing anything.
Anders wrote:I have since last post downloaded the 120613 version of the TeechartPro 2012.
- I executed (unpacked) it (IDE was closed)
- I ran TeeRecompile (accepted to remove previous backups)
- The QuickReport was checked (since I do have QuickReport ver. 5.x)
- Apparently, this time the TeeRecompile ran successfully
- I tried with a Test project, and could successfully add TChart, TDBChart, Charteditor etc.
This looks ok.
Anders wrote:BUT
Now I - again - have no TQRChart on my Quickreport palette.
If I try to install my existing
DclTee9QR5D16.BPL (the file date was from april this year)
I get following errormessage:
The program could not be started since DclTee9QR5D16.bpl is missing on the computer (???). try to install the program again. A really fuzzy errormessage, since I have selected this file.

If I try to open the project DclTee9QR5D16.dpk, and to build it, I get following errormessage:
[DCC Fatal Error] Tee9QR5D16.dpk(27): E2225 Never-build package 'vcl' must be recompiled

Who can help me to get back the Quickreport TQRChart back
The runtime package (Tee9QR5D16.dpk) has to be built prior to the design time package (DclTee9QR5D16.dpk).
If you still find problems with it, give it a try to the packages here
The compiled packages were built with TeeChart v2012.05. So you should probably recompile them (Tee9QR5D16.dpk first, DclTee9QR5D16.dpk second).
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

Anders
Newbie
Newbie
Posts: 16
Joined: Tue Jan 24, 2012 12:00 am

Re: Mismatch in compile versions if the Tee units

Post by Anders » Mon Aug 27, 2012 5:39 am

I really think I have done all after your instruction.
My PC is running on a Win 64 OS, but I only work with 32 bit application, so I presume I shall place the 32-bit compiled files as follows:

DclTee9QR5D16.BPL in the C:\Program files(x86)\Embarcadero\RAD Studio\9.0\bin\ - Please confirm that its correct

Tee9QR5D16.BPL in C:\Windows\SysWOW64\ - Please confirm that it's correct

TeeQRTeeReg.dcu + QRTee.dcu + Tee9QR5D16.dcp + DclTee9QR5D16.dcp in C:\Program files(x86)\Embarcadero\Rad studio\9.0\lib\win32\release\ - please confirm that it's correct

When I then open my IDE - goto Components-->Install packages-->select the new DclTee9Q5D16.BPL, following error pops up:
"The program could not be started, since QR5RunNBDEDX2.bpl is missing. Try to reinstall...."

the file QR5RunNBDEDX2.bpl - is it a QR product?
I have searched on my hard drive after the QR5*.bpl, and here I find
QR5RunDX2.bpl
- and -
QR5DesignDXE2.bpl

but not the QR5RunNBDEDX2.bpl

- so - unfortunately - I am not at the goal

Anders

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

Re: Mismatch in compile versions if the Tee units

Post by Yeray » Mon Aug 27, 2012 8:27 am

Hi Anders,
Anders wrote:DclTee9QR5D16.BPL in the C:\Program files(x86)\Embarcadero\RAD Studio\9.0\bin\ - Please confirm that its correct

Tee9QR5D16.BPL in C:\Windows\SysWOW64\ - Please confirm that it's correct

TeeQRTeeReg.dcu + QRTee.dcu + Tee9QR5D16.dcp + DclTee9QR5D16.dcp in C:\Program files(x86)\Embarcadero\Rad studio\9.0\lib\win32\release\ - please confirm that it's correct
Yes. That's correct.
Anders wrote:When I then open my IDE - goto Components-->Install packages-->select the new DclTee9Q5D16.BPL, following error pops up:
"The program could not be started, since QR5RunNBDEDX2.bpl is missing. Try to reinstall...."

the file QR5RunNBDEDX2.bpl - is it a QR product?
I have searched on my hard drive after the QR5*.bpl, and here I find
QR5RunDX2.bpl
- and -
QR5DesignDXE2.bpl

but not the QR5RunNBDEDX2.bpl

- so - unfortunately - I am not at the goal
Sorry, these were the packages for the Non BDE version of QuickReport.
Find here the normal ones.
As said above, the compiled packages included may not work with the version you have installed. If that's the case, open and build the runtime package (Tee9QR5D16.dpk) first, and the design time package (DclTee9QR5D16.dpk) after. Then move/copy the files as you said above. And add the design time package at the packages list.
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

Anders
Newbie
Newbie
Posts: 16
Joined: Tue Jan 24, 2012 12:00 am

Re: Mismatch in compile versions if the Tee units

Post by Anders » Mon Aug 27, 2012 9:25 am

OK - thanks. We are on the right track.
I could install the component, and it appears on the Quickreport component palette.

However.
When I add a quickreport on a form, it can compile.
When I add a TQRChart on the quickreport, I can't compile due to following errormessage:

[DCC Fatal Error] Unit4.pas(8): F2051 Unit QrTee was compiled with a different version of VCLTee.DBChart.TCustomDBChart

(are there any old files I should delete?)

I look forward to next step
Anders

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

Re: Mismatch in compile versions if the Tee units

Post by Yeray » Mon Aug 27, 2012 10:43 am

Hi Anders,

Have you used the files in the compiled folder in the zip or have you rebuilt the packages?
If you used the compiled ones, please try rebuilding the packages as indicated above.
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

Anders
Newbie
Newbie
Posts: 16
Joined: Tue Jan 24, 2012 12:00 am

Re: Mismatch in compile versions if the Tee units

Post by Anders » Tue Aug 28, 2012 5:27 am

Success !!

I think I need to make an effectice clean-up of all the 100..... Teechart files I have on my machine.

1: I compiled the DclT119QR5D16.dpk with a "requires clause" with reference to DclTee916.dcp - should have been DclTeePro916
2: When I recompiled the DclT119QR5D16.dpk, the QRTee.dcu was placed in C:\tmp\TEE9QR5D16\Compiled folder. The old one was still in the lib folder

:D

Thank you

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

Re: Mismatch in compile versions if the Tee units

Post by Yeray » Tue Aug 28, 2012 9:13 am

Hi Anders,

Great! :D
Thanks for sharing
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