Page 1 of 1

HowTo setup Paths in the IDE

Posted: Thu Apr 02, 2015 2:54 pm
by yeray
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.
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. 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.
    packages.png
    packages.png (2.43 KiB) Viewed 43409 times
  3. 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: \Delphi23.win32\Lib
    Debug DCU path wrote: \Delphi23.win32\Lib
    64-bit Windows:
    Library path wrote: \Delphi23.win64\Lib
    Debug DCU path wrote: \Delphi23.win64\Lib
    OS X:
    Library path wrote: \Delphi23.osx32\Lib
    Debug DCU path wrote: \Delphi23.osx32\Lib
    iOS Device - 32 bit:
    Library path wrote: \Delphi23.iOSDevice\Lib
    Debug DCU path wrote: \Delphi23.iOSDevice\Lib
    iOS Device - 64 bit:
    Library path wrote: \Delphi23.iOSDevice64\Lib
    Debug DCU path wrote: \Delphi23.iOSDevice64\Lib
    iOS Simulator:
    Library path wrote: \Delphi23.iossimulator\Lib
    Debug DCU path wrote: \Delphi23.iossimulator\Lib
    Android:
    Library path wrote: \Delphi23.android\Lib
    Debug DCU path wrote: \Delphi23.android\Lib
  4. 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:
    System Include path wrote: \Delphi23.win32\Include
    Library path wrote: \Delphi23.win32\Lib
    \Delphi23.win32\Lib\Obj
    64-bit Windows:
    System Include path wrote: \Delphi23.win64\Include
    Library path wrote: \Delphi23.win64\Lib
    \Delphi23.win64\Lib\Obj
    OS X:
    System Include path wrote: \Delphi23.osx32\Include
    Library path wrote: \Delphi23.osx32\Lib
    \Delphi23.osx32\Lib\Obj
    iOS Simulator:
    System Include path wrote: \Delphi23.iossimulator\Include
    Library path wrote: \Delphi23.iossimulator\Lib
    \Delphi23.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 2015"
    where says "\Delphi23.win32\Lib" it's meant to be:
    "C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL 2015\Delphi23.win32\Lib"
  • The references above are for RAD Studio 10 Seattle, that is internally named "Delphi23". Here it is a list of the paths for the other supported 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\
  • 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.