Linker error: Unable to open CHART.OBJ

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Totte Karlsson
Newbie
Newbie
Posts: 9
Joined: Thu Apr 28, 2011 12:00 am

Linker error: Unable to open CHART.OBJ

Post by Totte Karlsson » Wed Apr 18, 2012 6:03 am

Hi,
I have lately been trying to link a package containing some forms using TeeChart, using unilink opposed to ilink32.

I am getting the following linker error:
[ILINK32 Error] Fatal: Unable to open file 'CHART.OBJ'

I have the following in my pavckage cpp file:
#pragma comment(lib, "Tee915.bpi")
#pragma comment(lib, "TeePro915..bpi")
#pragma comment(lib, "TeeUI915.bpi")

Any help appreciated.

I am using Rad Studio C++ XE and TeeChart pro Version 2011.03.30407

totte

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

Re: Linker error: Unable to open CHART.OBJ

Post by Yeray » Wed Apr 18, 2012 3:17 pm

Hi Totte,

Please, make sure the TeeChart Include path is in the IDE Include list and the TeeChart Lib and Lib\Obj paths are in the IDE Library list.
Then, try if a new simple project with just a chart on the form works fine. If so, the problem should be a wrong reference in the old project. If that's the case, you should correct it manually editing (with notepad or similar) the project files and correcting any wrong reference you may find.
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

Totte Karlsson
Newbie
Newbie
Posts: 9
Joined: Thu Apr 28, 2011 12:00 am

Re: Linker error: Unable to open CHART.OBJ

Post by Totte Karlsson » Wed Apr 18, 2012 4:51 pm

I correct my first post, I'm not using unilink, but the regular ilink32

I created a new package, added a form with a TeeChart on and checked all paths.
I have
C:\Program Files (x86)\Steema Software\TeeChart 2011 for Delphi 2011\Delphi15\Lib
C:\Program Files (x86)\Steema Software\TeeChart 2011 for Delphi 2011\Delphi15\Lib\Obj
in the Library path and
C:\Program Files (x86)\Steema Software\TeeChart 2011 for Delphi 2011\Delphi15\Include
in the include path

I even re-installed Tee from scratch and still get that linker error

This is puzzling..?
tk

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

Re: Linker error: Unable to open CHART.OBJ

Post by Yeray » Fri Apr 20, 2012 1:01 pm

Hi Totte,

Please, take a look at the article here:
http://zachsaw.blogspot.com.es/2008/10/ ... -file.html
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