I get the error at the bottom of this test in the OpenGLContext component: unit OpenGLContext;
{$mode objfpc}{$H+} {$IFDEF LCLGTK} {$DEFINE UseGtkGLX} {$DEFINE OpenGLTargetDefined} {$ENDIF} {$IFDEF LCLGTK2} {$DEFINE UseGtk2GLX} {$DEFINE OpenGLTargetDefined} {$ENDIF} {$IFDEF LCLCarbon} {$DEFINE UseCarbonAGL} {$DEFINE OpenGLTargetDefined} {$ENDIF} {$IFDEF LCLWin32} {$DEFINE UseWin32WGL} {$DEFINE OpenGLTargetDefined} {$ENDIF} {$IFNDEF OpenGLTargetDefined} {$ERROR this target is not yet supported} {$ENDIF} I'm creating the component dynamically. The example that comes with this component works for me, but I can't make it compile in my application. Do you know where the LCLxxxx is defined? Maybe I have to include another unit. Thanks! _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives