Compile error using TeeChart 2012

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Olddog
Newbie
Newbie
Posts: 3
Joined: Wed Jun 27, 2012 12:00 am

Compile error using TeeChart 2012

Post by Olddog » Sat Apr 13, 2013 8:25 am

I recompiled a project in c++ 2010 that was originally built with 2011 teechart components. After loading TeeChart 2012 I am getting the following error:

[BCC32 Error] TeeTools.hpp(832): E2303 Type name expected
Full parser context
DCR.cpp(6): #include ChartRecorder.h
ChartRecorder.h(9): #include C:\Program Files\Steema Software\TeeChart 2012 for Delphi 2010\Delphi14\Include\TeeTools.hpp
TeeTools.hpp(36): namespace Teetools
TeeTools.hpp(822): class TTeeShapePosition

in TeeTools.hpp the offending line is:

class DELPHICLASS TTeeShapePosition;
class PASCALIMPLEMENTATION TTeeShapePosition : public Chart::TTeeCustomShapePosition
{
typedef Chart::TTeeCustomShapePosition inherited;

__published:
__property Bevel = {default=0};
__property BevelWidth = {default=2};
__property Brush;
__property Color = {default=16777215};
__property CustomPosition;
__property Emboss; <--------------------------------------------Right Here
__property Font;
__property Frame;
__property Gradient;
__property Left;
__property Picture;
__property Shadow;
__property ShapeStyle = {default=0};
__property Top;
__property Transparency = {default=0};
__property Transparent;
__property Visible = {default=1};
public:
/* TTeeCustomShape.Create */ inline __fastcall virtual TTeeShapePosition(Teeprocs::TCustomTeePanel* AOwner)/* overload */ : Chart::TTeeCustomShapePosition(AOwner) { }
/* TTeeCustomShape.Destroy */ inline __fastcall virtual ~TTeeShapePosition(void) { }

};


Does anyone have any ideas?

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

Re: Compile error using TeeChart 2012

Post by Yeray » Mon Apr 15, 2013 2:23 pm

Hello,

Can you reproduce the problem with new simple project?
If not, please check the library and include paths in the IDE, and also edit the old project files manually (with notepad or similar) and correct any wrong reference the old TeeChart installation.
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

Olddog
Newbie
Newbie
Posts: 3
Joined: Wed Jun 27, 2012 12:00 am

Re: Compile error using TeeChart 2012

Post by Olddog » Mon Apr 15, 2013 10:31 pm

I found this to be an installation issue with 12.7 date Nov 6, 2012. I kept getting a message to reinstall and/or recompile.
12.6 an earlier version works fine.

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

Re: Compile error using TeeChart 2012

Post by Yeray » Tue Apr 16, 2013 10:38 am

Hello,

We'd be pleased to take a look at it if you can arrange a simple example project we can run as-is to reproduce the problem here.

Thanks in advance.
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