[swift-users] Binding Regular C Functions (Gtk, Cairo, etc.)
Max Howell
max.howell at apple.com
Wed Dec 9 17:20:21 CST 2015
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/59bd1e79/attachment.html>
More information about the swift-users
mailing list