straight-shoota has quit [Ping timeout: 240 seconds]
jhass has quit [Ping timeout: 272 seconds]
straight-shoota has joined #crystal-lang
jhass has joined #crystal-lang
ur5us has quit [Ping timeout: 264 seconds]
<phil294:matrix.org> Is there anything you can do when two libraries contradict each other? I installed both `jhass/crystal-gobject` and `TamasSzekeres/x11-cr` and compilation always fails because the latter says `fun open_display = XOpenDisplay(display_name : PChar) : PDisplay` while the former's obscure magic says `fun open_display = XOpenDisplay : Void`
_ht has joined #crystal-lang
How are you trying to use them together? How do the failure look like?
ie, are you getting a linker error or a type error when calling them?
or (not very likely), are they defined in the same namespace and overwrite each other?
hightower3 has joined #crystal-lang
hightower2 has quit [Ping timeout: 240 seconds]
amk has quit [Ping timeout: 240 seconds]
amk has joined #crystal-lang
yxhuvud has quit [Remote host closed the connection]
yxhuvud has joined #crystal-lang
analogsalad has joined #crystal-lang
<phil294:matrix.org> separately fro each other. It looks like this: ⏎ ⏎ ```code paste, see link``` ⏎ ⏎ I'm not sure if the namespaces actually collide here because `crystal-gobject` ships no code directly, but afaik reads and applies external GObject (GTK) libraries. I'll try to figure that out now [https://gitter.im/crystal-lang/crystal?at=62d5859def5ee44882ac4a6f]
analogsalad has quit [Quit: bye]
Odd. I've no idea how to resolve that without rewriting the offending libraries
<phil294:matrix.org> hm, okay. thank you
notzmv has quit [Ping timeout: 276 seconds]
<analogsalad:matrix.org> I took a quick look to find what's offending but it's just too gnarly.