Page 1 of 1

Installing TeeChart PRO VCL Source issues

Posted: Mon Sep 28, 2015 8:04 am
by 16575142
Hi,

Since version Pro2014 with source I am having troubles installing packages into IDE using TeeRecompile.exe. It never works for me from the first time. I always have to copy some files and do sime improvisation to make it work somehow. Today I tried to install Steema TeeChart Pro VCL Source Code 2015.16 into Delphi 10 Seattle IDE and same problems as always. I am experiencing problems such as missing entry points in bpls, missing paths.

I am using Teechart for more than 7 years now and last two years I am using Teechart with sources. I never had problems with version without sources but version with sources is just a pain in the ass.

Can you tell me what am I doing wrong and can you please write short manual or tutorial on how to install TeeChart with sources step by step that it will work immediately, please?

I will describe you what I do (My OS: Win7 64bit)
1. I start TeeChartVCLSOURCE-2015.16.exe and install it to C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL Source Code 2015.16
2. I run TeeRecompile.exe with administrator rights.
3. For the TeechartSource Code folder I usually leave: Source
4. For the Relative Destination: I usually change that to absolute path : C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL Source Code 2015.16\Compiled
5. Copy binary files to: C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL Source Code 2015.16\Binary
6. I check to install it into RX10 Seattle and click Begin.

The process installs everything without problems. Then I run Delph and I am experiencing error dialog: Can't Load Package " C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL Source Code 2015.16\Compiled\Delphi23.win32\Bin\DclTeePro923....%1 is not a valid program Win32.

And this is always with any version of delphi since version XE6. I don't have a right solution for that. Sometimes I copy bpl files to system32 or syswow64 but I am just guessing and I have luck that it starts working... but this is not really a good solution I guess. I always spent too much time dealing with that issues.

Please help me resolve that once for good!

By the way TeeChart package is great set of components and I really appreciate your work and customer care. So keep on doing great work!

Re: Installing TeeChart PRO VCL Source issues

Posted: Mon Sep 28, 2015 8:31 am
by 16575142
Just one note about how I manually "force" it to work. I actually copy all 32bit bpls to SysWow64 and all 64bit bpls to System32. I have to do that manually everytime.

Re: Installing TeeChart PRO VCL Source issues

Posted: Mon Sep 28, 2015 8:39 am
by 16575142
I attached image of error I am getting when I run DX10.

Re: Installing TeeChart PRO VCL Source issues

Posted: Wed Sep 30, 2015 9:08 am
by yeray
Hello,

I've cleaned RAD 10 Seattle (unsistalled TeeChart Pro v2015.16 and reinsalled the TeeChart Standard/Lite components shipped with the IDE), I've downloaded and installed TeeChart Pro v2015.16 with sources.
I've ran TeeRecompile as admin, selected RAD 10 Seattle and left the rest of the default settings and it worked for me without problems:
teerecompile.png
teerecompile.png (43.95 KiB) Viewed 26029 times
I got a dialog where I was asked to accept creating the "Compiled" folder (I don't have that screenshot right now).
And I also got a dialog that asks me to accept to backup the TeeChart Standard/Lite that was shipped with the IDE:
backup.png
backup.png (8.26 KiB) Viewed 26015 times
I can open the IDE without problems after that installation.
Could you please try the default options in TeeRecompile and attach a screenshot showing the options that make it crash for you?

Re: Installing TeeChart PRO VCL Source issues

Posted: Mon Oct 05, 2015 7:52 am
by 16575142
Thanks for the explanation. I will try to find some time to do that and I will report the results. I also read your new post about how to setup paths in IDE just to make sure I am not missing anything.

Thank you!

Re: Installing TeeChart PRO VCL Source issues

Posted: Tue Nov 10, 2015 9:36 am
by 16576728
I have same problem in install TeeChart PRO VCL Source code,
OS: Windows server 2008, 64bit
IDE: Delphi XE8 ( I had try in XE4、XE5、XE8、XE10, ALL IDEs cannot install correct.)
Install file: TeeChartVCLSOURCE-2015.16.150901.exe
My install steps:
1. Uninstall old packages of teechart:
1) TeeChart Lite FMX Components
2) TeeChart Standard VCL Components

2. Run setup file to install source code: TeeChartVCLSOURCE-2015.16.150901.exe

3. Setup library paths, x32 and x64.

4. Run TeeRecompile.exe

5. Choose IDEs without mobile dev.

6. Click BEGIN

7. Always error with:
===============================================
TeeChart Pro
Compilation started: 2015/11/10 0:50:29

Win32 v22 Architect ERROR
Tee922

Cannot recompile Delphi package: Tee922.dpk
Embarcadero Delphi for Win32 compiler version 29.0
Copyright (c) 1983,2015 Embarcadero Technologies, Inc.
VCLTee.TeeConst.pas(599) Error: E2066 Missing operator or semicolon
VCLTee.TeeConst.pas(599) Error: E2066 Missing operator or semicolon
VCLTee.TeeConst.pas(599) Error: E2052 Unterminated string
VCLTee.TeeConst.pas(1001) Error: E2052 Unterminated string
VCLTee.TeeConst.pas(599) Fatal: E2280 Unterminated conditional directive
EXCEPTION:
Compilation aborted.
--------------------------------------------
TeeChart0102.jpg
TeeChart0102.jpg (110.1 KiB) Viewed 25848 times

Re: Installing TeeChart PRO VCL Source issues

Posted: Tue Nov 10, 2015 11:50 am
by yeray
Hello,

TeeConst may have been somehow corrupted in your machine at some point between the installation (TeeChartVCLSOURCE-2015.16.150901.exe) and running TeeRecompile.
To check that, you could install TeeChart with Sources again and make a backup of the "Sources" folder before doing anything else.
Then, you will always be able to take the original version of the files if anyone gets corrupted by any cause.

Re: Installing TeeChart PRO VCL Source issues

Posted: Tue Nov 10, 2015 1:06 pm
by 16576728
I reinstall it, but can not find out the "VCLTee.TeeConst.pas" file in the setup path.

Re: Installing TeeChart PRO VCL Source issues

Posted: Tue Nov 10, 2015 1:13 pm
by 16576728
1. I reinstall it, cannot find the file "VCLTee.TeeConst.pas"

2. I found the file "VCLTee.TeeConst.pas" after run TeeRecompile.exe and get "Compilation aborted" message.

3. I checked file "VCLTee.TeeConst.pas",

Line 599 is : TeeMsg_Copyright :={$IFDEF LCL}'(C)'{$ELSE}'?{$ENDIF}+' 1995-2015 by Steema Software';
Line 1001 is: TeePolarDegreeSymbol :='?;

Why?

===============================================
TeeChart Pro
Compilation started: 2015/11/10 21:06:00

Win32 v22 Architect
Tee922

Cannot recompile Delphi package: Tee922.dpk
Embarcadero Delphi for Win32 compiler version 29.0
Copyright (c) 1983,2015 Embarcadero Technologies, Inc.
VCLTee.TeeConst.pas(599) Error: E2066 Missing operator or semicolon
VCLTee.TeeConst.pas(599) Error: E2066 Missing operator or semicolon
VCLTee.TeeConst.pas(599) Error: E2052 Unterminated string
VCLTee.TeeConst.pas(1001) Error: E2052 Unterminated string
VCLTee.TeeConst.pas(599) Fatal: E2280 Unterminated conditional directive
EXCEPTION:
Compilation aborted.
--------------------------------------------

Re: Installing TeeChart PRO VCL Source issues

Posted: Tue Nov 10, 2015 2:42 pm
by yeray
Hello,

Note TeeRecompile takes the non-prefixed sources and creates the prefixed versions in the first stage; and puts them into VCL/FMX folders.
I see in your screenshot you are selecting several IDEs at the same time: RAD 10 Seattle, RAD XE8, etc. And it fails with that error when compiling for RAD XE8, so it has finished for RAD 10 Seattle. But I guess the file got corrupted between compiling for RAD 10 Seattle and for RAD XE8.
So I'd suggest you to do each compilation separately; and restore the original TeeConst file you backed up before each compilation; this is the file from the Sources folder, not the files with prefixes.

Re: Installing TeeChart PRO VCL Source issues

Posted: Tue Nov 10, 2015 3:52 pm
by 16576728
Tried many times without success, finally gave up.
Use only installed version, and install version is very convenient.
But the install package is too big: 1.92G.

Re: Installing TeeChart PRO VCL Source issues

Posted: Wed Nov 11, 2015 10:23 am
by yeray
Hello,
Jeff wrote:Tried many times without success, finally gave up.
I'm sorry to hear that. If you want to give it another try we'll be pleased to try to assist you.
Jeff wrote:Use only installed version, and install version is very convenient.
We use to recommend installing the binary version before installing the source code version.
Jeff wrote:But the install package is too big: 1.92G.
Note the No-Download installer includes the compiled packages and units for all the supported platforms in all the supported IDEs. The number of combinations is what makes it big.
This is why this installer is only available on demand and it doesn't appear on the download page.