Page 1 of 1

Can not compile Features demo project

Posted: Mon Apr 16, 2012 10:14 am
by 16559245
unit OpenGL2;

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

any reason?

Re: Can not compile Features demo project

Posted: Mon Apr 16, 2012 10:24 am
by yeray
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

Re: Can not compile Features demo project

Posted: Mon Apr 16, 2012 11:28 am
by 16559245
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'

Re: Can not compile Features demo project

Posted: Thu Apr 19, 2012 9:49 am
by narcis
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.