Page 1 of 1

C++ Builder + TChart + LiveBindings = linker error

Posted: Sun Jan 26, 2014 6:19 pm
by 16565755
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?

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

Posted: Thu Jan 30, 2014 9:40 am
by yeray
Hello,

This is just to let you know we are investigating this and we'll come back here asap.

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

Posted: Mon Feb 03, 2014 12:30 pm
by yeray
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