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
Linker error: Unable to open CHART.OBJ
-
- Newbie
- Posts: 9
- Joined: Thu Apr 28, 2011 12:00 am
Re: Linker error: Unable to open CHART.OBJ
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.
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,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 9
- Joined: Thu Apr 28, 2011 12:00 am
Re: Linker error: Unable to open CHART.OBJ
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
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
Re: Linker error: Unable to open CHART.OBJ
Hi Totte,
Please, take a look at the article here:
http://zachsaw.blogspot.com.es/2008/10/ ... -file.html
Please, take a look at the article here:
http://zachsaw.blogspot.com.es/2008/10/ ... -file.html
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |