GithubHelp home page GithubHelp logo

Swift Compiler Error about squeal HOT 5 CLOSED

nerdyc avatar nerdyc commented on July 27, 2024
Swift Compiler Error

from squeal.

Comments (5)

rwtoner avatar rwtoner commented on July 27, 2024

I am getting the same error as ForDrink. "Could not build Objective-C module 'sqlite3'

from squeal.

mkairys avatar mkairys commented on July 27, 2024

I had the same issue and took me a little time to work it out. I had to update my module.mod to point to the library in the OS X 10.10 SDK:

module sqlite3 {
    header "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sqlite3.h"
    link "sqlite3"
    export *
}

Squeal was compiling fine after that change with Xcode 6.1 Beta 3.

from squeal.

nerdyc avatar nerdyc commented on July 27, 2024

I haven't updated to the latest beta, but will check on this after I do. I've heard it's pretty buggy!

@mkairys Were you using the module.map included in the Squeal repo before you updated? It seems strange that /usr/include/sqlite3.h would be gone.

from squeal.

mkairys avatar mkairys commented on July 27, 2024

@nerdyc I just worked out the issue, I didn't have Xcode Command Line tools installed on my Yosemite build. Without it, /usr/include is missing.

from squeal.

nerdyc avatar nerdyc commented on July 27, 2024

I updated the README to be clearer about this requirement. But I also opened issue #13 because really it would be better if this module.map business wasn't needed at all.

from squeal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.