2014 upgrade giving linker unresolved external

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
bdw
Advanced
Posts: 130
Joined: Mon Mar 07, 2005 5:00 am
Location: New Zealand
Contact:

2014 upgrade giving linker unresolved external

Post by bdw » Tue Apr 15, 2014 4:52 am

Hello,

I've just been trying to update from TChart 2013 to the latest 2014.10.140220 but I'm getting the following linker errors :-

[ilink32 Error] Error: Unresolved external '__fastcall Vcltee::Teengine::TChartAxis::SetMinMax(const const double, const const double)' referenced from C:\SRC\C.XE\EDS\ENVIEW\WIN32\RELEASE\FILE1.OBJ
[ilink32 Error] Error: Unresolved external '__fastcall Vcltee::Teengine::TCustomChartSeries::~TCustomChartSeries()' referenced from C:\SRC\C.XE\EDS\ENVIEW\WIN32\RELEASE\FILE2.OBJ
[ilink32 Error] Error: Unresolved external '__fastcall Vcltee::Teengine::TCustomChartSeries::SetShowInLegend(const const bool)' referenced from C:\SRC\C.XE\EDS\ENVIEW\WIN32\RELEASE\FILE3.OBJ

I have tried this in a test application as well with just the following in the form OnShow()

Chart1->LeftAxis->SetMinMax(0.0, 100.0);

It produces the about SetMinMax() linker error as well
Last edited by bdw on Tue Apr 15, 2014 5:47 am, edited 1 time in total.

bdw
Advanced
Posts: 130
Joined: Mon Mar 07, 2005 5:00 am
Location: New Zealand
Contact:

Re: 2014 upgrade giving linker unresolved external

Post by bdw » Tue Apr 15, 2014 5:46 am

If I compile a delphi VCL app it runs fine but 2014 CPP fails with the linker errors.

I have tried the 2014 binary install by itself and no luck I still get the linker error.

If I uninstall 2014 and go back to 2013 the test app compiles no problem

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

Re: 2014 upgrade giving linker unresolved external

Post by Yeray » Tue Apr 15, 2014 11:17 am

Hello,

Are you in RAD Studio XE5?
Do you have the Update 2 installed in the IDE?
I've created a new C++Builder VCL project, added a TChart to the form, added the code you posted in the FormCreate, and the application builds and runs without problems.
Also check the paths are correct, there's no remaining path to a previous installation, and the correct paths are on the top of the lists.
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

bdw
Advanced
Posts: 130
Joined: Mon Mar 07, 2005 5:00 am
Location: New Zealand
Contact:

Re: 2014 upgrade giving linker unresolved external

Post by bdw » Tue Apr 15, 2014 8:54 pm

Yes running XE5 update2 hot fix 1,2,3,4,and 5

Quite strange. I have only got XE5 installed at present and just removed XE4, XE.

I just re-installed the 2014 source and compiled win32. Checked the TEEINCPATH and TEELIBPATH enviro's have changed to this path and I get the same error.

As mentioned Delphi compiles fine just C++ linker playing up for some reason.

bdw
Advanced
Posts: 130
Joined: Mon Mar 07, 2005 5:00 am
Location: New Zealand
Contact:

Re: 2014 upgrade giving linker unresolved external

Post by bdw » Tue Apr 15, 2014 9:41 pm

I have got it compiling now.

Initially I had tried installing the 2014 binary and then installing source but got that error.

Second uninstalled 2014 and reinstalled 2013 and all compiled fine. Then installed 2014 source but got the same compile error. Enviro's were set correctly but 2013 was in the linker paths somewhere, not sure where so uninstalled 2013.

Now it compiles fine for 2014.

Still get the ambiguity error in VCLTee.TeeGDIPlus.hpp and need to move the user supplied section under the namespace Vcltee to get it to compile.

Post Reply