Page 1 of 1
Loosing TeeChart reference.
Posted: Fri Sep 28, 2007 11:32 pm
by 9345379
I place a TeeChart on a form with a Gantt series. I add the Gantt drag tool. Compile and all is fine.
I exit Delphi and re-open.
I see Class TGanttTool not found.
I press ignore and I see my form with a TeeChart and the Gantt series.
I right click on the Chart but there is not Edit Chart, etc. Only the standard Delphi form pop-up menu choices.
This happens under 7.12 aand 8.01. I check that both the source and lilb are in the search path.
What gives?
Posted: Mon Oct 01, 2007 9:29 am
by narcis
Hi Gainco,
You could also try including the "Bin" folder at the search path list and make sure that those 3 folders are on TOP of the list.
Hope this helps!
It is still not working
Posted: Mon Oct 01, 2007 1:56 pm
by 9345379
Installing a vendors software should not be a JOB. Below is my search path. I am still presented with an 'unable to find TGanttTool" error when I open the project. I have created the project over and over and this still occurs. If I create a new one, all goes well until I exit Delphi and re-open.
PLEASE CORRECT THIS!
c:\documents and settings\larry\my documents\borland studio projects\bpl
$(BDS)\lib
C:\Program Files\Steema Software\TeeChart 8.01 for Delphi 2006\Delphi10\Bin
C:\Program Files\Steema Software\TeeChart 8.01 for Delphi 2006\Delphi10\Lib
C:\Program Files\Steema Software\TeeChart 8.01 for Delphi 2006\Delphi10\System
C:\Program Files\Steema Software\TeeChart Pro 8.01 Full Source Code\Sources\Compiled\Delphi10\Bin
C:\Program Files\Steema Software\TeeChart Pro 8.01 Full Source Code\Sources\Compiled\Delphi10\Lib
C:\Program Files\Steema Software\TeeChart Pro 8.01 Full Source Code\Sources\Compiled\Delphi10\System
$(BDS)\Imports
$(TEELIBPATH)
$(DXVCL)\Library\Delphi10
C:\Program Files\Raize\CS4\Lib\BDS2006
C:\Program Files\Borland\BDS\4.0\RBuilder\Lib
C:\Program Files\Borland\BDS\4.0\RBuilder\Source
C:\Program Files\Borland\BDS\4.0\indy10\Lib\Core
C:\Program Files\Borland\BDS\4.0\indy10\Lib\Protocols
C:\Program Files\Borland\BDS\4.0\indy10\Lib\System
C:\Program Files\Borland\BDS\4.0\indy10\Lib\Security
C:\Program Files\Borland\BDS\4.0\cport-3.10\sources
C:\Program Files\SiComponents\Scheduling Agent\Source
C:\PROGRA~1\SICOMP~1\TsiLang\Units
C:\PROGRA~1\SICOMP~1\TsiLang\Units\Auxilary
C:\Program Files\Borland\BDS\4.0\ButtonWithColor
C:\Program Files\Borland\BDS\4.0\StringAlignGrid
C:\Program Files\Borland\BDS\4.0\OnGuard\tponguard_1_13\source
C:\Program Files\SiComponents\TsiLang\Units
C:\Program Files\SiComponents\TsiLang\Units\Auxilary
C:\Program Files\SiComponents\TsiLang\Units\C2006
c:\softwareprojects\playground\numedit
$(DXVCL)\ExpressCommon Library\Sources
$(DXVCL)\XP Theme Manager\Sources
$(DXVCL)\ExpressGDI+ Library\Sources
$(DXVCL)\ExpressDataController\Sources
$(DXVCL)\ExpressLibrary\Sources
$(DXVCL)\ExpressEditors Library 5\Sources
$(DXVCL)\ExpressPageControl 2\Sources
$(DXVCL)\ExpressExport Library\Sources
$(DXVCL)\ExpressQuantumGrid 6\Sources
$(DXVCL)\ExpressMemData\Sources
$(DXVCL)\ExpressDBTree Suite\Sources
$(DXVCL)\ExpressOrgChart\Sources
$(DXVCL)\ExpressPrinting System\Sources
Posted: Mon Oct 01, 2007 2:02 pm
by narcis
Hi Gainco,
In that case it's most likely that when you have a project that works fine you should open Project->Options and enable the left-bottom "Default" checkbox.
I'm afraid there's little more we can do from our side. The problem with the installation lies on Delphi packages incompatibilities.
Hope this helps!
Re: Loosing TeeChart reference.
Posted: Wed Jul 07, 2010 11:23 am
by 16456091
Hi Narcis
This problem has appeared with my C++Builder 2010 and the error message when I load a previously-made project with a series is something similar to:
Class TPieSeries not found.
Right-click does not produce the 'Edit Chart' option.
The only way to get rid of the error message and enable the right-click menu is to select a TChart component from the Tool Palette and place it on a form.
I have examined all the project paths and all the relevant libraries and include paths are there.
I have rerun the TeeChart installation - but no difference.
Are you saying that there is nothing we can do to correct this ?
Re: Loosing TeeChart reference.
Posted: Wed Jul 07, 2010 2:00 pm
by narcis
Hi RichTat,
Most likely your project is referencing this unit somehow. I'd go to Project -> Options -> Packages -> Build with runtime packages and check that TPieSeries is not referenced there, that no units you use reference TPieSeries and that it isn't referenced at your project files. Try saving a project file (*.bpr and *.bproj), opening it with a text editor and search for it. Another option might be adding TeeChart's Lib folder at your project's Library search path (Project -> Options -> Directories/Conditionals).
If this doesn't help don't hesitate to let us know.
Re: Losing TeeChart reference.
Posted: Thu Jul 08, 2010 2:43 pm
by 16456091
Hi Narcis
I do not understand your comments.
Of course my project, which has a TeeChart with a Pie Series, references the unit Series.hpp and includes the declarations:
TChart Chart1;
TPieSeries Series1;
and the library search paths include the TeeChart libraries.
If I build the project with runtime libraries then there are 10 libraries (TeeUI914, etc) included.
The error message implies that the references are NOT being found - doesn't it ?
regards - RichTat
Re: Loosing TeeChart reference.
Posted: Tue Jul 13, 2010 7:22 am
by yeray
Hi RichTat,
There are files in the C++Builder projects (.bpr, .bdsproj and .cbproj) that may store absolute paths to libraries that may be wrong and packages or libraries that may also be wrong.
That's what in most cases creates a conflict in the IDE and makes it not to be able to find the correct packages.