Page 1 of 2

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.
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.
    Image
  3. Go to "Component/Install Packages...". In this list, check the TeeChart Pro components are selected and not the Lite/Standard version that were shipped with the IDE.
    packages.png
    packages.png (43.83 KiB) Viewed 12505 times
  4. Delphi personality: Go to "Tools/Options.../Environment Options/Delphi Options/Library". Here check the "Library path" and "Debug DCU path":

    Windows 32-bit:

    \DelphiXX.win32\Lib

    Windows 64-bit:

    \DelphiXX.win64\Lib

    Windows 64-bit (Modern):

    \DelphiXX.win64x\Lib

    MacOS 32-bit:

    \DelphiXX.osx32\Lib

    MacOS 64-bit:

    \DelphiXX.osx64\Lib

    MacOS ARM 64-bit:

    \DelphiXX.osxarm64\Lib

    iOS Device 32-bit:

    \DelphiXX.iOSDevice\Lib

    iOS Device 64-bit:

    \DelphiXX.iOSDevice64\Lib

    iOS Simulator:

    \DelphiXX.iossimulator\Lib

    iOS Simulator ARM 64-bit:

    \DelphiXX.iossimulatorarm64\Lib

    Android 32-bit:

    \DelphiXX.android\Lib

    Android 64-bit:

    \DelphiXX.android64\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":

    Windows 32-bit:
    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

    \DelphiXX.win32\Include

    Library path

    \DelphiXX.win32\Lib
    \DelphiXX.win32\Lib\Obj
    Windows 64-bit:

    System Include path

    \DelphiXX.win64\Include

    Library path

    \DelphiXX.win64\Lib
    \DelphiXX.win64\Lib\Obj
    Windows 64-bit (Modern):

    System Include path

    \DelphiXX.win64x\Include

    Library path

    \DelphiXX.win64x\Lib
    \DelphiXX.win64x\Lib\Obj
    MacOS 32-bit:

    System Include path

    \DelphiXX.osx32\Include

    Library path

    \DelphiXX.osx32\Lib
    \DelphiXX.osx32\Lib\Obj
    iOS Device 64-bit:

    System Include path

    \DelphiXX.iOSDevice64\Include

    Library path

    \DelphiXX.iOSDevice64\Lib
    \DelphiXX.iOSDevice64\Lib\Obj
    iOS Simulator:

    System Include path

    \DelphiXX.iossimulator\Include

    Library path

    \DelphiXX.iossimulator\Lib
    \DelphiXX.iossimulator\Lib\Obj
    Android 32-bit:

    System Include path

    \DelphiXX.android\Include

    Library path

    \DelphiXX.android\Lib
    \DelphiXX.android\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 2024"
    where says "\DelphiXX.win32\Lib" it's meant to be (for RAD 12 Athens):
    "C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL 2024\Delphi29.win32\Lib"
  • Substitute the "DelphiXX" in the references above for your IDE internal name. Here it is a list of the paths for all the IDEs with their internal names:
    • Delphi 7:

      Relative Path for Delphi 7

      \Delphi7\
    • RAD Studio 2007:

      Relative Path for RAD Studio 2007

      \Delphi11\
    • RAD Studio 2009:

      Relative Path for RAD Studio 2009

      \Delphi12\
    • RAD Studio 2010:

      Relative Path for RAD Studio 2010

      \Delphi14\
    • RAD Studio XE:

      Relative Path for RAD Studio XE

      \Delphi15\
    • RAD Studio XE2:

      Relative Path for RAD Studio XE2

      \Delphi16.win32\
      \Delphi16.win64\
      \Delphi16.ios\
      \Delphi16.osx32\
    • RAD Studio XE3:

      Relative Path for RAD Studio XE3

      \Delphi17.win32\
      \Delphi17.win64\
      \Delphi17.osx32\
    • RAD Studio XE4:

      Relative Path for RAD Studio XE4

      \Delphi18.win32\
      \Delphi18.win64\
      \Delphi18.osx32\
      \Delphi18.iOSDevice\
      \Delphi18.iOSSimulator\
    • RAD Studio XE5:

      Relative Path for RAD Studio XE5

      \Delphi19.win32\
      \Delphi19.win64\
      \Delphi19.osx32\
      \Delphi19.iOSDevice\
      \Delphi19.iOSSimulator\
      \Delphi19.android\
    • RAD Studio XE6:

      Relative Path for RAD Studio XE6

      \Delphi20.win32\
      \Delphi20.win64\
      \Delphi20.osx32\
      \Delphi20.iOSDevice\
      \Delphi20.iOSSimulator\
      \Delphi20.android\
    • RAD Studio XE7:

      Relative Path for RAD Studio XE7

      \Delphi21.win32\
      \Delphi21.win64\
      \Delphi21.osx32\
      \Delphi21.iOSDevice\
      \Delphi21.iOSSimulator\
      \Delphi21.android\
    • RAD Studio XE8:

      Relative Path for RAD Studio XE8

      \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

      \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

      \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

      \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

      \Delphi26.win32\
      \Delphi26.win64\
      \Delphi26.osx32\
      \Delphi26.osx64\
      \Delphi26.iOSDevice\
      \Delphi26.iOSDevice64\
      \Delphi26.iOSSimulator\
      \Delphi26.android\
      \Delphi26.android64\
    • RAD Studio 10.4 Sydney:

      Relative Path for RAD Studio 10.4 Sydney

      \Delphi27.win32\
      \Delphi27.win64\
      \Delphi27.osx64\
      \Delphi27.iOSDevice64\
      \Delphi27.iOSSimulator\
      \Delphi27.android\
      \Delphi27.android64\
    • RAD Studio 11 Alexandria:

      Relative Path for RAD Studio 11 Alexandria

      \Delphi28.win32\
      \Delphi28.win64\
      \Delphi28.osx64\
      \Delphi28.osxarm64\
      \Delphi28.iOSDevice64\
      \Delphi28.android\
      \Delphi28.android64\
    • RAD Studio 12 Athens:

      Relative Path for RAD Studio 12 Athens

      \Delphi29.win32\
      \Delphi29.win64\
      \Delphi29.win64x\
      \Delphi29.osx64\
      \Delphi29.osxarm64\
      \Delphi29.iOSDevice64\
      \Delphi29.iossimarm64\
      \Delphi29.android\
      \Delphi29.android64\
  • Please 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.

Re: HowTo setup Paths in the IDE

Posted: Mon Oct 05, 2015 7:48 am
by 16575142
Great stuff! Thanks for that!

Re: HowTo setup Paths in the IDE

Posted: Mon Jun 20, 2016 8:44 pm
by 16478468
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,

Re: HowTo setup Paths in the IDE

Posted: Tue Jun 21, 2016 3:28 pm
by yeray
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.

Re: HowTo setup Paths in the IDE

Posted: Thu Jul 25, 2019 3:07 pm
by 16585173
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.

Re: HowTo setup Paths in the IDE

Posted: Fri Jul 26, 2019 4:31 pm
by Marc
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

Re: HowTo setup Paths in the IDE

Posted: Sat Jul 27, 2019 9:52 pm
by 16585173
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.

Re: HowTo setup Paths in the IDE

Posted: Sun Jul 28, 2019 11:39 am
by 16585173
Which didn't help :-(

Re: HowTo setup Paths in the IDE

Posted: Mon Jul 29, 2019 6:59 am
by yeray
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?

Re: HowTo setup Paths in the IDE

Posted: Mon Jul 29, 2019 11:50 am
by 16585173
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

Re: HowTo setup Paths in the IDE

Posted: Tue Jul 30, 2019 6:19 am
by yeray
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"?

Re: HowTo setup Paths in the IDE

Posted: Tue Jul 30, 2019 6:52 pm
by 16585173
Without FMXtee declared, the compiler complied about installed with wrong Delphi version starting to recompile units in the debug path.

Re: HowTo setup Paths in the IDE

Posted: Tue Aug 13, 2019 11:09 am
by Marc
Hello,

Please soul you confirm if this issue is still unresolved?

With thanks.
Regards,
Marc Meumann

Re: HowTo setup Paths in the IDE

Posted: Mon Sep 30, 2019 9:00 pm
by 16585173
Deleted because not correct

Re: HowTo setup Paths in the IDE

Posted: Mon Oct 07, 2019 9:09 am
by 16585173
Found the culprit.

Seemingly something failed during first installation and made a illegal path in the environment area for the TEEINCPATH and TEELIBPATH as

'C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2019.27\Source\..\Compiled\Delphi26.win32\Include'
and the uninstaller do not clean up in the Current user registry, it was never regenerated each time I tried to reinstall

After uninstalling and run through a registry cleaner which also cleaned up leftover files, I searched for TEELIBPATH in registry and found the error.

After also removing all reminiscents of the Steema Software in the lists and checked registry for more traces and restarted computer and did a new reintall of TeeChartVCLFMX-2019.27.exe a correct environment path was generated

TEEINCPATH : C:\Steema Software\Steema TeeChart Pro VCL FMX 2019.27\Delphi26\Delphi26.win32\Include

and
TEELIBPATH: C:\Steema Software\Steema TeeChart Pro VCL FMX 2019.27\Delphi26\Delphi26.win32\Lib

instead of the concatenated same illegal paath in both environment files:

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

Maybe the uninstaller should clean up such permanent ??