Proper installation procedure for TeeChart Pro source code

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
ghorwin
Newbie
Newbie
Posts: 15
Joined: Thu Oct 04, 2007 12:00 am

Proper installation procedure for TeeChart Pro source code

Post by ghorwin » Sat Oct 06, 2007 12:39 pm

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

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

Post by Yeray » Mon Oct 08, 2007 8:44 am

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.
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

ghorwin
Newbie
Newbie
Posts: 15
Joined: Thu Oct 04, 2007 12:00 am

Post by ghorwin » Tue Oct 09, 2007 10:53 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Oct 10, 2007 9:41 am

Hi Andreas,

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

Thanks in advance!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

ghorwin
Newbie
Newbie
Posts: 15
Joined: Thu Oct 04, 2007 12:00 am

Post by ghorwin » Wed Oct 10, 2007 2:46 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Oct 10, 2007 2:56 pm

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!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

ghorwin
Newbie
Newbie
Posts: 15
Joined: Thu Oct 04, 2007 12:00 am

Post by ghorwin » Wed Oct 10, 2007 3:09 pm

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

ghorwin
Newbie
Newbie
Posts: 15
Joined: Thu Oct 04, 2007 12:00 am

Post by ghorwin » Wed Oct 10, 2007 3:28 pm

Mail didn't get through.

Here's the screenshot:

Image

Andreas

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Oct 11, 2007 8:41 am

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!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

ghorwin
Newbie
Newbie
Posts: 15
Joined: Thu Oct 04, 2007 12:00 am

Post by ghorwin » Thu Oct 11, 2007 2:37 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Oct 15, 2007 6:13 pm

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!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

ghorwin
Newbie
Newbie
Posts: 15
Joined: Thu Oct 04, 2007 12:00 am

Post by ghorwin » Thu Oct 18, 2007 4:14 pm

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

ghorwin
Newbie
Newbie
Posts: 15
Joined: Thu Oct 04, 2007 12:00 am

Post by ghorwin » Thu Oct 18, 2007 9:02 pm

After re-install with correct paths in current user and local machine registry entries rebuilding and installing TeeChartPro works like a charm.

Thanks,
Andreas

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Oct 19, 2007 7:12 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply