Giter VIP home page Giter VIP logo

Comments (9)

aksswami avatar aksswami commented on May 19, 2024 1

Thanks for quick response and update @faithfracture

from apple-boost-buildscript.

mobileben avatar mobileben commented on May 19, 2024

I can create pull request for you if you want.

from apple-boost-buildscript.

faithfracture avatar faithfracture commented on May 19, 2024

It's interesting that this is actually a problem. My project expects boost headers to be located in <boost/libname>, but I've never had a problem using the framework as is.

I can totally add an option to do that though. (Depending on how it affects my project, I may just make it the default, since it's more correct anyways.)

from apple-boost-buildscript.

mobileben avatar mobileben commented on May 19, 2024

Heh totally (meaning you should prioritize your projects). I was thinking you would just add an argument to handle that case.

It doesn't bother me since I use the static libs and modified cpprestsdk to also take the static libs. I was just checking the framework for completeness before doing a pull request on that project.

But since they mentioned your repo, thought I'd give the heads up.

from apple-boost-buildscript.

faithfracture avatar faithfracture commented on May 19, 2024

Oh, they do mention it. That's cool.

My thought was that I'd make this the default and provide a parameter to switch back to the current behavior, so I don't break everyone else's projects. (But again, I'll only do that if it doesn't blow my project up. Selfish, I know :) )

from apple-boost-buildscript.

faithfracture avatar faithfracture commented on May 19, 2024

They're using the old GIST too... I think I'll create an issue with them to use this repo instead, since that one doesn't work with the current version of Xcode (and I don't think it has for a while...)

from apple-boost-buildscript.

mobileben avatar mobileben commented on May 19, 2024

As a forewarning, they are slow to respond it seems regarding anything iOS. And it isn't clear to me why they didn't even put a link. I actually gave them a link to it here microsoft/cpprestsdk#436

Heh, be selfish ;). That's what forks are for. Anyways thanks, you saved me a ton of time. I'm usually the guy that has to decipher all the autoconf and do the static lib builds. But this was one of the rare times I could actually use something right out of the box. So it has been super helpful.

If you want me to test building and using on one of your branches, just let me know, I'll be happy to donate some CPU cycles.

from apple-boost-buildscript.

aksswami avatar aksswami commented on May 19, 2024

Just to point out, I also faced the same issue. I am also trying to use cpprestsdk across my desktop and mobile client and initially used their documentation for compiling boost for macOS and iOS, which point to outdated gist.

Anyway thanks for great work @faithfracture, As I am new to C++ and everything, this really helps a lot.

@mobileben I would really like to get in touch with you for this as you are also doing similar stuff. Thanks guys.

from apple-boost-buildscript.

faithfracture avatar faithfracture commented on May 19, 2024

Ok, so it looks like when you include a framework in an Xcode project it assumes that everything in the Headers directory are already under a root directory with the same name of the framework. I.E., if the framework is called boost.framework, it's assumed that everything in the Headers directory will be included as "boost/someheader.hpp". So, I did not make having headers be under a boost parent directory the default. You will instead need to pass the --framework-headers-root flag to the script.

Fixed in commit 9d3b873

from apple-boost-buildscript.

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.