Hello,
I am using the latest source code edition of TChart (with Delphi XE7) and I was wondering which path should I add to my projects so that I can trace some TChart related functions. I installed TChart using the installer and I only have int the Library Path the compiled library like ...Sources\Compiled\Delphi21.win32\Lib. Adding the .../Sources or .../Sources/VCL gives me errors when compiling.
Regards
Question about files path
Re: Question about files path
Hello,
You should better add the "Sources\Compiled\Delphi21.win32\Lib" path, that contains the compiled units.
Adding the Sources\VCL should work for VCL projects and adding Sources\FMX should work for FMX projects (you may also have to add the Sources path, but always below the Sources\VCL or Sources\FMX), but note this way you'll always be recompiling TeeChart sources that isn't necessary in most cases and probably isn't optimal either.
You should better add the "Sources\Compiled\Delphi21.win32\Lib" path, that contains the compiled units.
Adding the Sources\VCL should work for VCL projects and adding Sources\FMX should work for FMX projects (you may also have to add the Sources path, but always below the Sources\VCL or Sources\FMX), but note this way you'll always be recompiling TeeChart sources that isn't necessary in most cases and probably isn't optimal either.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 60
- Joined: Fri Nov 22, 2013 12:00 am
Re: Question about files path
I also wondered how to do that. I either did something terribly wrong, or adding the source folder isn't going to help you since the PAS files are not prefixed with stuff like "VCLTee" and the IDE isn't going to find them.
Re: Question about files path
Hello,
If you are modifying TeeChart sources, the recommended way to go is by modifying the units at the Sources folder, run TeeRecompile and use the "Sources\Compiled\Delphi21.win32\Lib" library path. This way, you'll be sure to be using the same code in both VCL and FMX projects.
However, if you only use with VCL or FMX, you are free to run TeeRecompile once, directly work with the units at Sources\VCL or Sources\FMX and use that as library path.
First note TeeRecompile, in an initial step, takes the units from Sources adds the VCLTee/FMXTee prefixes and puts them to the Sources\VCL and Sources\FMX folders.jens.mertelmeyer wrote:I also wondered how to do that. I either did something terribly wrong, or adding the source folder isn't going to help you since the PAS files are not prefixed with stuff like "VCLTee" and the IDE isn't going to find them.
If you are modifying TeeChart sources, the recommended way to go is by modifying the units at the Sources folder, run TeeRecompile and use the "Sources\Compiled\Delphi21.win32\Lib" library path. This way, you'll be sure to be using the same code in both VCL and FMX projects.
However, if you only use with VCL or FMX, you are free to run TeeRecompile once, directly work with the units at Sources\VCL or Sources\FMX and use that as library path.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |