HowTo setup Paths in the IDE

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Yeray
Site Admin
Site Admin
Posts: 8704
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

HowTo setup Paths in the IDE

Post by Yeray » Thu Apr 02, 2015 2:54 pm

This is a general post trying to serve as a guidance for those who have problems with the paths or just for those curious!

First of all, note a difference between Windows 32 and 64bits (Wikipedia):
  • In 64bit Windows:
    • Windows\System32 is the folder for the 64bit runtime libraries.
    • Windows\SysWOW64 is the folder for the 32bit runtime libraries.
  • In 32bit Windows:
    • Windows\System32 is the folder for the 32bit runtime libraries.
Also note the binary installers are always built with the latest versions of the respective IDEs, so please make sure your IDE is up to date to avoid compatibility issues.

TeeInstall utility is shipped with binary installations. This utility is a subset of TeeRecompile (tool shipped wit the SourceCode version) that tries to install/uninstall TeeChart components into the given IDE.
If you suspect TeeChart was wrongly installed, we suggest to reinstall TeeChart running TeeInstall utility in the TeeChart installation folder. Note you may have to run it twice, one to uninstall the component from the IDE, and a second one to install it again. This process doesn't remove the folder structure of the TeeChart installation and you won't have to register the component again; it just uninstalls the component from the target IDE if found, otherwise, it installs the component present in the same folder as TeeInstall being run into the target IDE.

SourceCode customers with installation problems can either build and reinstall TeeChart directly using TeeRecompile. Note TeeRecompile generates a TeeInstall for each IDE it compiles the TeeChart sources with, so SourceCode customers can also use TeeInstall if they wish.

Here there are some instructions to make sure the packages and the paths loaded in the IDE are correct:
  1. Open the IDE with no project loaded.
  2. From RAD XE2, make sure you have "VCLTee" (for VCL projects) or "FMXTee" (for FMX projects) in the unit scope names.
  3. Go to "Component/Install Packages...". In this list, check the TeeChart Pro components are selected and not the Lite/Standard version that was shipped with the IDE.
    TeeChart components.png
    TeeChart components.png (2.58 KiB) Viewed 1633 times
  4. Delphi personality: Go to "Tools/Options.../Environment Options/Delphi Options/Library". Here check the "Library path" and "Debug DCU path". Check the following paths are on the TOP of the lists:

    32-bit Windows:
    Library path wrote: \Delphi26.win32\Lib
    Debug DCU path wrote: \Delphi26.win32\Lib
    64-bit Windows:
    Library path wrote: \Delphi26.win64\Lib
    Debug DCU path wrote: \Delphi26.win64\Lib
    OS X:
    Library path wrote: \Delphi26.osx32\Lib
    Debug DCU path wrote: \Delphi26.osx32\Lib
    iOS Device - 32 bit:
    Library path wrote: \Delphi26.iOSDevice\Lib
    Debug DCU path wrote: \Delphi26.iOSDevice\Lib
    iOS Device - 64 bit:
    Library path wrote: \Delphi26.iOSDevice64\Lib
    Debug DCU path wrote: \Delphi26.iOSDevice64\Lib
    iOS Simulator:
    Library path wrote: \Delphi26.iossimulator\Lib
    Debug DCU path wrote: \Delphi26.iossimulator\Lib
    Android:
    Library path wrote: \Delphi26.android\Lib
    Debug DCU path wrote: \Delphi26.android\Lib
  5. C++Builder personality: Go to "Tools/Options.../Environment Options/C++ Options/Paths and Directories". Here check the "System Include path" and "Library path". Check the following paths are on the TOP of the lists:

    32-bit Windows:
    Note since RAD 10 Seattle there are two C++ Compilers and two tabs ("Compiler" and "Classic Compiler"). Both should contain the same references:
    System Include path wrote: \Delphi26.win32\Include
    Library path wrote: \Delphi26.win32\Lib
    \Delphi26.win32\Lib\Obj
    64-bit Windows:
    System Include path wrote: \Delphi26.win64\Include
    Library path wrote: \Delphi26.win64\Lib
    \Delphi26.win64\Lib\Obj
    OS X:
    System Include path wrote: \Delphi26.osx32\Include
    Library path wrote: \Delphi26.osx32\Lib
    \Delphi26.osx32\Lib\Obj
    iOS Simulator:
    System Include path wrote: \Delphi26.iossimulator\Include
    Library path wrote: \Delphi26.iossimulator\Lib
    \Delphi26.iossimulator\Lib\Obj
  • Notice:
  • The paths above are not complete; they are relative to where you installed TeeChart. Ie, if you've installed TeeChart at
    "C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL 2019"
    where says "\Delphi26.win32\Lib" it's meant to be:
    "C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL 2019\Delphi26.win32\Lib"
  • The references above are for RAD Studio 10.3 Rio, that is internally named "Delphi26". Here it is a list of the paths for the other IDEs with their internal names:
    • Delphi 7:
      Relative Path for Delphi 7 wrote:\Delphi7\
    • RAD Studio 2007:
      Relative Path for RAD Studio 2007 wrote:\Delphi11\
    • RAD Studio 2009:
      Relative Path for RAD Studio 2009 wrote:\Delphi12\
    • RAD Studio 2010:
      Relative Path for RAD Studio 2010 wrote:\Delphi14\
    • RAD Studio XE:
      Relative Path for RAD Studio XE wrote:\Delphi15\
    • RAD Studio XE2:
      Relative Path for RAD Studio XE2 wrote:\Delphi16.win32\
      \Delphi16.win64\
      \Delphi16.ios\
      \Delphi16.osx32\
    • RAD Studio XE3:
      Relative Path for RAD Studio XE3 wrote:\Delphi17.win32\
      \Delphi17.win64\
      \Delphi17.osx32\
    • RAD Studio XE4:
      Relative Path for RAD Studio XE4 wrote:\Delphi18.win32\
      \Delphi18.win64\
      \Delphi18.osx32\
      \Delphi18.iOSDevice\
      \Delphi18.iOSSimulator\
    • RAD Studio XE5:
      Relative Path for RAD Studio XE5 wrote:\Delphi19.win32\
      \Delphi19.win64\
      \Delphi19.osx32\
      \Delphi19.iOSDevice\
      \Delphi19.iOSSimulator\
      \Delphi19.android\
    • RAD Studio XE6:
      Relative Path for RAD Studio XE6 wrote:\Delphi20.win32\
      \Delphi20.win64\
      \Delphi20.osx32\
      \Delphi20.iOSDevice\
      \Delphi20.iOSSimulator\
      \Delphi20.android\
    • RAD Studio XE7:
      Relative Path for RAD Studio XE7 wrote:\Delphi21.win32\
      \Delphi21.win64\
      \Delphi21.osx32\
      \Delphi21.iOSDevice\
      \Delphi21.iOSSimulator\
      \Delphi21.android\
    • RAD Studio XE8:
      Relative Path for RAD Studio XE8 wrote:\Delphi22.win32\
      \Delphi22.win64\
      \Delphi22.osx32\
      \Delphi22.iOSDevice\
      \Delphi22.iOSDevice64\
      \Delphi22.iOSSimulator\
      \Delphi22.android\
    • RAD Studio 10 Seattle:
      Relative Path for RAD Studio 10 Seattle wrote:\Delphi23.win32\
      \Delphi23.win64\
      \Delphi23.osx32\
      \Delphi23.iOSDevice\
      \Delphi23.iOSDevice64\
      \Delphi23.iOSSimulator\
      \Delphi23.android\
    • RAD Studio 10.1 Berlin:
      Relative Path for RAD Studio 10.1 Berlin wrote:\Delphi24.win32\
      \Delphi24.win64\
      \Delphi24.osx32\
      \Delphi24.iOSDevice\
      \Delphi24.iOSDevice64\
      \Delphi24.iOSSimulator\
      \Delphi24.android\
    • RAD Studio 10.2 Tokyo:
      Relative Path for RAD Studio 10.2 Tokyo wrote:\Delphi25.win32\
      \Delphi25.win64\
      \Delphi25.osx32\
      \Delphi25.iOSDevice\
      \Delphi25.iOSDevice64\
      \Delphi25.iOSSimulator\
      \Delphi25.android\
    • RAD Studio 10.3 Rio:
      Relative Path for RAD Studio 10.3 Rio wrote:\Delphi26.win32\
      \Delphi26.win64\
      \Delphi26.osx32\
      \Delphi26.iOSDevice\
      \Delphi26.iOSDevice64\
      \Delphi26.iOSSimulator\
      \Delphi26.android\
  • As said above, please check the above paths are on the top of their respective lists, and also check there's no other reference to an older TeeChart installation.
After checking all the above, try to build and run a new simple project with just a chart on the form. If it doesn't work fine, the complete installation of the component or the IDE installation may be corrupt. Then, we'd suggest you to fully uninstall TeeChart (running the uninstaller), repair the entire IDE with the appropriate disk and install TeeChart 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

PoLabs
Newbie
Newbie
Posts: 13
Joined: Tue Aug 04, 2015 12:00 am

Re: HowTo setup Paths in the IDE

Post by PoLabs » Mon Oct 05, 2015 7:48 am

Great stuff! Thanks for that!

RG Solutions
Newbie
Newbie
Posts: 1
Joined: Mon Jun 06, 2016 12:00 am

Re: HowTo setup Paths in the IDE

Post by RG Solutions » Mon Jun 20, 2016 8:44 pm

I could not find a general location for a note to you about installs, so I will use this one.

When the setup processing is run, the setup will only setup one of the two 32bit C++ compilers. The "classic" 32bit compiler is not setup for the TeeChart processing so it is necessary to go in to the options and manually set it up.

Would you please consider setting up both of the 32bit C++ compilers during the install so it will not add to the confusion when it cannot find the files.

Thanks,

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

Re: HowTo setup Paths in the IDE

Post by Yeray » Tue Jun 21, 2016 3:28 pm

Hello,
RG Solutions wrote:I could not find a general location for a note to you about installs, so I will use this one.
It's fine.
RG Solutions wrote:When the setup processing is run, the setup will only setup one of the two 32bit C++ compilers. The "classic" 32bit compiler is not setup for the TeeChart processing so it is necessary to go in to the options and manually set it up.

Would you please consider setting up both of the 32bit C++ compilers during the install so it will not add to the confusion when it cannot find the files.
The installer should already do it. I've cleaned the paths in my Berlin IDE and I've run TeeInstall to reinstall the v2016.18 on it, and I see the paths correctly added for both C++ compilers.
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

AlfChr
Newbie
Newbie
Posts: 7
Joined: Thu Dec 20, 2018 12:00 am

Re: HowTo setup Paths in the IDE

Post by AlfChr » Thu Jul 25, 2019 3:07 pm

After installing on a new computer and not checking the install of the free version, I still get problems.

Looking at the Environment values, I find that the path looks strangely. Like for

TEEINCPATH i find
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2019.27\Source\..\Compiled\Delphi26.win32\Include

TEELIBPATH
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2019.27\Source\..\Compiled\Delphi26.win32\Lib

and
TEESRCPATH
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2019.27\Source\VCL;C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2019.27\Source\FMX

Seems nothing is found of neither source nor objects.

Marc
Site Admin
Site Admin
Posts: 920
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: HowTo setup Paths in the IDE

Post by Marc » Fri Jul 26, 2019 4:31 pm

Hello,

Re.

Code: Select all

C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2019.27\Source\VCL;C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2019.27\Source\FMX
Is that correct path for the source? Is there a source folder at that folder? Do the other folders exist and what symptoms, what error is being reported?

Have you run the TeeRecompile.exe compiler utility?

With thanks.
Regards,
Marc
Steema Support

AlfChr
Newbie
Newbie
Posts: 7
Joined: Thu Dec 20, 2018 12:00 am

Re: HowTo setup Paths in the IDE

Post by AlfChr » Sat Jul 27, 2019 9:52 pm

When reinstalling, it turns out the problems come from TeeRebuild where the relative paths don't work in Norwegian setup of Windows.

So now I tries to use absolute paths.

AlfChr
Newbie
Newbie
Posts: 7
Joined: Thu Dec 20, 2018 12:00 am

Re: HowTo setup Paths in the IDE

Post by AlfChr » Sun Jul 28, 2019 11:39 am

Which didn't help :-(

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

Re: HowTo setup Paths in the IDE

Post by Yeray » Mon Jul 29, 2019 6:59 am

What error are you getting when running TeeRecompile?
Do relative paths work fine inside the IDE?
Does the TeeChart binary version install and work fine?
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

AlfChr
Newbie
Newbie
Posts: 7
Joined: Thu Dec 20, 2018 12:00 am

Re: HowTo setup Paths in the IDE

Post by AlfChr » Mon Jul 29, 2019 11:50 am

When running the TeeRecompiler, no error messages are made.
But the Environment paths get rather strange, like

D:\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2019.27\Source\..\Compiled\Delphi26.win32\Include
Where maybe it should look otherwise.

When opening TeeRecompile I get a following screen:
http://folk.uio.no/achristo/RAD%20studi ... 0setup.png

Which gives following TEEINCPATH D:\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2019.27\Source\..\Compiled\Delphi26.win32\Include
and TEESRCPATH D:\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2019.27\Source\..\Compiled\Delphi26.win32\Lib
I guess the first parameter which is shown as Source in program gives first part of the erroreous path while second part stems from ..\Compiled

I use Norwegian computer with Norwegian locale and all kinds of Windows specific texts are translated. SO maybe the installer is dependent on some localized variables not recognized by the program??

Hope not

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

Re: HowTo setup Paths in the IDE

Post by Yeray » Tue Jul 30, 2019 6:19 am

Hello,
D:\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2019.27\Source\..\Compiled\Delphi26.win32\Include
D:\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2019.27\Source\..\Compiled\Delphi26.win32\Lib
These path looks correct to me. You can modify them to the following, but I don't expect them to be causing any problem:
D:\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2019.27\Compiled\Delphi26.win32\Include
D:\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2019.27\Compiled\Delphi26.win32\Lib

If TeeRecompile is working without errors, what error are you getting when compiling a new simple project with just a chart on the form?

Have you added "VCLTee;FMXTee" to the "unit scope names"?
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

AlfChr
Newbie
Newbie
Posts: 7
Joined: Thu Dec 20, 2018 12:00 am

Re: HowTo setup Paths in the IDE

Post by AlfChr » Tue Jul 30, 2019 6:52 pm

Without FMXtee declared, the compiler complied about installed with wrong Delphi version starting to recompile units in the debug path.

Marc
Site Admin
Site Admin
Posts: 920
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: HowTo setup Paths in the IDE

Post by Marc » Tue Aug 13, 2019 11:09 am

Hello,

Please soul you confirm if this issue is still unresolved?

With thanks.
Regards,
Marc Meumann
Steema Support

Post Reply