-
Notifications
You must be signed in to change notification settings - Fork 25
Compile error #27
Comments
Hi, sorry for the late response. A couple things:
|
I've uploaded the compiler output. |
Hmm... I don't really know why this is happening, especially considering I didn't make any changes on master in quite a while. It's most likely that this is a bug in Xcode, but I can't test it out on my own because my Carthage broke with the latest update... Sorry about that, don't really know what I can do. |
I'm seeing some issues as well… With the 2016-03-01 snapshot of Swift, and after running
Checking /usr/local/include/libbson-1.0, the headers are there… |
Ah, module maps were broken in that snapshot. The modulemap very clearly says to ignore that header...
Try using |
Yeah, it's strange, and the 03-24 snapshot is broken as well. It's too bad—I'm developing a Kitura application and need to use a newer snapshot than 02-08. I noticed that BinaryJSON needs a few updates for Swift 3 as well. I'll refactor a bit and use CouchDB for now, but I'll keep an eye on this repo! |
This problem still exists on the newest snapshot (04-12).
Also, I would recommend adding a small note to the readme.md that one has to install mongo-c first. :-) Any idea though on how to fix this? |
For SPM, you need to add a few flags... |
Hey Dan! There still seem to be issues with BinaryJSON, not sure what to do...
|
That doesn't make any sense... Totally looks like an SPM bug. Can you run |
Nope, same issue. I'm running
|
Huh, I can't reproduce on OSX 10.11.4.
with the package.swift import PackageDescription
let package = Package(
name: "test",
dependencies: [
.Package(url: "https://github.com/Danappelxx/SwiftMongoDB.git", majorVersion: 0, minor: 5)
]
) I don't know what's going on. Can you run the same thing with the |
Sure, check it here. Still the BinaryJSON that's not compiling correctly |
I'm also in trouble :(
|
i got the same error. |
Hey Dan,
Compiling the master through Carthage gives me an error:
I did update to the latest OSX, Xcode & command line tools, did a brew upgrade too.
The text was updated successfully, but these errors were encountered: