Page 1 of 1

Simple compiler error using TeeChart VCL v8

Posted: Mon Sep 10, 2007 5:18 pm
by 9335230
Hi,

(I'm using Borland Depeloper Studio 2006)

I'm trying a TeeChart VCL v8 evaluation on a project which had the
previous version of TeeChart and I got this compiler error:

[Linker Error] Error: Unresolved external '__fastcall Teetools::TAnnotationTool::DrawTextA()' referenced from C:\DOCUMENTS AND SETTINGS\User1\MIS DOCUMENTOS\BORLAND STUDIO PROJECTS\DEBUG_BUILD\FILE1.OBJ

After trying a lot of things I made a simple projet to reproduce it and it's
quite simple. You just have to do the following:

1) New VCL Form Application.
2) Drop a TChart component in the default Form (TForm1)
3) Create a class (in a separate unit) inherited from TAnnotationTool,
with the constructor definition and implementation only.
4) Create an object of this new class in the constructor of TForm1.
5) compile and you will get that error.

When I switch to TeeChart v7.07 everything becomes fine again.
has Anybody had this error?

Thanks in advance.
Marcos.

Posted: Mon Sep 17, 2007 3:24 pm
by 9335230
Hi,

has anybody tried to reproduce the error described above?
It's very easy to get it. With that error I can not upgrade TeeChart,
and that's very important because TeeChart8 fixes a couple of
issues I was sick of.

Thanks.
Marcos.

Posted: Mon Sep 17, 2007 4:08 pm
by narcis
Hi Marcos,

Have you tried using v8.01 we posted last weekend at the client download area?

Thanks in advance.

Posted: Mon Sep 17, 2007 5:02 pm
by 9335230
Hi,

I'm afraid my current license is not valid anymore (just for TeeChart 7).
That's why I was testing the TeeChart8 evaluation version.
Any newer evaluation version?

Thanks.
Marcos.

Posted: Tue Sep 18, 2007 7:57 am
by narcis
Hi Marcos,

Yes, the new installers are for the evaluation version as well.

Posted: Tue Sep 18, 2007 8:37 am
by 9335230
Hi,

Yes, that's the evaluation version I had tried, so the one with the problem.
did you try my test?

Thanks.
Marcos.

Posted: Tue Sep 25, 2007 9:48 am
by Pep
Hi Marcos,

could you please send me (in a zipped file) the app. you are trying to compile with which I can test it here with the latest v8.01 sources ?
You can send me it directly to pep@steema.com

Posted: Wed Sep 26, 2007 5:09 pm
by 9335230
Hi Pep,

I was trying to install the TeeChart v8.01 trial again to reproduce that
linking error, but I got the same error all the time, over 100% installation
progress:

TeeChart Installation
VERSION: 8
D2006.Win32 v10 (update 2, HotFix: 9) (BDS v4 Architect) (C++)
EXCEPTION:
Invalid filename
--------------------------------------------

In spite of that the installation ends with:

"The installation of TeeChart 8.0.1 for Delphi 2006 has been successfully completed."

Likely I got this error in the first place, ignored it, and tried TeeChart v8.01 that way.
I've just downloaded the TeeChart v8.01 trial again, getting the same result. Even so,
it's a bigger .exe file and the installation folder results in a bigger folder.
In the instalation folder doesn't appear a lot of .obj files like Chart.obj.

I made sure to uninstall previous TeeChart versions.

¿Any tips?

Marcos.

Posted: Mon Oct 01, 2007 11:33 am
by Pep
Hi Marcos,

ok, we're going to do some tests here with the same installer posted on our web site. We'll back with results asap.

In meantime, even you get this error, do all the TeeChart component get installed into the palette ? If so, are you able to run a simple project with a Chart on the Form ?

Posted: Mon Oct 01, 2007 3:17 pm
by 9335230
Hi Pep,

I've just installed TeeChart 8.01 again and I didn't get any error during
installation. I believe that all components are in the TeeChart palette.
I can drop a TChart component on one form, compile and execute that
project (and "play" with a TChartEditor). BUT I can't create any
object of a class inherited from TAnnotationTool; I'm still getting this linker
error:

[Linker Error] Error: Unresolved external '__fastcall Teetools::TAnnotationTool::DrawTextA()' referenced from C:\DOCUMENTS AND SETTINGS\User1\MIS DOCUMENTOS\BORLAND STUDIO PROJECTS\DEBUG_BUILD\FILE1.OBJ

Here's a weird thing; the folder "lib\obj" of the installation only has 22
.obj files, meanwhile, the same folder has 270 .obj files in the TeeChart 7.07. Is that correct?

Did you try to follow all the steps I wrote on the first post?

Thanks.
Marcos.

Posted: Fri Feb 15, 2008 12:38 pm
by 9335230
Hi,

(I'm using Borland Depeloper Studio 2006)

I recover this old post because I was trying to upgrade from TeeChart7.07
to TeeChart 8 AGAIN. Last time I got TeeChart 8.01 evaluation version and
one linker error showed up:

[Linker Error] Error: Unresolved external '__fastcall Teetools::TAnnotationTool::DrawTextA()' referenced from C:\DOCUMENTS AND SETTINGS\User1\MIS DOCUMENTOS\BORLAND STUDIO PROJECTS\DEBUG_BUILD\FILE1.OBJ

Well; Today I encourage myself to give it another try. I downloaded
TeeChart 8.02 evaluation version and installed it, but I'm still getting the
same error.
As I wrote in another post, It's easy to reproduce. ¿Where can I send
you a copy of this tiny dummy project? Or you just can follow these steps:

1) New VCL Form Application.
2) Drop a TChart component in the default Form (TForm1)
3) Create a class (in a separate unit) inherited from TAnnotationTool,
with the constructor definition and implementation only.
4) Create an object of this new class in the constructor of TForm1.
5) compile and you will get that linker error.

Thanks.

Beetle.[/code]

Posted: Mon Feb 18, 2008 5:05 pm
by narcis
Hi Beetle,

Thanks for the information but we are not sure on how to reproduce the issue. Would you be so kind to arrange a simple example project we can run "as-is" to reproduce the problem here?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.

Posted: Mon Feb 18, 2008 6:48 pm
by 9335230
Hi Narcís,

I've just uploaded a .rar file with the project.

Thanks.
Beetle.

Posted: Tue Feb 19, 2008 2:02 pm
by narcis
Hi Beetle,

Thanks for the example project. We have been able to reproduce the issue here and seems to be related to this.

You should try to look for alternatives as we haven't found a solution so far. For example, you could try creating the class in Delphi and using it from C++ Builder.

Posted: Tue Feb 19, 2008 3:57 pm
by 9335230
Hi Narcís,

I'm glad you could reproduce this issue. It appears with Builder 2006 too
(and TeeChart Pro 8.0x). I'm gonna have to keep on using TeeChart 7
until you find a solution, because I have several classes inherited from
TAnnotationTool and It would be to much work to do if I take your
alternative.

Thanks.
Beetle.