[swift-users] Is there a simple direct way to compile with libdispatch on Ubuntu?
Tom Sheffler
tom.sheffler at gmail.com
Wed Feb 3 13:19:30 CST 2016
I have used libdispatch without Foundation - but that was on Ubuntu 14.04 and using the libdispatch from the distribution. (I did not compile it.)
-T
> On Feb 3, 2016, at 10:24 AM, Isaac Gouy via swift-users <swift-users at swift.org> wrote:
>
> Is use of libdispatch in Swift on linux, dependent on the Foundation library, or is there a way to use libdispatch without stuff like 'NSUTF8StringEncoding' ?
>
>
>
> On Wednesday, February 3, 2016 10:03 AM, francisbailey
>
>> I believe NSUTF8StringEncoding is part of the Foindation library which isn't fully implemented yet on Linux. You can see the status for it here:
>> https://github.com/apple/swift-corelibs-foundation/blob/master/Docs/Status.md
>
>> On Wed, Feb 3, 2016 at 09:44, Isaac Gouy via swift-users <'swift-users at swift.org'> wrote:
>
>>> So I fetched the source:
>>>
>>>
>>> https://github.com/apple/swift-corelibs-libdispatch
>>>
>>> :and built the libraries.
>>>
>>>
>>> It now seems like I'm missing something that isn't libdispatch related -- or should I have chosen one of those --with-apple- options when I built?
>>>
>>> mandelbrot.swift-2.swift:78:40: error: use of unresolved identifier 'NSUTF8StringEncoding'
>>>
>>> See
>>> http://benchmarksgame.alioth.debian.org/u64q/program.php?test=mandelbrot&lang=swift&id=2#log
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users
More information about the swift-users
mailing list