Page 1 of 1

VCLTee.TeeAnimate.dcu problem in XE3

Posted: Mon Dec 24, 2012 5:59 pm
by 16564435
Hello, our build process forces us to build all our our bpls from source (it's mandated that we do this), which we've done with Teechart in the past without issue, but I'm having some issues with the latest version (downloaded last week). From what I've gathered I should be building using the *17.dpk files for C++ Builder XE3. I was able to build the Tee917.bpl (Tee917.dpk) without issue, but when I attempt to build TeeUI917.bpl I get the following issue:

[dcc32 Fatal Error] TeeUI917.dpk(105): F1026 File not found: 'VCLTee.TeeAnimate.dcu'

I don't see the VCLTee.TeeAnimate.dcu anywhere on the system, should something I haven't done yet be generating this file? The only related ref I see is the TeeAnimate.pas file itself, but not VclTee.TeeAnimate.pas. I noticed that if I run the regular installer (not the source installer) then that file shows up in "C:\Program Files\Steema Software\TeeChart 2012 for RAD XE3\Delphi17.win32\Lib", so it seems like something should be generating it because it's not present in the source only installer. Any help is appreciated, unfortunately "just use what's in the regular install" isn't an acceptable option for us.

Thanks,
Jamie

Re: VCLTee.TeeAnimate.dcu problem in XE3

Posted: Thu Dec 27, 2012 3:06 pm
by yeray
Hi Jamie,

The unit scopes appeared with XE2 forcing us to add the VCLTee and FMXTee prefixes to our units. So, we need to have two versions of each unit, even if the only difference between them is the unit name. But, to avoid having to maintain two files that are basically the same (they only differ on the file name and in the first line in the content, where the unit name is specified), we modified TeeRecompile to take the source files (ie. Series.pas), generate the two versions with the prefixes and the correct unit names (ie: VCLTee.Series.pas, FMXTee.Series.pas) and move them to the Lib folder.
I guess your "build tool" should do something similar.