[GEM-dev] context sharing

IOhannes m zmoelnig zmoelnig at iem.at
Wed Jun 24 13:02:23 CEST 2015


On 2015-06-24 12:44, Husk 00 wrote:
>>
>> 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)


hmm, i don't see libglfw3 here.
did you build glfw3 with dynamic linking support?

(or static only?)

>> 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

no, libglfw.so.2 is glfw2 which is something else (well, it's glfw
before a major API overhaul)

>>
>> ldd gemglfw3window.pd_linux | grep -i glfw give me nothing as output
> 

i'd suggest building glfw3 to support dynamic linking, then link against
that lbglfw.so

fgasdm
IOhannes


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20150624/c3a4c2d7/attachment.sig>


More information about the GEM-dev mailing list