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 <[email protected]> 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 > [email protected] > https://lists.swift.org/mailman/listinfo/swift-users
_______________________________________________ swift-users mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-users
