Linker error - Cannot find TeeFunne.res

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
cwcec
Newbie
Newbie
Posts: 2
Joined: Tue Jul 06, 2004 4:00 am

Linker error - Cannot find TeeFunne.res

Post by cwcec » Thu Jan 26, 2006 7:03 pm

Hello,

I just downloaded and installed TeeChart 7.06 for Builder 6 (using 6.0 Personal). My program was developed using TeeChart 7. My code compiles fine with the new version, but I get the following linker error:

[Linker Error] Unable to open file 'TEEFUNNE.RES'

This resource file does not exist in ver. 7.06, but does exist in ver. 7. I copied the file into the lib directory in 7.06 to see if that would correct the problem, but then I get the following linker errors:

[Linker Error] Unresolved external '__fastcall Teengine::TCustomAxisPanel::AddSeries(const Teengine::TChartSeries *)' referenced from FOO.OBJ

[Linker Warning] Duplicate resource: Type 2 (BITMAP), ID TFUNNELSERIES; File \LIB\TEEPROBM.RES resource kept; file \LIB\TEEFUNNE.RES resource discarded.

I'm assuming something having to do with the AddSeries function call for TChart was moved from TeeFunne.res to TeeProBm.res, but I don't know how to resolve this in my program. Any help would be greatly appreciated.

cmb

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

Post by Pep » Mon Jan 30, 2006 10:29 am

Hi,

most likely the problem is your project still referencing to the TEEFUNNE.RES file. Try manually editing project bpg file, remove this reference and compile it again.

cwcec
Newbie
Newbie
Posts: 2
Joined: Tue Jul 06, 2004 4:00 am

Post by cwcec » Mon Jan 30, 2006 9:00 pm

Thank you for the suggestion, Pep, but the Borland project bpr file contains no reference to this res file (it references its own project.res file); nor do any of the other files associated with this project from what I have been able to see. Are there any other possible causes?

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

Post by Pep » Wed Feb 08, 2006 8:32 am

Hi,

It looks to me you have duplicate (old and new) Teechart files. Try removing all old TeeChart files from C++ Builder \lib, \lib\obj and \include\vcl directories. Normally TeeChart installer removes old TeeChart files as new version is installed. But sometimes some files are not removed (if you for example manually copied some TeeChart files, compiled/installed TeeChart via source code, installed another 3rd party product which includes some TeeChart compiled units...).
file C:\PROGRAM FILES\BORLAND\CBUILDER5\LIB\OBJ\PENDLG.DFM
resource discarded.
[Linker Warning] Duplicate resource: Type 2 (BITMAP), ID TFUNNELSERIES; File \LIB\TEEPROBM.RES resource kept; file \LIB\TEEFUNNE.RES resource discarded.
Try to backup/remove TEEFUNNE.* files from \lib\obj directory.

Post Reply