From: 宋文武 <iyzsong@gmail.com>
To: "David Thompson" <dthompson2@worcester.edu>,
"Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: sdl: Allow dlopen for OpenGL.
Date: Sat, 21 Mar 2015 15:48:03 +0800 [thread overview]
Message-ID: <87619ueqq4.fsf@gmail.com> (raw)
In-Reply-To: <87d244ze2s.fsf@fsf.org>
David Thompson <dthompson2@worcester.edu> writes:
> Ludovic Courtès <ludo@gnu.org> writes:
>
>> David Thompson <dthompson2@worcester.edu> 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
prev parent reply other threads:[~2015-03-21 7:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-18 5:13 [PATCH] gnu: sdl: Allow dlopen for OpenGL 宋文武
2015-03-18 22:55 ` David Thompson
2015-03-19 8:50 ` Ludovic Courtès
2015-03-20 0:51 ` David Thompson
2015-03-21 7:48 ` 宋文武 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87619ueqq4.fsf@gmail.com \
--to=iyzsong@gmail.com \
--cc=dthompson2@worcester.edu \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.