Git Product home page Git Product logo

Comments (3)

webern avatar webern commented on June 16, 2024

Are you using the checked-in Xcode project? I think it might be broken currently by an update in Xcode #119.

But you should be able to generate a working Xcode project using CMake.
cmake -G Xcode .
https://stackoverflow.com/a/41830798/2779792

Edit: this might answer your question more directly... C++17 features are needed because I used std::optional.

from mx.

CoderAndCat avatar CoderAndCat commented on June 16, 2024

I want to us mx in my iOS project as static library. but wrong!
ζˆͺ屏2021-01-31 δΈ‹εˆ12 16 54

from mx.

webern avatar webern commented on June 16, 2024

Are you using an Objective C++ file as a bridge to swift? I found this which suggests that the problem could be that you are using Objective-C instead of Objective-C++. https://stackoverflow.com/a/54498903

I don't know how to bridge between C++ and Swift, but it seems like that is the source of the problem. The header file you pictured is being evaluated in C instead of C++.

from mx.

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.