bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] GL build on a non-GL system


From: Jonathan Kinsey
Subject: Re: [Bug-gnubg] GL build on a non-GL system
Date: Wed, 25 Apr 2007 09:59:00 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.0

Russ Allbery wrote:
> (I've also submitted this as bug 19678 on Savannah.)
> 
> If gnubg is built with GL support, the binary can't even be started on a
> system that doesn't have GL. This is less than ideal for a build for a
> Linux distribution (such as Debian).
> 
> Would it be possible to try to initialize GL and, if it failed, fall back
> on the 2D board behavior as if GL were not compiled in? This way, the same
> binary could be used with GL-enabled systems and systems that only have
> non-GL X.

The simple answer is no...  I'm not sure if Linux has some magic to help out,
but on windows if the dll isn't there it won't load.  You can mess around with
delayed loading or if there were only a few exported functions you could load
them up at runtime (not the case here).

Every windows machine has openGL installed, how likely is it that a linux
machine doesn't?  Basically you have two choices - build a separate version
without 3d, or make openGL a dependency.  I've very limited linux packaging
knowledge, but I assume gnubg has lots of dependencies (gtk, cario, etc), can't
you just add one more?

Jon

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]