guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] gnu: sdl: Allow dlopen for OpenGL.


From: 宋文武
Subject: Re: [PATCH] gnu: sdl: Allow dlopen for OpenGL.
Date: Sat, 21 Mar 2015 15:48:03 +0800
User-agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-unknown-linux-gnu)

David Thompson <address@hidden> writes:

> Ludovic Courtès <address@hidden> writes:
>
>> David Thompson <address@hidden> skribis:
>>
>>> I use the following crude command to test, run from a git checkout of 
>>> Sly[0].
>>>
>>>     guix environment -l package.scm -E "guile -c \"(use-modules ((sdl sdl) 
>>> #:prefix sdl:)) (sdl:init 'video) (pk 'window (sdl:set-video-mode 320 240 
>>> 24 'opengl))\""
>>
>> Do you run it on GuixSD or on an FHS distro?  In the latter case, it
>> might end up loading a shared object from the host distro, which could
>> fail for a variety of reasons.
>
> This is on Debian.  I haven't had the opportunity to try on GuixSD
> yet.
Sorry for the late reply.

I got it work with Sly on GuixSD by set LD_LIBRARY_PATH to
/gnu/store/xxx-mesa/lib. So IMO this should fix the regression.

To avoid loading a GL driver from the host distro, we can
link sdl with mesa explicitly.


Updated patches sent to ML.



>
> -- 
> David Thompson
> Web Developer - Free Software Foundation - http://fsf.org
> GPG Key: 0FF1D807
> Support the FSF: https://fsf.org/donate



reply via email to

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