[swift-users] Linux - How to use C libs

Damien BRUN dev at lanza.fr
Sat Dec 5 12:40:40 CST 2015


Thanks Harlan for the link, this is what I'm trying to do. =)

With interdependent libs, this becomes a mess anyway... (tried gdk/gtk...)

& thanks René for the video. Very interesting for what will come next.

2015-12-05 18:07 GMT+01:00 Harlan Haskins <harlan at harlanhaskins.com>:

> C libraries require you to create modules for them. There's a great guide
> with examples for importing libjpeg into Swift on GitHub:
>
>
> https://github.com/apple/swift-package-manager/blob/master/Documentation/SystemModules.md
>
> On Dec 5, 2015, at 8:58 AM, Damien BRUN <dev at lanza.fr> wrote:
>
> Hello Again,
>
> Now that I have a functional Swift installation, I'd like to know if/how I
> can use C libs ?
> How do I import headers & link to the right libs ?
>
> Thanks
>
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20151205/4359af93/attachment.html>


More information about the swift-users mailing list