Page 1 of 1

Proper installation procedure for TeeChart Pro source code

Posted: Sat Oct 06, 2007 12:39 pm
by 10546930
Hi there,

I would like to build and install the TeeChartPro source code in CodeGear C++ 2007, update 3. However, there doesn't seem to be a project file in the source code archive for this version.

Is there somewhere a detailed installation instruction on how to manually create a project, how to compile and install the packages and components?

Also, which files of the default TeeChart (that came with BCB) do I have to remove to avoid compile and link clashes?

Thanks,
Andreas

Posted: Mon Oct 08, 2007 8:44 am
by yeray
Hi Andreas,

You have to compile the sources using the provided tool TeeRecompile. You should find it at your Program Files menu.

And please, notice that source code installers only contain the TeeChart sources, so if you want to have help, tutorials, demos, examples, etc. installed you should install the components using the binary installers and then install the sources.

Posted: Tue Oct 09, 2007 10:53 pm
by 10546930
When I start TeeRecompile.exe I can select the source directory and the Compiled directory is preset, but the "Begin" button is always disabled.

How can I get it to work?

Andreas

Posted: Wed Oct 10, 2007 9:41 am
by narcis
Hi Andreas,

You need to select the IDEs where you want the sources installed to. Have you done so?

Thanks in advance!

Posted: Wed Oct 10, 2007 2:46 pm
by 10546930
The list box with "Installed environments" is empty, so there is nothing to select. Do I have to set a path variable to the BCB2007 bin directory or something? How does the recompile tool find the installed components? Via the registry?

Andreas

Posted: Wed Oct 10, 2007 2:56 pm
by narcis
Hi Andreas,

You should have C++ Builder 2007 in the installed environments list. This works fine for us here using our latest TeeRecompile version which I have sent to you. Can you please check if it works fine at your end?

Thanks in advance!

Posted: Wed Oct 10, 2007 3:09 pm
by 10546930
Nope, didn't work. Installed environments is still empty. I've send you a screenshot showing the root dir of the BCB install, its directory and the look of the TeeRecompile tool.

Bye,
Andreas

Posted: Wed Oct 10, 2007 3:28 pm
by 10546930
Mail didn't get through.

Here's the screenshot:

Image

Andreas

Posted: Thu Oct 11, 2007 8:41 am
by narcis
Hi Andreas,

Thanks for the information. TeeRecompile needs Delphi for compiling TeeChart sources and therefore it looks for dcc32.exe which is usually shipped with C++ Builder as well. You should find it in the Bin folder in RAD Studio installation.

We have checked that dcc32.exe is included with C++ Builder 2007 with update 3. Could you please check if the Delphi compiler is on your machine?

Thanks in advance!

Posted: Thu Oct 11, 2007 2:37 pm
by 10546930
Yup, dcc32 is present, --version returns:

dcc (CodeGear Delphi for Windows) 18.5
CodeGear Delphi for Win32 compiler version 18.5
Copyright (c) 1983,2007 CodeGear

However, even if the path to the BCB bin directory is set and dcc32 can be executed from anywhere, TeeRecompile still shows an empty environment.

Since I have a Win x64 machine, could it be that it searches in the Program Files folder and not the 32bit Program Files (x86) folder?

It must be some problem with retrieving the registry information. Here is my registry info about the BCB install:

I find a Borland BCB entry in:
HKEY_CURRENT_USER\Software\Borland\BDS\5.0

and in
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Borland\BDS\5.0

Note the Wow6432Node in the path.

Hope that info helps to track the problem. If you need the actual registry data let me know to which email address I should mail it to.

Thanks,
Andreas

Posted: Mon Oct 15, 2007 6:13 pm
by narcis
Hi Andreas,

Thanks for the information. It's a very rare case. We have arranged a TeeRecompile version that debugs the IDE detection and saves it in a log file. I've sent you this TeeRecompile version. Could you please try running it on your machine and send the log back?

You can post the log at news://www.steema.net/steema.public.attachments newsgroups or at our upload page.

Thanks in advance!

Posted: Thu Oct 18, 2007 4:14 pm
by 10546930
Hi again,

I ran the debug version and the log.txt contains the following entry for the latest BCB version:

Locating: RAD 2007.Win32 version: 11
Found Registry RootDir: C:\Program Files (x86)\CodeGear\RAD Studio\5.0\ Edition: Enterprise
Looking for compiler exe at: C:\Program Files (x86)\CodeGear\RAD Studio\5.0
Compiler exe NOT FOUND !

Now I checked the corresponding registry entries I posted previously and it turned out that the path: "C:\Program Files (x86)\BCB2007" was stored in the registry entry for LOCAL_MACHINE.

HOWEVER, I found that the value for 'RootDir' in the reg entry:
HKEY_CURRENT_USER\Software\Borland\BDS\5.0

was actually set to "C:\Program Files (x86)\CodeGear\RAD Studio\5.0"

So, that must be a problem with the BCB installer, and is not at all related to TeeChartPro.

My guess is, that this is also the reason for the other installation problems I experienced and I will reattempt a fresh new install and a cleared registry.

Btw, does the TeeRecompile tool check for both registry keys, for the current user and the local machine? And if, which one has the preference?

Thanks for the help!
Andreas

Posted: Thu Oct 18, 2007 9:02 pm
by 10546930
After re-install with correct paths in current user and local machine registry entries rebuilding and installing TeeChartPro works like a charm.

Thanks,
Andreas

Posted: Fri Oct 19, 2007 7:12 am
by narcis
Hi Andreas,

Thanks for the information. I'm glad to hear you could finally install TeeChart successfully.

Anyway, we will also enhance TeeRecompile to search in LocalMachine and CurrentUser registry keys it it doesn't find the compiler.