XE4 VclTee.TeeGDIPlus.hpp ambiguity error
-
- Newbie
- Posts: 48
- Joined: Tue Apr 09, 2013 12:00 am
Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error
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!
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
Vladimir
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error
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: 48
- Joined: Tue Apr 09, 2013 12:00 am
Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error
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
Vladimir
-
- Newbie
- Posts: 48
- Joined: Tue Apr 09, 2013 12:00 am
Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error
I've just checked latest source code (21 May) and these lines were not changed, why?
With best regards
Vladimir
Vladimir
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error
Hi Vladimir,
I explained it earlier in this thread. See my 17th May reply:
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 |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 48
- Joined: Tue Apr 09, 2013 12:00 am
Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error
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)
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
Vladimir
Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error
Hi Vladimir,
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.
This is a known issue we'll try to improve for next releases.
The fix suggested here works fine for you, but breaks standard environments, so we decided undo it.anauta2014 wrote:This means that to use TeeRecompile for XE-XE4 we have to edit source code?
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.
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.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)
This is a known issue we'll try to improve for next releases.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error
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.
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 |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 48
- Joined: Tue Apr 09, 2013 12:00 am
Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error
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.
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
Vladimir
-
- Newbie
- Posts: 48
- Joined: Tue Apr 09, 2013 12:00 am
Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error
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?
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
Vladimir
Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error
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
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
-
- Newbie
- Posts: 48
- Joined: Tue Apr 09, 2013 12:00 am
Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error
Hello joep
Will set the 3D->Render of the chart to gdi and delete this hpp file from the project, this helped me.
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
Vladimir
Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error
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
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
Re: XE4 VclTee.TeeGDIPlus.hpp ambiguity error
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:
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:
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 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,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |