<div dir="ltr"><div>Thanks Harlan for the link, this is what I'm trying to do. =)<br><br></div><div>With interdependent libs, this becomes a mess anyway... (tried gdk/gtk...)<br></div><div> <br></div><div>& thanks René for the video. Very interesting for what will come next.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-05 18:07 GMT+01:00 Harlan Haskins <span dir="ltr"><<a href="mailto:harlan@harlanhaskins.com" target="_blank">harlan@harlanhaskins.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>C libraries require you to create modules for them. There's a great guide with examples for importing libjpeg into Swift on GitHub:</div><div><br></div><div><a href="https://github.com/apple/swift-package-manager/blob/master/Documentation/SystemModules.md" target="_blank">https://github.com/apple/swift-package-manager/blob/master/Documentation/SystemModules.md</a><br></div><div><div class="h5"><div><br>On Dec 5, 2015, at 8:58 AM, Damien BRUN <<a href="mailto:dev@lanza.fr" target="_blank">dev@lanza.fr</a>> wrote:<br><br></div></div></div><blockquote type="cite"><div><div><div class="h5"><div dir="ltr"><div><div><div>Hello Again,<br><br></div>Now that I have a functional Swift installation, I'd like to know if/how I can use C libs ?<br></div>How do I import headers & link to the right libs ?<br><br></div>Thanks<br></div>
</div></div><img src="https://u2002410.ct.sendgrid.net/wf/open?upn=z0Ft8gvIaLt1zLwfkl4og6osLD9N8tlWJY1PY2zqWLWH8-2B7HlyAgX9r8jfVk6BsGIX-2F4IWGmnjKU-2BjJWcnMtHUjdnRDBTHNaa0Y0yVD-2BVi7gbAP9Nx62JnNWdnrIaqDWHeXgBjbWufvvw19dZArYhvmWwR-2F15j6HtspYBAQ-2B7fRcw7qXPMHY9Yk7rnLDvQ-2BVv0wZ4JndG4BCSPPi4EnN1JcR3XIB2RKLyUcXIX0e-2BIU-3D" alt="" style="min-height:1px!important;width:1px!important;border-width:0!important;margin-top:0!important;margin-bottom:0!important;margin-right:0!important;margin-left:0!important;padding-top:0!important;padding-bottom:0!important;padding-right:0!important;padding-left:0!important" border="0" height="1" width="1">
</div></blockquote><span class=""><blockquote type="cite"><div><span>_______________________________________________</span><br><span>swift-users mailing list</span><br><span><a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a></span><br><span><a href="https://lists.swift.org/mailman/listinfo/swift-users" target="_blank">https://lists.swift.org/mailman/listinfo/swift-users</a></span><br></div></blockquote></span></div></blockquote></div><br></div>