[swift-users] Linux - How to use C libs
Harlan Haskins
harlan at harlanhaskins.com
Sat Dec 5 11:07:27 CST 2015
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/dc9163ce/attachment.html>
More information about the swift-users
mailing list