TeeGDIplus
TeeGDIplus
Hi, just installed TeeChart 2012.06 and wanted to give a try to GDI plus as a customer complains about speed and wonder if it would help.
I added the component to the form and got
[BCC32 Error] Teegdipapi.hpp(525): E2019 'TeeGDIPAPI__4:: :: :: ()' cannot be declared in an anonymous union
[BCC32 Error] Teegdipapi.hpp(532): E2019 'TeeGDIPAPI__4:: :: ()' cannot be declared in an anonymous union
[BCC32 Error] Teegdipobj.hpp(47): E2238 Multiple declaration for '_fastcall TGPRegion::TGPRegion(void *)'
[BCC32 Error] Teegdipobj.hpp(39): E2344 Earlier declaration of '_fastcall TGPRegion::TGPRegion(void *)'
[BCC32 Error] Teegdipobj.hpp(290): E2238 Multiple declaration for '_fastcall TGPBitmap::TGPBitmap(void *)'
[BCC32 Error] Teegdipobj.hpp(269): E2344 Earlier declaration of '_fastcall TGPBitmap::TGPBitmap(void *)'
[BCC32 Error] Teegdipobj.hpp(878): E2238 Multiple declaration for '_fastcall TGPGraphics::TGPGraphics(void *)'
[BCC32 Error] Teegdipobj.hpp(871): E2344 Earlier declaration of '_fastcall TGPGraphics::TGPGraphics(void *)'
Any clues as why it aint working out of the box
Thanks
I added the component to the form and got
[BCC32 Error] Teegdipapi.hpp(525): E2019 'TeeGDIPAPI__4:: :: :: ()' cannot be declared in an anonymous union
[BCC32 Error] Teegdipapi.hpp(532): E2019 'TeeGDIPAPI__4:: :: ()' cannot be declared in an anonymous union
[BCC32 Error] Teegdipobj.hpp(47): E2238 Multiple declaration for '_fastcall TGPRegion::TGPRegion(void *)'
[BCC32 Error] Teegdipobj.hpp(39): E2344 Earlier declaration of '_fastcall TGPRegion::TGPRegion(void *)'
[BCC32 Error] Teegdipobj.hpp(290): E2238 Multiple declaration for '_fastcall TGPBitmap::TGPBitmap(void *)'
[BCC32 Error] Teegdipobj.hpp(269): E2344 Earlier declaration of '_fastcall TGPBitmap::TGPBitmap(void *)'
[BCC32 Error] Teegdipobj.hpp(878): E2238 Multiple declaration for '_fastcall TGPGraphics::TGPGraphics(void *)'
[BCC32 Error] Teegdipobj.hpp(871): E2344 Earlier declaration of '_fastcall TGPGraphics::TGPGraphics(void *)'
Any clues as why it aint working out of the box
Thanks
Re: TeeGDIplus
btw, its under XE2 (CBuilder)
Re: TeeGDIplus
Hello,
I've created a new simple C++Builder project in XE2 that uses a TChart v2012.06 and GDIPlus.
Find it attached. It builds and runs fine for me here.
This makes me think it has to be something related to the paths. Could you please check the TeeChart paths are on the according lists and on the top of the same? At "Tools/Options..." menu, make sure the following paths are on the top of the lists:
- In the "Environment Options/C++ Options/Paths and Directories/Selected Platform (32-bit Windows)/Include path" list there should be a reference to your TeeChart Include path (by default at "C:\Program Files (x86)\Steema Software\TeeChart 2012 for RAD XE2\Delphi16.win32\Include").
- In the "Environment Options/C++ Options/Paths and Directories/Selected Platform (32-bit Windows)/Library path" list there should be a reference to your TeeChart Library and Obj paths (by default at "C:\Program Files (x86)\Steema Software\TeeChart 2012 for RAD XE2\Delphi16.win32\Lib" and "C:\Program Files (x86)\Steema Software\TeeChart 2012 for RAD XE2\Delphi16.win32\Lib\Obj").
I've created a new simple C++Builder project in XE2 that uses a TChart v2012.06 and GDIPlus.
Find it attached. It builds and runs fine for me here.
This makes me think it has to be something related to the paths. Could you please check the TeeChart paths are on the according lists and on the top of the same? At "Tools/Options..." menu, make sure the following paths are on the top of the lists:
- In the "Environment Options/C++ Options/Paths and Directories/Selected Platform (32-bit Windows)/Include path" list there should be a reference to your TeeChart Include path (by default at "C:\Program Files (x86)\Steema Software\TeeChart 2012 for RAD XE2\Delphi16.win32\Include").
- In the "Environment Options/C++ Options/Paths and Directories/Selected Platform (32-bit Windows)/Library path" list there should be a reference to your TeeChart Library and Obj paths (by default at "C:\Program Files (x86)\Steema Software\TeeChart 2012 for RAD XE2\Delphi16.win32\Lib" and "C:\Program Files (x86)\Steema Software\TeeChart 2012 for RAD XE2\Delphi16.win32\Lib\Obj").
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TeeGDIplus
Sorry I made a mistake, this project is actually under CBuilder 2007, I have checked and cleaned the path with same result...
Re: TeeGDIplus
Hi,
You are right. I've reproduced the problem so I've added it to the defect list to be revised asap (TV52016375).
You are right. I've reproduced the problem so I've added it to the defect list to be revised asap (TV52016375).
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 8
- Joined: Mon Aug 20, 2007 12:00 am
Re: TeeGDIplus
Yeray
Has this issue been fixed?
I have just upgrade my TeeChartPro to 2013.08 (I am using C++Builder 2007) and, for the first time, I get:
[C++ Error] Teegdipapi.hpp(531): E2019 'TeeGDIPAPI__4:: :: :: ()' cannot be declared in an anonymous union
I have checked my paths in the Tools > Options box, where I use $(TEEINCPATH) and $(TEELIBPATH), and these are defined during TeeChart setup as:
$(TEEINCPATH)
C:\Program Files\Steema Software\TeeChart 2013 for Delphi 2007\Delphi11\Include
$(TEELIBPATH)
C:\Program Files\Steema Software\TeeChart 2013 for Delphi 2007\Delphi11\Lib
I still get the error.
Any help you can give would be approciated.
Andrew Bond
Has this issue been fixed?
I have just upgrade my TeeChartPro to 2013.08 (I am using C++Builder 2007) and, for the first time, I get:
[C++ Error] Teegdipapi.hpp(531): E2019 'TeeGDIPAPI__4:: :: :: ()' cannot be declared in an anonymous union
I have checked my paths in the Tools > Options box, where I use $(TEEINCPATH) and $(TEELIBPATH), and these are defined during TeeChart setup as:
$(TEEINCPATH)
C:\Program Files\Steema Software\TeeChart 2013 for Delphi 2007\Delphi11\Include
$(TEELIBPATH)
C:\Program Files\Steema Software\TeeChart 2013 for Delphi 2007\Delphi11\Lib
I still get the error.
Any help you can give would be approciated.
Andrew Bond
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeGDIplus
Hi Andrew,
I'm afraid not.Has this issue been fixed?
From this release GDI+ canvas is the default one. Hence you get it from the beginning. This is a known issue we are currently investigating. In the meantime, the only solution is disabling GDI+ from your application at the chart editor -> Chart -> 3D -> Render. You will also need to remove TeeGDIPlus references from your unit's .hpp and .cpp files.I have just upgrade my TeeChartPro to 2013.08 (I am using C++Builder 2007) and, for the first time, I get:
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 |
-
- Newbie
- Posts: 8
- Joined: Mon Oct 08, 2012 12:00 am
Re: TeeGDIplus
Narcis
So what do I do? This release of TeeChart totally breaks my application at compile time.
Help!
Andrew
This doesn't work. I have removed all reference to TeeGDIPlus from my code, but other TeeChart heards include <Teegdiplus.hpp> ... in particular TeePrevi.hpp, which gets included via TeeEdit.hpp and other headers.the only solution is disabling GDI+ from your application at the chart editor -> Chart -> 3D -> Render. You will also need to remove TeeGDIPlus references from your unit's .hpp and .cpp files.
So what do I do? This release of TeeChart totally breaks my application at compile time.
Help!
Andrew
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeGDIplus
Hello Andrew,
If you need to use those units you should revert your TeeChart installation to build 2013.08.130430 (beta with XE4 support) or build 2012.07.121105 (stable).
Apologies for the inconvenience caused.
If you need to use those units you should revert your TeeChart installation to build 2013.08.130430 (beta with XE4 support) or build 2012.07.121105 (stable).
Apologies for the inconvenience caused.
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 |
-
- Newbie
- Posts: 8
- Joined: Mon Oct 08, 2012 12:00 am
Re: TeeGDIplus
Narcis
Thanks for the workaround.
I'm surprised you switched the default behaviour while this bug (TV52016375) is still outstanding.
I trust you will provided a fix before long, since it prevents C++Builder 2007 customers from using the latest features of TeeChart.
Andrew
Thanks for the workaround.
I'm surprised you switched the default behaviour while this bug (TV52016375) is still outstanding.
I trust you will provided a fix before long, since it prevents C++Builder 2007 customers from using the latest features of TeeChart.
Andrew
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeGDIplus
Hello everyone,
Just to let you know that TV52016375 has been fixed for the next maintenance release, which we expect will be out very soon.
Just to let you know that TV52016375 has been fixed for the next maintenance release, which we expect will be out very soon.
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 |