[Lazarus] OpenGL on FreeBSD
Mattias Gaertner
nc-gaertnma at netcologne.de
Sun Jan 8 12:31:01 CET 2017
On Sun, 08 Jan 2017 10:43:49 +0100
Marc Santhoff via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
> Hi,
>
> when trying to compile the lazopenglcontext package it fails like this:
>
> "
> openglcontext.pas(54,4) Error: User defined: this LCL widgetset/OS is not yet supported
> "
>
> has anyone managed or at least tried to use OpenGL on FreeBSD/gtk2?
Maybe you are the first.
> And what do I have to do to make it running, looks like the first step
> is to define the combination of OS and widgetset and try if it works?
Yes. See unit openglcontext.
At the moment it checks for Linux:
{$IFDEF LCLGTK2}
{$IFDEF Linux}
...
You can try if the Linux implementation works on FreeBSD too:
{$IFDEF LCLGTK2}
{$IF defined(Linux) or defined(FreeBSD)}
...
Mattias
More information about the Lazarus
mailing list