Author Topic: Compiling beer example of GLScene  (Read 523 times)


  • Full Member
  • ***
  • Posts: 186
Compiling beer example of GLScene
« on: September 29, 2021, 11:50:12 am »
Hi everyone,
I am trying to test beer example in glscene package. I installed GLScene from Online Package Manager and (after some minor modification) I compiled beer example (In attachment).

The proble is that it flickers very strongly.

Could you suggest to me why ?

Thank you


  • Full Member
  • ***
  • Posts: 186
Re: Compiling beer example of GLScene
« Reply #1 on: October 03, 2021, 10:58:40 pm »
Lazarus 2.0.12 and GLScene 1.4 are required.
Refer to this istructions during GLScene install:
Code: [Select]
The progress below:
GLCrossPlatform and GLUtils
for line 656 path := ExtractFilePath(ParamStrUTF8(0));
use Unit LazUTF8
for line 904 and same other SetCurrentDirUTF8(path);
use Unit LazFileUtils

for line 299 GetTextMetricsW(DC, tm);
change to GetTextMetricsW(DC, @tm);

2.Install DesignTime

(Taken from here:

To open examples contained in "GLSceneLCL\Samples\Lazarus" it is usually required to add GLSceneLCL_RunTime under required packages into Projects Analyzer, after that it, is required to remove GLSceneLCL_RunTime from uses into lpr.
« Last Edit: October 03, 2021, 11:19:43 pm by Tommi »


TinyPortal © 2005-2018