C++ Builder + TChart + LiveBindings = linker error

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
vgromov
Newbie
Newbie
Posts: 8
Joined: Mon Apr 29, 2013 12:00 am
Location: Moscow, Russian Federation
Contact:

C++ Builder + TChart + LiveBindings = linker error

Post by vgromov » Sun Jan 26, 2014 6:19 pm

1) C++ Builder XE4 18.0.4905.60485
2) Latest TeeChart Build 2013.09.131119
3) Firemonkey

Create simple FMX Win32 project, with TChart, Prototype source.
Bind proto source to TChart.
Save and make project.
At linking stage the error [ilink32 Error] Fatal: Unable to open file 'FMXTEE.BIND.CHART.OBJ' pops-up.
Two binding-aware object files were specified in pragma package section:
#pragma link "FMXTee.Bind.Chart"
#pragma link "FMXTee.Bind.Editors"
Linker could not find these, because, if I'm correct, they are in DclFMXTeePro918.lib|bpl, and it's design-time package, which should not be linked to run-time app.

I wonder, should these modules be moved to FMXTeePro918.lib|bpl, or to whatever Tee run-time package instead?

Correct me if I'm wrong, but so far, the work-around is to install Tee full sources (so far, I use binaries), move these files to some Tee runtime package, and recompile?

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

Re: C++ Builder + TChart + LiveBindings = linker error

Post by Yeray » Thu Jan 30, 2014 9:40 am

Hello,

This is just to let you know we are investigating this and we'll come back here asap.
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

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

Re: C++ Builder + TChart + LiveBindings = linker error

Post by Yeray » Mon Feb 03, 2014 12:30 pm

Hello,

Try doing this to extract the required files from the .lib

Code: Select all

cd delphi18.win32\lib

tlib /e DclFMXTeePro918.lib FMXTee.Bind.Chart.
ren FMXTee.Bind.Chart. FMXTee.Bind.Chart.obj

tlib /e DclFMXTeePro918.lib FMXTee.Bind.Editors.
ren FMXTee.Bind.Editors. FMXTee.Bind.Editors.obj
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

Post Reply