Can not compile Features demo project

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
jls
Newbie
Newbie
Posts: 27
Joined: Fri May 06, 2011 12:00 am

Can not compile Features demo project

Post by jls » Mon Apr 16, 2012 10:14 am

unit OpenGL2;

[DCC Error] OpenGL2.pas(3642): E2242 'OpenGL2' is not the name of a unit

any reason?

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

Re: Can not compile Features demo project

Post by Yeray » Mon Apr 16, 2012 10:24 am

Hi,

What IDE are you using? If you are using XE2, note you may need to add "VCLTee" namespace:
http://www.teechart.net/support/viewtop ... 293#p57293
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

jls
Newbie
Newbie
Posts: 27
Joined: Fri May 06, 2011 12:00 am

Re: Can not compile Features demo project

Post by jls » Mon Apr 16, 2012 11:28 am

it was in the project scope, added it as a global scope and it got new error, now in

unit Base;

ncAntiAlias : Chart1.Canvas:=TAntiAliasCanvas.Create;


[DCC Error] Base.pas(72): E2010 Incompatible types: 'TCanvas3D' and 'TAntiAliasCanvas'

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

Re: Can not compile Features demo project

Post by Narcís » Thu Apr 19, 2012 9:49 am

Hi jls,

So I assume you are using Delphi XE2. Do you have Update 4 installed on it? Are you using TeeChart Pro 2012.05 VCL? Please bear in mind that v2012.05 requires XE2 update 4 installed. Could you also check that latest TeeChart version search paths are on *top* of the search path list at Tools -> Options -> Environment Options -> Delphi Options -> Library?

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

Post Reply