[swift-users] Binding Regular C Functions (Gtk, Cairo, etc.)
Max Howell
max.howell at apple.com
Wed Dec 9 17:26:21 CST 2015
Yes this is the problem. The path is not searched. We have a big ticket open for this.
> On Dec 9, 2015, at 3:25 PM, Gage Morgan <gagemorgan at outlook.com> wrote:
>
> /usr/lib/x86_64-linux-gnu/libcairo.so
>
> Sent from Outlook Mobile
>
>
>
>
> On Wed, Dec 9, 2015 at 3:20 PM -0800, "Max Howell" <max.howell at apple.com> wrote:
>
> What's the path of your libcairo?
>
> On Dec 9, 2015, at 2:01 PM, Gage Morgan <gagemorgan at outlook.com> wrote:
>
>> So I don't have any files named libcairo2.so, while I did have libcairo.so23xxxxx (some numbers after .so). I tried "link: cairo," and it said it could not find the module at all.
>>
>> Sent from Outlook Mobile
>>
>>
>>
>>
>> On Wed, Dec 9, 2015 at 1:58 PM -0800, "Max Howell" <max.howell at apple.com> wrote:
>>
>> Look at the .so file, you put the name without the lib prefix and without the .so suffix.
>>
>> > So if the name of the library is libcairo amd to imstall I had to type "sudo apt-get install libcairo2-dev, what would I put for "link:?"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20151209/d7aeb544/attachment.html>
More information about the swift-users
mailing list