I have "TeeChart Pro 6.01 VCL / CLX WITH FULL SOURCE CODE"
and I want to use it with Kylix3 C++ Enterprise.
I can't compile source codes of TeeChart 6.01 to get headers needed in
Kylix3 C++ Enterprise.
"Unable to find header file for component: TeeProcs"
"Unable to find header file for component: TeeEngine"
"Unable to find header file for component: Chart"
"Unable to find static library: Tee6K3.a"
How can I do it?
PS. The same message I post to Steema at July 2003 and I have got answer:
<it seems to be problems compiling the TeeChart sources under kylix3 <C++. We are investigating and trying to find a solution. We'll let you <know something about it as soon as we can.
I'm still waiting for any positive answer, it's very important to me.
Compiling Teechart in Kylix C++ Enterprise
Hi, Marek.
One of our customers posted this on our newsgroups a while ago:
> Mr. Kaul
> Could you tell me how to compile the source files of Teechart by
> Kylix3 BCB?
> When I add the pas file into a project, I should select delephi
> compiler, is it right? When I compile files, it need vlcl.a, where it is?
> I'm a greenhand to TeeChart, could you tell me details? thank you
> very much!
You must create a dummy project under Kylix3 C++ and add all *.pas
files (of TeeChart 6 source code) to this project.
When you compile this project the C++ IDE of Kylix3 automaticaly
uses the delphi compiler for compiling of the pascal files and
creates the Headerfiles (*.hpp). This Headerfiles are needed when
using TeeChart 6 under Kylix3 C++. It is not necessary to link this
dummy project the most importand work is done by the Kylix3 C++ IDE
when it creates the Headerfiles so you can ignore all linking
errors when you compile the dummy project.
After that you have all things created (namely the Headerfiles)
that are needed by the compiler when you use TeeChart 6 in
your own C++ application. The second part is that the linker
also needs some files for linking TeeChart with your own application.
This files are the static part of the TeeChart libraries
(TeeChart 6 for Delphi comes only with the dynamic libraries, but
it is possible to create the static libraries using the dynamic ones.)
For each shared library your must create a new project (under
Kylix3 C++) of the type "static library" (File/New/Other/Library)
and name this project equal to the shared library
(be care of lower and upper characters).
Then you must add the corresponding shared library to the
project and compile it. The C++ Compiler then creates
the .a library (with the correct name).
hope it helps.
regards Martin Kaul
One of our customers posted this on our newsgroups a while ago:
> Mr. Kaul
> Could you tell me how to compile the source files of Teechart by
> Kylix3 BCB?
> When I add the pas file into a project, I should select delephi
> compiler, is it right? When I compile files, it need vlcl.a, where it is?
> I'm a greenhand to TeeChart, could you tell me details? thank you
> very much!
You must create a dummy project under Kylix3 C++ and add all *.pas
files (of TeeChart 6 source code) to this project.
When you compile this project the C++ IDE of Kylix3 automaticaly
uses the delphi compiler for compiling of the pascal files and
creates the Headerfiles (*.hpp). This Headerfiles are needed when
using TeeChart 6 under Kylix3 C++. It is not necessary to link this
dummy project the most importand work is done by the Kylix3 C++ IDE
when it creates the Headerfiles so you can ignore all linking
errors when you compile the dummy project.
After that you have all things created (namely the Headerfiles)
that are needed by the compiler when you use TeeChart 6 in
your own C++ application. The second part is that the linker
also needs some files for linking TeeChart with your own application.
This files are the static part of the TeeChart libraries
(TeeChart 6 for Delphi comes only with the dynamic libraries, but
it is possible to create the static libraries using the dynamic ones.)
For each shared library your must create a new project (under
Kylix3 C++) of the type "static library" (File/New/Other/Library)
and name this project equal to the shared library
(be care of lower and upper characters).
Then you must add the corresponding shared library to the
project and compile it. The C++ Compiler then creates
the .a library (with the correct name).
hope it helps.
regards Martin Kaul
Marjan Slatinek,
http://www.steema.com
http://www.steema.com
I have done all like you wrote, but when I try to compile project, then c++ compiler generate "static library" with only 8 bytes long.Marjan wrote:
For each shared library your must create a new project (under
Kylix3 C++) of the type "static library" (File/New/Other/Library)
and name this project equal to the shared library
(be care of lower and upper characters).
Then you must add the corresponding shared library to the
project and compile it. The C++ Compiler then creates
the .a library (with the correct name).
For example: shared lib "bplTee6K3.so" and result "bplTee6K3.a" (8 byte).
It seems that shared lib doesn't link to static lib for this project.
Still waiting for answer
Is anybody who know how to positive resolve this problem ?
-
- Newbie
- Posts: 3
- Joined: Thu Feb 26, 2004 5:00 am
- Location: [email protected]