bino-list
[Top][All Lists]
Advanced

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

Re: [Bino-list] Always link a glew library explicitly.


From: Martin Lambers
Subject: Re: [Bino-list] Always link a glew library explicitly.
Date: Sun, 6 Nov 2011 14:30:31 +0100

Hello Stefan!

On Sun, 6 Nov 2011 13:10:32 +0100, Stefan Eilemann wrote:
> I just saw your commit aad94f78ec0dede4501b34f43586c572f65263cf and
> was wondering if there is some action required on our end.
> 
> Equalizer will search for a GLEW_MX version on the system and use
> this if found. Otherwise we'll compile a static GLEW_MX, use and ship
> it with Equalizer.

The problem for an application that uses GLEW functions directly (such
as Bino) is how to find out if Equalizer uses an external GLEW_MX or an
internal static one. In the first case, the application needs to link
with libGLEWmx, and in the second case it should probably not link with
an external libGLEWmx.

Since there is no way to find out which is correct (as far as I can
see), Bino must make an assumption. Previously it assumed Equalizer
uses its own libGLEWmx, but now it assumes there is an external
libGLEWmx.

The reason for the change is that once Equalizer is packaged for
distributions, then it will always be built against an external
libGLEWmx since distributions usually forbid bundled libraries.

The change was triggered by a recent effort to build Bino packages with
Equalizer support for Fedora (via rmpfusion.org):
https://bugzilla.rpmfusion.org/show_bug.cgi?id=1901

(The report indicates that vmmlib may be considered a bundled library,
too, so that Equalizer would need to support building with an external
vmmlib.)

Martin



reply via email to

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