Hmm, there doesn't seem to exist an LCL unit, but there are several
LCLxxxx units. I'm using win32 at the moment. Thanks :)
2007/11/27, Mattias Gaertner <[EMAIL PROTECTED]>:
> On Tue, 27 Nov 2007 11:42:32 -0600
> "Marco Alvarado" <[EMAIL PROTECTED]> wrote:
>
> > 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.
>
> The define comes from the LCL package.
> What target platform do you use?
>
>
> Mattias
>
> _________________________________________________________________
> To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
> archives at http://www.lazarus.freepascal.org/mailarchives
>
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives