[GEM-dev] context sharing

Husk 00 husk00 at gmail.com
Wed Jun 24 12:44:55 CEST 2015


On Wed, Jun 24, 2015 at 12:21 PM, IOhannes m zmoelnig <zmoelnig at iem.at>
wrote:

> please don't ever reply to my privately, unless you have privacy
> concerns (if so, please make that explicit).
>

you are totally right, sorry!

On 2015-06-24 12:12, Husk 00 wrote:
> > Actually Gem does detects glfw3 automatically but still I get an error
> when
> > create the object:
> >
> > /usr/lib/pd/extra/Gem/gemglfw3window.pd_linux: undefined symbol:
> > XineramaQueryScreens
>
> i guess some underlinking has happened here.
> [gemglfw3window] does not use the XineramaQueryScreens symbols directly,
> so it's glfw3 that uses it.
>
> what's the output of:
> $ pkg-config --libs glfw3
>

-lglfw3


> and whats the output of:
> $ ldd gemglfw3window.pd_linux
>
>
linux-vdso.so.1 =>  (0x00007fffcabfe000)
libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1
(0x00007f44c8eef000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f44c8ceb000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007f44c89e6000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f44c86e0000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f44c831b000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f44c8104000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f44c7dcf000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f44c7bbd000)
/lib64/ld-linux-x86-64.so.2 (0x00007f44c9341000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f44c799d000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f44c7799000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
(0x00007f44c7593000)




> and whats the output of:
> $ ldd /usr/lib/libglfw.so.3 | grep -i xin
> (or whatever the libglfw.so binary you are using is¹)


 I have not libglfw.so.3. Only libglfw.so.2 with no xinerama lib linked




> ¹ you could use something like
> $ ldd $(ldd gemglfw3window.pd_linux | grep -i glfw | awk '{print $3}') |
> grep -i xin
>
>
> ldd gemglfw3window.pd_linux | grep -i glfw give me nothing as output


husk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20150624/4557c554/attachment.html>


More information about the GEM-dev mailing list