UNRESOLVED EXTERNAL'__fastcall Teengine:: n (2)

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
jica
Newbie
Newbie
Posts: 11
Joined: Fri Jun 27, 2008 12:00 am

UNRESOLVED EXTERNAL'__fastcall Teengine:: n (2)

Post by jica » Fri Aug 22, 2008 7:23 am

Hi,

I am migrating a project from Borland C++ Builder 2006 to Borland 2007 and from Teechart6 to Teechart v8.01 PRO and I get the several errors when linking of the type:

Unresolved external '__fastcall Teengine:: n

I have read your suggestions and I have found that in the builder menu: Project->Options->paths and defines, the library corresponding to TeeChart6 is selected by default and I cannot erase it from the library path list, even if I have already uninstalled Teechart6.

Any clues? Could somebody help me?

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

Post by Yeray » Fri Aug 22, 2008 8:33 am

Hi jica,

Probably your project is referencing old teechart libraries and this confuses the builder.

Try to edit the project bpr file manually (with notepad for example) and look for the lib paths and package references and update them for the correct ones.
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

jica
Newbie
Newbie
Posts: 11
Joined: Fri Jun 27, 2008 12:00 am

Post by jica » Fri Aug 22, 2008 10:31 am

Thanks a lot Yeray,

Your suggestion works partially. In fact I don´t get the unresolved externals any more, but now I get the following link Error:

Fatal:Unable to open file 'TEEIMAGE6C6.BPI'

This file was previously included in the PACKAGES value list of the .bpr file. However I have replaced it for the correspondig TeeImage811.bpi of the new Teechart.
Meanwhile in the borland project options the library path of TeeChart 6 remains included.

Pep
Site Admin
Site Admin
Posts: 3299
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Fri Aug 22, 2008 12:03 pm

Hi,

notice that your project is trying to load old bpi's (TEEIMAGE6C6). Edit your project again and look for "6C6" which means TeeChart Pro v6 for BCB 6 and replace by "8C6" which means TeeChart Pro v8 for BCB6.

jica
Newbie
Newbie
Posts: 11
Joined: Fri Jun 27, 2008 12:00 am

Post by jica » Mon Aug 25, 2008 2:11 pm

Hello,

I´m trying to replace Tee...6C6 files with their equivalent files of TeeChart Pro v8.01. This works for most of my project files and I can successfully build them. However when editing one of my projects files, it includes a <PACKAGES value="TeeQR6C6.bpi" and I couldn´t find any TeeQR files in the TeeChart folders. I have tried to replace it with TeeQR8C6.bpi, but when I open the file I get a message:

'Index out of bounds (1)' and when trying to compile it I get a linking error: 'Fatal Error: TeeQR811.BPI could not be opened'

Could you please help me with this problem?

Best regards

Jon

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 Aug 25, 2008 2:24 pm

Hi Jon,

Quick Report packages may not have been installed automatically. You could check them as suggested in the QuickReport article here.
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

jica
Newbie
Newbie
Posts: 11
Joined: Fri Jun 27, 2008 12:00 am

Post by jica » Mon Aug 25, 2008 2:34 pm

Thankyou for your quick answer.

I forgot to say that I actually encountered two files DclTQR811.dpk and DclTQR811.res. Doesn´t this mean Quick Report packages have been installed? Should I still have to follow all the steps?


Best regards
Jon

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 Aug 25, 2008 2:37 pm

Hi Jon,

No, that only means that you have those files in your hard drive. I recommend you to check if QuickReport packages installed and if they aren't follow the article to install them.
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

jica
Newbie
Newbie
Posts: 11
Joined: Fri Jun 27, 2008 12:00 am

Post by jica » Tue Aug 26, 2008 8:53 am

Hi Narcís,

I am trying to follow the steps of the QuickReport article but I keep getting problems.
Step 6, says: Install QuickReport with Delphi closed.
So I go to the QuickReport folder in the path
C:\..\Steema Software\TeeChart 8.01 for Delphi 2007\Delphi11\QuickReport
and I find an install.txt file that explains the following installation procedure:
'Open and compile the following packages:

Tee8QR4Dxx.dpk Run-time package.
DclTee8QR4Dxx.dpk Design-time package.'

However Codegear c++builder 2007 doesn´t let me open these files and consequently I cannot compile none of them. Besides, how could I compile them following what the article says: 'install QR with Delphi closed'?

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

Post by Narcís » Tue Aug 26, 2008 8:59 am

Hi Jon,

Sorry, I missed that you were using C++ Builder 2007.

The problem here is that Quick Report made different packages for Delphi and C++ Builder personalities. This causes problems with TeeChart's references as TeeChart's packages are the same for Delphi and C++ Builder.

To solve this issue you could read this thread. I've sent you the files I mentioned there.

Hope this helps!
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

jica
Newbie
Newbie
Posts: 11
Joined: Fri Jun 27, 2008 12:00 am

Post by jica » Tue Aug 26, 2008 9:43 am

Hi Narcís,
Thanks for your answer.

I have taken the file Tee8QR4C11.bdsproj to compile it, but I get an error because the builder cannot find QR4RunC2007.bpi.
In fact the content of Tee8QR4C11.cbproj includes:

<ItemGroup>
<PackageImport Include="QR4RunC2007.bpi">
...
which I cannot find anywhere.

Could I get it anywhere?
Best regards
Jon

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

Post by Narcís » Tue Aug 26, 2008 9:51 am

Hi Jon,

Those files should be shipped with QuickReport. Alternativelly you can try using *.bpl files.
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

jica
Newbie
Newbie
Posts: 11
Joined: Fri Jun 27, 2008 12:00 am

Post by jica » Tue Aug 26, 2008 10:15 am

Hi Narcís,
I´ve tried uninstalling and reinstalling Teechart again but no such files are generated in the QuickReport folder.
No files containing QR4Run could be found.
Could you please send it or tell me how could I go on with the installation?
Thanks
Jon

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

Post by Narcís » Tue Aug 26, 2008 10:19 am

Hi Jon,

Sorry but Steema Software is not the author nor can deliver QuickReport files. We only develop TeeChart for QuickReport packages. For QuickReport packages I imagine you should have a valid license and contact qusoft or ask CodeGear if such packages should be shipped with C++ Builder 2007.
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

jica
Newbie
Newbie
Posts: 11
Joined: Fri Jun 27, 2008 12:00 am

Post by jica » Wed Aug 27, 2008 1:00 pm

Hi,
Excuse me for bothering you again. After fixing up a few things I get a new linking error in a different module:

[ILINK32 Error] Fatal: Unable to open file 'TEESURFA.OBJ'

Looking around I´ve found Teesurfa.hpp files in the TeeChart Pro lib folder. However I couldn´t find an .obj file.

Could you help me solve this problem?
Thanks
best regards
Jon

Post Reply