[Pkg-pascal-devel] Castle Game Engine 7.0-alpha.1 release, view3dscene 4.0.0

Abou Al Montacir abou.almontacir at sfr.fr
Thu Feb 25 15:04:29 GMT 2021


OK, I'll have a trial with build depends on package libgl1.
On Wed, 2021-02-24 at 20:56 +0100, Michalis Kamburelis wrote:
> tools/texture-font-to-pascal/texture-font-to-pascal_compile.sh calls
>     castle-engine compile
> The castle-engine is our command-line build tool. In theory it shouldnot
> depend on OpenGL, but in practice it does, just because it waseasier to make.
> Of course it doesn't open any OpenGL context, but itrequires that OpenGL
> library is present on the system (just like anyother GUI OpenGL application
> would require).
> The error message means that it fails to open OpenGL at runtime, thatis
> dlopen('libGL.so.1', ...) fails (it is done inside FPC GL unit).
> IOW, build-dependencies of CGE must require an OpenGL installed. (Noneed for
> any libxxx-dev packages in case of OpenGL, we open it usingdlopen, but the
> OpenGL library 'libGL.so.1' must be available, as forany other OpenGL-using
> application.) I'm not sure what is the best wayto declare it in Debian, but
> any other OpenGL application may serve asexample I guess (e.g. extremetuxracer
> depends on libgl1).
> As for version: CGE works with basically any OpenGL version, usingvarious
> OpenGL 2 or 3 features if available, but also supports evenOpenGL 1.2 for
> ancient GPUs. On Linux, as far as I know, the'libGL.so.1' is traditionally the
> main OpenGL library which everybodyopens, and then you access proper OpenGL
> API based on"glGetString(GL_VERSION)" information we get at runtime.
> Regards,Michalis
> 
> wt., 23 lut 2021 o 23:54 Abou Al Montacir <abou.almontacir at sfr.fr> napisał(a):
> > I'm trying to build CGE 7.0-alpha for experimental and hit the following
> > issues:
> > Compiling tools/build-tool/code/toolios.pas
> > Compiling tools/build-tool/code/tooliospbxgeneration.pas
> > Compiling tools/build-tool/code/toolandroidmerging.pas
> > Compiling tools/build-tool/code/toolnintendoswitch.pas
> > Compiling tools/build-tool/code/toolmacros.pas
> > Compiling tools/build-tool/code/toolpackagecollectfiles.pas
> > Linking tools/build-tool/castle-engine
> > 723852 lines compiled, 21.5 sec
> > tools/texture-font-to-pascal/texture-font-to-pascal_compile.sh
> > An unhandled exception occurred at $00000000008AC60B:
> > Exception: Could not load OpenGL from libGL.so.1
> >   $00000000008AC60B
> > 
> > There are no additional information.Can that be because build should depends
> > on a specific OpenGL version?
> > --
> > Cheers,Abou Al Montacir
> > _______________________________________________Pkg-pascal-devel mailing 
> > listPkg-pascal-devel at alioth-lists.debian.net
> > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-pascal-devel
> 
> _______________________________________________Pkg-pascal-devel mailing 
> listPkg-pascal-devel at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-pascal-devel
-- Cheers,
Abou Al Montacir

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20210225/589e46ca/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20210225/589e46ca/attachment.sig>


More information about the Pkg-pascal-devel mailing list