[Lazarus] lazopenglcontext on Raspberry Pi?

Anthony Tekatch anthony at unihedron.com
Fri Oct 20 21:07:22 CEST 2017


On Fri, 20 Oct 2017 03:12:27 -0700 (MST), leledumbo via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
> Should be in components folder.

On Fri, 20 Oct 2017 12:25:57 +0200, Mattias Gaertner via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
> It is part of the Lazarus sources.
> lazarus/components/opengl/lazopenglcontext.lpk

Yes, the lazopenglcontext.lpk exists on the disk here:

$ ls -al /usr/lib/lazarus/1.6.2/components/opengl/
total 144
drwxr-xr-x  3 root root  4096 Oct 18 16:06 .
drwxr-xr-x 75 root root  4096 Oct 18 16:05 ..
drwxr-xr-x  2 root root  4096 Oct 18 16:05 example
-rw-r--r--  1 root root 10173 Aug 16  2015 glcarbonaglcontext.pas
-rw-r--r--  1 root root 15248 Nov 20  2015 glcocoanscontext.pas
-rw-r--r--  1 root root 30842 Sep 15  2015 glgtkglxcontext.pas
-rw-r--r--  1 root root  8168 Nov 21  2014 glqtcontext.pas
-rw-r--r--  1 root root 24564 Sep 27  2015 glwin32wglcontext.pas
-rw-r--r--  1 root root  2850 Apr  5  2017 lazopenglcontext.lpk
-rw-r--r--  1 root root   384 Aug 16  2015 lazopenglcontext.pas
-rw-r--r--  1 root root 20770 Sep 27  2015 openglcontext.pas
-rw-r--r--  1 root root  4200 Oct  5  2013 openglcontext.res


Also, the .ppu is being generated when I try to install the
lazopenglcontext package:

$ ls -al ~/.lazarus/lib/LazOpenGLContext/lib/arm-linux/gtk2
total 552
drwxr-xr-x 2 pi pi   4096 Oct 20 14:35 .
drwxr-xr-x 3 pi pi   4096 Oct 20 14:17 ..
-rw-r--r-- 1 pi pi 240648 Oct 20 14:17 glgtkglxcontext.o
-rw-r--r-- 1 pi pi  23005 Oct 20 14:17 glgtkglxcontext.ppu
-rw-r--r-- 1 pi pi    523 Oct 20 14:35 LazOpenGLContext.compiled
-rw-r--r-- 1 pi pi   2808 Oct 20 14:35 lazopenglcontext.o
-rw-r--r-- 1 pi pi   1325 Oct 20 14:35 lazopenglcontext.ppu
-rw-r--r-- 1 pi pi 234308 Oct 20 14:17 openglcontext.o
-rw-r--r-- 1 pi pi  32001 Oct 20 14:17 openglcontext.ppu
-rw-r--r-- 1 pi pi   4200 Oct 20 14:17 openglcontext.res


The error remains the same:
  lazarus.pp(1,1) Fatal: Cannot find lazopenglcontext used by Lazarus.
  Check if package LazOpenGLContext creates lazopenglcontext.ppu, check
  nothing deletes this file and check that no two packages have access to
  the unit source..


Thanks for any more clues,
Anthony




More information about the Lazarus mailing list