XE4 VclTee.TeeGDIPlus.hpp ambiguity error

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
anauta2014
Newbie
Newbie
Posts: 48
Joined: Tue Apr 09, 2013 12:00 am

Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error

Post by anauta2014 » Tue May 28, 2013 2:34 pm

Hi, Narcis
Very frustrating, but today I've installed fresh copy of XE3, after that I've installed Tee2013 full source code and got again this error after recompiling.
Unfortunately this recompile changed also XE4-Chart, after that I have this error for XE4 also. The binary install did not help, the error exists!
With best regards
Vladimir

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error

Post by Narcís » Tue May 28, 2013 2:40 pm

Hi Vladimir,

Are you using the solution Yeray suggested in your sources?
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

anauta2014
Newbie
Newbie
Posts: 48
Joined: Tue Apr 09, 2013 12:00 am

Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error

Post by anauta2014 » Tue May 28, 2013 4:23 pm

Not, I thought that I have not to use it for the latest Tee2013, have I to use it? I'll try...
With best regards
Vladimir

anauta2014
Newbie
Newbie
Posts: 48
Joined: Tue Apr 09, 2013 12:00 am

Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error

Post by anauta2014 » Tue May 28, 2013 4:26 pm

I've just checked latest source code (21 May) and these lines were not changed, why?
With best regards
Vladimir

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error

Post by Narcís » Wed May 29, 2013 6:51 am

Hi Vladimir,

I explained it earlier in this thread. See my 17th May reply:
Narcís wrote: Looks like we are going to have to remove this solution as it broke standard environments. You can continue using it though.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

anauta2014
Newbie
Newbie
Posts: 48
Joined: Tue Apr 09, 2013 12:00 am

Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error

Post by anauta2014 » Wed May 29, 2013 8:25 am

Hi Narcís
This means that to use TeeRecompile for XE-XE4 we have to edit source code?
By the way, I found new issue:

If I want to use TeeInstall to install TeeChart, it always says to uninstall TeeChart, but not install.
The root of the problem - TeeInstall can't uninstall Teemaker, this component has to be uninstall manually from IDE (XE-XE4)
With best regards
Vladimir

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

Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error

Post by Yeray » Wed May 29, 2013 10:05 am

Hi Vladimir,
anauta2014 wrote:This means that to use TeeRecompile for XE-XE4 we have to edit source code?
The fix suggested here works fine for you, but breaks standard environments, so we decided undo it.
So I'm afraid the only solution I can think on right now is that you apply the fix and recompile the sources with TeeRecompile.
anauta2014 wrote:If I want to use TeeInstall to install TeeChart, it always says to uninstall TeeChart, but not install.
The root of the problem - TeeInstall can't uninstall Teemaker, this component has to be uninstall manually from IDE (XE-XE4)
TeeInstall utility uninstalls TeeChart if it detects the component and installs TeeChart if don't. However, it fails to uninstall TeeMaker in some environments and, in these cases you should open the IDE and manually remove the component from the packages list. Then, the next time you run TeeInstall, it shouldn't detect any TeeChart package installed and it should install it.
This is a known issue we'll try to improve for next releases.
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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error

Post by Narcís » Wed May 29, 2013 2:29 pm

Hi Vladimir,

You may also be interested in what Servando posted here. It might help solving the problem you are experiencing. For further information please look at C++ Applications Use STRICT Type Checking.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

anauta2014
Newbie
Newbie
Posts: 48
Joined: Tue Apr 09, 2013 12:00 am

Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error

Post by anauta2014 » Wed May 29, 2013 3:39 pm

Hi Narcis
Thank you, I'll check.
for XE-CB I met a new one ambiguity between olectrl.h and TeeGdiPlus.hpp and has to uninstall Tee2013, but I have to investiagate more carefully and then submit.
With best regards
Vladimir

anauta2014
Newbie
Newbie
Posts: 48
Joined: Tue Apr 09, 2013 12:00 am

Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error

Post by anauta2014 » Fri May 31, 2013 4:09 pm

Hi, Narcis
Very bad news: this bug returned again and I can't use latest TeeChart2013 for RadXE4-Builder.
I have to install TeeChart to the new PC, but I have always this error.
I tried to use binary installer, then I tried to install from full source code using patch from Yeray, but the result is the same, test application can't be compiled.
What can I do?
With best regards
Vladimir

joep
Newbie
Newbie
Posts: 2
Joined: Tue Oct 30, 2012 12:00 am

Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error

Post by joep » Wed Jun 26, 2013 12:36 am

Hello Narcis,

I don't understand if there is a fix for this problem. I just installed RadStudio XE4, and I'm getting errors related to these header files when building a C++ project that builds fine with XE and 2012.07.121026. I am using the latest source code release 2013.08.130521 in the XE4 installation.

What happens is that an existing form now does #include "VclTee.TeeGDIPlus.hpp", and these errors (and others) occur. There is no "Winapi.GDIPAPI.hpp" or "Winapi.GDIPOBJ.hpp" on my system.

[bcc32 Error] VclTee.TeeGDIPlus.hpp(23): E2209 Unable to open include file 'Winapi.GDIPAPI.hpp'
[bcc32 Error] VclTee.TeeGDIPlus.hpp(24): E2209 Unable to open include file 'Winapi.GDIPOBJ.hpp'
[bcc32 Error] VclTee.TeeGDIPlus.hpp(29): E2090 Qualifier 'Gdiplus' is not a class or namespace name

joep

anauta2014
Newbie
Newbie
Posts: 48
Joined: Tue Apr 09, 2013 12:00 am

Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error

Post by anauta2014 » Wed Jun 26, 2013 9:12 am

Hello joep
Will set the 3D->Render of the chart to gdi and delete this hpp file from the project, this helped me.
With best regards
Vladimir

joep
Newbie
Newbie
Posts: 2
Joined: Tue Oct 30, 2012 12:00 am

Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error

Post by joep » Wed Jun 26, 2013 8:43 pm

Vladimir,

Thank you. That worked. As you said, for each chart, I changed the 3D->Render from GDI+ to GDI. This prevents C++ Builder from adding #include "VCLTee.GDIPAPI.hpp" and "VCLTee.GDIPOBJ.hpp", so there is no conflict.

Steema, will there be a real fix for this sometime? Those GDI+ header files do not exist on my clean RAD Studio XE4 Enterprise install, with TeeChart 2013 source code, latest version.

Joe

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

Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error

Post by Yeray » Thu Jun 27, 2013 11:41 am

Hi,

As you can read here, I've done tests with clean environments, with both Win7 and Win8, C++Builder XE4 Update1, TeeChart binary and source code versions, and with all the project types and platforms; and I found no problems.

If you find an error saying Winapi.GDIPAPI.hpp and Winapi.GDIPOBJ.hpp can't be found, please check if they are at:

Code: Select all

C:\Program Files (x86)\Embarcadero\RAD Studio\11.0\include\windows\rtl
If they aren't present, I guess something is broken in your IDE. So please, try to repair it and reinstall TeeChart.
If they are present, it has to be that the paths in the IDE aren't referencing that path as it should. I see the following in the "Tools\Options...\Environment Options\C++ Options\Paths and Directories\Selected Platform (32-bit Windows)\System Include path" list:

Code: Select all

$(BDSINCLUDE)\windows\rtl
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