Compiling beer example of GLScene lazarus / 21-General ---------------------------------------------------------------------- Tommi · 2021-09-29 09:50 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 ---------------------------------------------------------------------- Tommi · 2021-10-03 20:58 Solved: Lazarus 2.0.12 and GLScene 1.4 are required. Refer to this istructions during GLScene install: Code: [Select]The progress below: 1.RunTime: GLCrossPlatform and GLUtils for line 656 path := ExtractFilePath(ParamStrUTF8(0)); use Unit LazUTF8 for line 904 and same other SetCurrentDirUTF8(path); use Unit LazFileUtils GLWindowsFont for line 299 GetTextMetricsW(DC, tm); change to GetTextMetricsW(DC, @tm); compile 2.Install DesignTime (Taken from here: https://sourceforge.net/p/glscene/discussion/lazarus /thread/1e1108f1c5/#a4e6) 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.