I'm trying to migrate some applications from
* Borland C++ Builder Enterprise V6 + TeeChartPRO V5.03
To
* CodeGear Studio 2007 (C++) + TeeChartPRO 8.0.2
When linking:
The error from ILINK32 is "Can not open file CANDLECH.OBJ"
When building without execution packages (for deployment, I need an executable only without dll files or packages) (the option is unchecked).
When comparing directory contents :
In "..\TeeChart Pro v5.03 for C++ Builder 6\CBuilder6\Lib\obj" I had aways an .obj file (for C++ linker) matching a .dcu file(for delphi).
In the 8.0.2 release organisation, I can not find these obj files.
Are they missing?
How can I link my applications ?
Thanks.
Linking CodeGear C++ 2007 and TeeChartPRO 8.0.2
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi SN05,
Using CodeGear's RAD Studio 2007 only one set of packages works for both Delphi and C++ Builder personalities.
In C++ Builder personality you should go to Project->Options->Paths and Defines, check that Include path list has $(TEEINCPATH) on top of the list, Library path has $(TEELIBPATH) and $(TEELIBPATH)\OBJ on top of the list, close that dialog and go to Tools->Options->Environment Options->Environment Variables->User overrides and check that TEEINCPATH points to v8.02's Include folder and TEELIBPATH points to v8.02's Lib folder.
If this doesn't help don't hesitate to let us know.
Using CodeGear's RAD Studio 2007 only one set of packages works for both Delphi and C++ Builder personalities.
In C++ Builder personality you should go to Project->Options->Paths and Defines, check that Include path list has $(TEEINCPATH) on top of the list, Library path has $(TEELIBPATH) and $(TEELIBPATH)\OBJ on top of the list, close that dialog and go to Tools->Options->Environment Options->Environment Variables->User overrides and check that TEEINCPATH points to v8.02's Include folder and TEELIBPATH points to v8.02's Lib folder.
If this doesn't help don't hesitate to let us know.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
CG 2007 and TeeChartPRO 8.0.2 migration from 5.0.3
An other PB occurs before building a project:
When I try to load an old cpp file in a new project (Add files to project), I can not load the TeeChart Objects from the BC++ Form.
The error messages are:
dclado100.blp not found
Class TChart not found
Class TChartPreviewer not found.
(with "Ignore", "Cancel", "Ignore all" question for each case).
Can you help me?
Thanks.
When I try to load an old cpp file in a new project (Add files to project), I can not load the TeeChart Objects from the BC++ Form.
The error messages are:
dclado100.blp not found
Class TChart not found
Class TChartPreviewer not found.
(with "Ignore", "Cancel", "Ignore all" question for each case).
Can you help me?
Thanks.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi SN05;
Please read this thread about the very same issue.dclado100.blp not found
You should check that C++ Builder has TeeChart properly installed before loading this *.cpp file. Please check that TeeChart pakcages are enabled at Prjoect->Options->Packages and search paths are as I told in my previous message.Class TChart not found
Class TChartPreviewer not found.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
It is OK for building with your instructions.
But I can not load .cpp file with a Form containing TeeChart objects created with BC++ V6 and TeeChartPRO V5.0.3).
In CG studio, the cpp code is visible but the form is not (the icon to switch from Unit to Form is disabled). It looks like CG studio could not load the old .dfm file, and the form is not visible in the form list.
Notice that I can create a new form with new TeeChart objects (in CG 2007).
What do you think of that ?
Does that mean I will have to re-design all forms containing TeeChart objets created with the old above versions ?
Thanks for your help.
But I can not load .cpp file with a Form containing TeeChart objects created with BC++ V6 and TeeChartPRO V5.0.3).
In CG studio, the cpp code is visible but the form is not (the icon to switch from Unit to Form is disabled). It looks like CG studio could not load the old .dfm file, and the form is not visible in the form list.
Notice that I can create a new form with new TeeChart objects (in CG 2007).
What do you think of that ?
Does that mean I will have to re-design all forms containing TeeChart objets created with the old above versions ?
Thanks for your help.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi SN05,
No, I think this is because of an issue with old C++ Builder's versions project files. It's most likely that that package names are hard coded and not updated in projects files (.bpr o .bdsproj). The only way to remove old packages from there is manually editing them (with notepad, for example) and remove old package references. Since the hardcode package version can't be found now that's the reason of those error messages.
Hope this helps!
No, I think this is because of an issue with old C++ Builder's versions project files. It's most likely that that package names are hard coded and not updated in projects files (.bpr o .bdsproj). The only way to remove old packages from there is manually editing them (with notepad, for example) and remove old package references. Since the hardcode package version can't be found now that's the reason of those error messages.
Hope this helps!
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |