Delphi XE2 error compiling package using TeeTree

TeeTree VCL for Borland Delphi and C++ Builder.
Post Reply
Collinor
Newbie
Newbie
Posts: 15
Joined: Wed Oct 31, 2007 12:00 am

Delphi XE2 error compiling package using TeeTree

Post by Collinor » Fri Oct 21, 2011 9:02 am

We installed TeeChart 2011 source code for XE2 of Oct, 4th and use Delphi XE2, Update 1.

When we compile a package that uses TeeTree we get the following error:

[DCC Fatal error] Unit1.pas(6): E2411 Unit TeeTree in package TeeTree2D16Tee9 refers to unit VCLTee.TeePenDlg which is not found in any package. Packaged units must refer only to packaged units

The requires section of our package is as follows:

Code: Select all

requires
  rtl,
  vcl,
  TeeTree2D16Tee9,
  TeeLanguage916,
  TeePro916,
  TeeUI916,
  Tee916;
The unit of which uses TeeTree looks like this:

Code: Select all

unit Unit1;

interface

uses
  TeeTree;

type
  TMyTree = class(TTree)

  end;

implementation

end.
Any ideas?

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

Re: Delphi XE2 error compiling package using TeeTree

Post by Yeray » Fri Oct 21, 2011 9:48 am

Hello Collinor,

I've been able to prepare a simple package like the one you described. Find it attached:
test TeeTree package.zip
(8 KiB) Downloaded 1633 times
Do you see anything relevant I've missed to reproduce the problem?
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

Collinor
Newbie
Newbie
Posts: 15
Joined: Wed Oct 31, 2007 12:00 am

Re: Delphi XE2 error compiling package using TeeTree

Post by Collinor » Fri Oct 21, 2011 1:06 pm

Hello Yeray,

No, you did not miss anything relevant. With your package I can reproduce the error, too.

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

Re: Delphi XE2 error compiling package using TeeTree

Post by Yeray » Fri Oct 21, 2011 1:35 pm

Hello Collinor,

Please, check the paths in your IDE. In the Delphi/32-bit Windows/Library path there should be the following references:
"%TeeChartInstallationPath%\Sources\Compiled\Delphi16.iOS\Lib"
"%TeeChartInstallationPath%\TeeTree\Compiled\Delphi16.win32\Lib"
"%TeeChartInstallationPath%\Sources\Compiled\Delphi16.win32\Lib"
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

Collinor
Newbie
Newbie
Posts: 15
Joined: Wed Oct 31, 2007 12:00 am

Re: Delphi XE2 error compiling package using TeeTree

Post by Collinor » Fri Oct 21, 2011 1:52 pm

Hello Yeray,

Problem resolved. I checked the Delphi library path and found some outdated Tee16 packages in path C:\Users\Public\Documents\RAD Studio\9.0\Dcp which were taken in favor of the ones in "%TeeChartInstallationPath%\TeeTree\Compiled\Delphi16.win32\Lib" and "%TeeChartInstallationPath%\Sources\Compiled\Delphi16.win32\Lib"

Thank you.

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

Re: Delphi XE2 error compiling package using TeeTree

Post by Yeray » Fri Oct 21, 2011 2:02 pm

Hi,

I'm glad to hear 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

Post Reply